Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Working with Microagents : Subscribing to a Microagent Method

Subscribing to a Microagent Method
To subscribe to getSystemInfo() method of the System microagent:
1.
Click an agent listed in the Agent portlet on the Hawk Dashboard. The Agent <agent_name> tab opens.
2.
Click the Microagents tab. The Microagent Info screen is displayed.
3.
Click System microagent from the microagent list. The supported methods are displayed in Methods panel.
4.
Click the getSystemInfo method from the Methods panel. A detailed help description is displayed in the Description panel.
This method returns the process management information, including process swapping and run queuing on the current TIBCO Hawk agent machine. The method is synchronous, so you must specify a time interval for collecting data points. The default interval is 5 seconds.
5.
Specify a Data Interval (how often you want to call the method) of 15 seconds. You can change the value by using the spinner or type the value.
Asynchronous methods do not require a Data Delivery Interval. Asynchronous methods continue to send information as it becomes available until the subscription is ended.
6.
Verify that the Subscribe radio button is selected on the Methods panel title bar.
7.
Click the button. The Subscription Results window is displayed:
Figure 19 Subscription Results Window - Data Grid View
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved