This task describes how to test whether automatic SNMP traps (that is those based on the BMC PATROL event manager system) are generated by BMC PATROL when a parameter changes state. They demonstrate that certain BMC PATROL Events have the send trap option turned on.
To generate automatic SNMP traps, at least one SNMP Manager must be registered to receive traps. A list of SNMP Managers are stored in the agent configuration variable /snmp/piV1m_list. The format is host / port / community, where the port and community string default to 162 and public, respectively.
Access the Listen for SNMP Traps task object as described in Accessing KM Commands and InfoBoxes and view the results. Your results should resemble this example:
Set testparm Parameter Warn--test BMC PATROL standard event class 11
BMC PATROL changes the state of testparm in the SNMPHealth application. BMC PATROL also sends a message to the message area.
State Change Messages Based on Automated Traps
If you attempt to run a test and the testparm is already in that state (for example, select Set testparm Parameter OK when testparm is already in the OK state), BMC PATROL recognizes this fact and does not send a message to the message area.