Since the HP OV Performance Agent is installed on most HP-UX systems, the trapsend
command can be used to send SNMP test traps.
Example to send a trap to a monitoring probe:
Logfile from the labo probe:
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] enterprise: .1.1.1.1.1.0
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] generic-trap: 6
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] specific-trap: 1
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] UpTime: 123456789
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] Uptime: 14 days, 6:56:07.89
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] community: public
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] IPaddress: 172.31.5.42
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] PeerIPaddress: 172.31.5.42
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] ReceivedPort: 162
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] ReceivedTime: 1452085557
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] Protocol: UDP
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] SNMP_Version: 1
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] Node: serv1.acme.com
2016-01-06T14:05:57: Debug: D-UNK-000-000: [Event Processor] PeerAddress: serv1.acme.com
Leave a comment