Testing SNMP event attribute groups

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

Before you begin

To test the SNMP event attribute group, use a test program, or application to generate SNMP events.

Procedure

  1. You can start the Testing procedure in the following ways:
    • During agent creation click Test in the SNMP Event Information window.
    • After agent creation, select an attribute group on the Agent Editor Data Source Definition page and click Test. For more information about the Agent Editor, see Using the Agent Editor to modify the agent

    After you click Test in one of the previous two steps, the Test Event Setting window opens.

  2. Optional: Before you start testing, you can set environment variables and configuration properties. For more information, see Attribute group testing. For more about SNMP Event configuration properties, see SNMP Event Configuration properties.
  3. Click Start Agent. A window indicates that the Agent is starting.
    When the agent starts, it listens for SNMP events according to its configuration.
    Note: The agent that starts is a simplified version that includes the one attribute group you are testing.
  4. To test your agent's data collection you generate SNMP events that match the agents configuration. You can do this using an application or an event generator.
    When the agent receives SNMP events that match its configuration, it adds the events to its internal cache.
  5. To simulate a request from the monitoring environment for agent data, click Collect Data.
    The Test Event Settings window collects and shows any events in the agent's cache since it was last started. An example data collection is shown in Figure 1
    Figure 1. Test Event Settings window that shows collected SNMP event data
    Test Event Settings window that shows six rows of collected SNMP event data.
  6. Optional: Click Check Results if the returned data is not as you expected.
    The Data Collection Status window opens and shows you more information about the data. An example is shown in (Figure 2). The data that is collected and shown by the Data Collection Status window is described in Performance Object Status node
    Figure 2. Data Collection Status window
    Data Collection Status window that shows Performance Object Status metrics
  7. Stop the agent by clicking Stop Agent.
  8. Click OK or Cancel to exit the Test Event Settings window. Clicking OK saves any changes that you made.