$('a[name]').remove(); $('#ic-homepage__footer').before('

'); $("#tabs").tabs({ selected: 1 }); $("#ic-homepage__ic-tips").append( quickTipHTML() ); unhideOneProductTip(); $("#ic-homepage__product-tips").wrapInner('

'); $("#ic-homepage__feed-tips").wrapInner('

'); });

IBM Tivoli Monitoring > Version 6.3 > User's Guides > Agent Builder User's Guide > Monitor data by using a socket IBM Tivoli Monitoring, Version 6.3


Test socket attribute groups

You can test the socket attribute group that you created, within Agent Builder.

To test the attribute group, you need a socket client to send data. An example socket client that is written with perl script can be seen at Sample script for socket

Restriction: Unlike most other attribute groups, you cannot test the socket attribute group while it is being created. You can test the attribute group when you complete its creation.


Procedure

  1. Select an attribute group on the Agent Editor Data Source Definition page after agent creation and click Test. For more information about the Agent Editor, see (The Tivoli Monitoring Agent Editor).

    After you click Test in one of the previous two steps, the Test Socket Client window Figure 1 is displayed

    Figure 1. Test Socket Client window

  2. Optional: Set environment variables and configuration properties before you start testing. See (Attribute group testing).

  3. Click Start Agent. A window indicates that the Agent is starting.

  4. When the agent starts, it listens for socket data according to its configuration.

  5. To test your agent 's data collection, you now generate socket data that matches the agents configuration. You can generate socket data by using a socket client. When the agent receives socket data that matches its configuration, it adds the data to its internal cache.

  6. To simulate a request from Tivoli Enterprise Portal for agent data, click Collect Data. The Test Socket Client window collects and displays any data in the agent's cache since it was last started.

  7. Click Check Results if something does not seem to be working as expected. The Data Collection Status window opens and shows you more information about the data. The data that is collected and displayed by the Data collection Status window is described in Performance Object Status node

  8. Stop the agent by clicking Stop Agent.

  9. Click OK or Cancel to exit the Test Socket Client window. Clicking OK saves any changes that you made.


Parent topic:

Monitor data by using a socket

Related concepts:

Test and debugging your agent


+

Search Tips   |   Advanced Search