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

HP SIM Not Getting SNMP Traps

John Frickson
Occasional Advisor

HP SIM Not Getting SNMP Traps

I'm trying to set up process monitoring. Using net-snmp version 5.3.0.1 on Novell SLES 10. To test this, I tried setting up snmp on one server to notify SIM if httpd isn't running (which it isn't on this machine.) HP SIM is not getting the traps, thought it does get the "cold start" trap when I start snmpd on the test machine. My /etc/snmp/snmpd.conf looks like this:

rocommunity
rouser internal noauth
iquerySecName internal
agentSecName internal
trapsink
authtrapenable 1
proc httpd
dlmod cmaX /usr/lib64/libcmaX64.so
monitor -r 60 -o prNames -o prErrMessage "process table" prErrorFlag != 0

Yes, I did set up the "internal" user using "net-snmp-config --create-snmpv3-user".

net-snmpd.log attached, if it helps any.

Any ideas? Thanks!
john
2 REPLIES
Rob Buxton
Honored Contributor

Re: HP SIM Not Getting SNMP Traps

Have you installed the HP Agents, as this updates the snmpd.conf file.
From our VMware ESX server there's a few differences in the snmpd.con file.

rwcommunity 127.0.0.1
rocommunity 127.0.0.1
rwcommunity ourhpsim.ourco.nz
rocommunity ourhpsim.ourco.nz
trapcommunity
trapsink ourhpsim.ourco.nz
syscontact root@localhost (edit snmpd.conf)
syslocation room1 (edit snmpd.conf)
John Frickson
Occasional Advisor

Re: HP SIM Not Getting SNMP Traps

I finally figured it out. None of the system MIBs were imported into SIM. I had to do them all manually, guessing which ones I needed.

Is SIM supposed to import existing MIBs? I didn't see anything it the documentation about having to do that.