Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending SNMPTRAP on Command Line to the CMS

scotted
Frequent Advisor

Sending SNMPTRAP on Command Line to the CMS

Does anyone know how to send an SNMPTRAP from a Linux system to the HP SIM CMS?
5 REPLIES
Rob Buxton
Honored Contributor

Re: Sending SNMPTRAP on Command Line to the CMS

A quick google and I found;
http://www.die.net/doc/linux/man/man1/snmptrap.1.html

If these are HP Servers and they have the HP Agents installed there's a Trap Send button in the Settings->SNMP Configuration screen. That will send a trap that should generate a Major Event.
scotted
Frequent Advisor

Re: Sending SNMPTRAP on Command Line to the CMS

I know how to send a trap via the SMH with the "Send Test Trap", however I have had no luck sending a trap from the command line.
Ulrich Jahn
Advisor

Re: Sending SNMPTRAP on Command Line to the CMS

Ulrich Jahn
Advisor

Re: Sending SNMPTRAP on Command Line to the CMS

oh, you have a linux system... forget it ;)
scotted
Frequent Advisor

Re: Sending SNMPTRAP on Command Line to the CMS

So output from snmpwalk shows the following below. what syntax can I use to send a command line trap from a Linux system to the CMS?

SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.6 = STRING: "hpdiags"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.9 = STRING: "hpijs"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.12 = STRING: "hpacucli"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.13 = STRING: "hppyd"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.14 = STRING: "hprsm"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.15 = STRING: "hpoj"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.18 = STRING: "hpasm"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.20 = STRING: "hpsmh"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.22 = STRING: "hpadu"
SNMPv2-SMI::enterprises.232.11.2.7.2.1.4.23 = STRING: "hpvca"