See the appropriate instructions:
Perform these instructions if you are monitoring ActiveMatrix BusinessWorks version 6:
Enable your applications for statistics collection. You can do this using the TIBCO BusinessWorks administrator CLI with commands such as:
bwadmin enablestats -d MyDomain -a MyAppSpace process MyAppName MyAppVersion
Repeat for each application you wish to monitor.
Enable the Hawk MicroAgent in your AppNodes for each AppSpace you wish to monitor. Refer to the Enabling TIBCO Hawk MicroAgent section of the TIBCO BusinessWorks6 Administration Guide.
Perform these instructions if all you are monitoring ActiveMatrix BusinessWorks version 5:
In the TIBCO Administrator, go to the Configuration page of your application.
In the Configuration Builder panel, select the name of the application.
Go to the Edit Application Configuration page.
Select the Advanced tab.
Find the global variable HawkEnabled and set its value to true.
Save the configuration.
Install the RTViewBWAgent plug-in microagent
ActiveMatrix BusinessWorks Version 5 users, continue.
Note: This section does not apply if all your engines are deployed as BusinessWorks Service Engines (BWSE).
Install the RTViewBWAgent plug-in microagent in the Hawk Agent for each domain you have configured to communicate with the Monitor.
RTViewBWAgent detects deployed engines and gets their maximum heap size metrics when the Hawk agent is started. If RTViewBWAgent is not installed, deployed engines are not detected until they have been started and report data to the Monitor. When live data is received the engine is added and its Status is set to LIMITED. The Status remains LIMITED because, although live data metrics are available, the deployment and maximum heap size metrics are still unavailable.
Note: After installation, you can use the Hawk Display to view the RTViewBWAgent microagent and invoke its methods: GetBWDeploymentNames and GetBWDeploymentMaxHeapSizes.
You can also configure the agent to detect deployed engines and make data updates at more frequent, specified intervals. To specify the update interval you uncomment the -update argument in the BWAgentPlugin.hma file and specify a non-zero value. When the -update argument is not used (is commented out), the Monitor does not report that an engine has been deployed or undeployed until the Hawk agent is restarted.
Navigate to the lib directory of your Monitor installation and locate the following two files:
BWAgentPlugin.jar
BWAgentPlugin.hma
For a given domain, find the plug-in directory via this path:
<TIBCO-home>/tra/domain/<domain-name>
Repeat Step 2 for each Hawk domain you have configured to communicate with the Monitor.
To (optionally) set RTViewBWAgent to make data updates at more frequent, specified intervals, open the BWAgentPlugin.hma file, uncomment the -update argument and specify a non-zero value. The value, which defaults to 300, represents the update interval in seconds. For example, a value of 3600 updates every hour:
<arguments>
<arg>-update:3600</arg>
. .
</arguments>
Copy the BWAgentPlugin.jar file and BWAgentPlugin.hma file into the plug-in directory and restart the Hawk Agent.