Professional Documents
Culture Documents
First right click on the server and select Get Configuration \ Rulebases.
For Deployment and Component Instance insert the same values you had earlier. Click
OK.
Select Email next and fill in all information. The only information that will need to be
changed is the Subject and Content line to match the component you are monitoring.
Now click ok until you get back to the screen below. Then click on Apply Changes.
Next Click on Send Selected To, and select the server that has the component.
After that you should be done.
3. Select the application for which the rulebase has been defined, and expand it.
4. In the Configuration Builder pane, click the service or process name for which
the rulebase has been defined. A service is named with a .arr suffix. A process is
named with a .par suffix.
7. Click Browse and in the window that appears, navigate to the directory where
the rulebase is stored and select the rulebase. Click OK.
8. Click Save.
When you deploy the service, TIBCO Hawk Agent saves the rulebase file in the
<install-path>\tibco\tra\domain\<domain-name>\rulebase folder.
When the conditions specified in the rulebase occur, the results display in the
Resource Management > Machines View Machine panel.
micro agent is simple program that is for each process that is running the tibco
world, which provides details/controls to that process, where hawk agent utilizes
all these micro agents.
There is another agent which i continuously monitoring which process are runing
on system.
The monent you start process agent activates that process started and monitoring
starts.
@echo off
cd C:\tibco\administrator\5.1\bin
tibcoadmin_domainname.exe
click ok
Then go Test Condition
Click create
Process count < 1
Click oK
Action1
Click High Level Alert then type as Tibco Admin is Stopped, choose allways radio
button
Action 2
Click Create
Action 3
Click create
Select Notification button and set message as Trying to start Administrator server
ok
Create Action
click ok
Adding EMS server to Hawk display and Monitoring it from HAWK DISPLAY
The following procedure should be used to Add Ems Server to Hawk display
check where Ems Server is installed
Go to Tibco admin domain and click service instances
check for Ems server and the machine on which it is installed
Go to c:\tibco\ems\clients\java\tijmsadmin.jar
Go to c:\tibco\ems\samples\admin\hawk\tijmsadmin.hma
Copy the jar and hma file from desktop to the machine where Ems Server is
installed
Place these 2 files in the following directories
<<TIBCO_HOME>>/tra/domain/<<DOMAIN_NAME>>/plugin
<<TIBCO_HOME>>/hawk/lib
Go to Hawkdisplay and you can see all the machines that are added
Go to ITLP012A
Right click on it and say get microagents
You can see a Microagent called JMS_controller(tcp://ITLP012A:1020)
Select the above agent and select the methods and do invoke them .
Next step would be writing hawk rule bases , since you have added succesfully
Ems Server to hawk display.
Note;You may also need a custom microagent called Ems-ping for this .
The TIBCO Hawk Agent interfaces the managed objects on its local machines
using microagents. Each microagent provides the agent a set of methods it uses to
collect information and take action.
The default micro agents included in the installation of TIBCO Hawk are:
1. Self microagent - gathers the version information for the local agent and
available microagents.
2. Custom microagent - executes any command-line executables that can run on
the current machine.
3. Log file microagent - responds asynchronously each time a new line is added to
the log file.
4. Process microagent - counts the instances of the process on the agent and
returns the process usage statistics.
5. FileStat microagent - gathers information on a disc file or files on the agent
machine.
6. SysInfo microagent - gathers the basic information about the system ie; the
system name, IP address, Operating system.
7. Rendezvous microagent - gathers information in the TIBCO Rendezvous
daemon activity on the current machine.
8. RuleBaseEngine microagent - gathers information about the rulebases and
takes actions on rulebases that affect the TIBCO Hawk agent.