Operating System - HP-UX
1836590 Members
1400 Online
110102 Solutions
New Discussion

SG not sending SNMP traps anymore

 
Aaron Sheard
Frequent Advisor

SG not sending SNMP traps anymore

For some reason I am not receiving snmp traps related to mc/service guard anymore. I can manually send traps from the shell and system snmp traps are ok. But when i stop and start packages or move them i used to get traps and now i don't. Where should i be looking?
"uh, hey... did we get a good backup last night?"
1 REPLY 1
Stephen Doud
Honored Contributor

Re: SG not sending SNMP traps anymore

Check for these processes:
# ps -e | grep -e nmp -e agt -e regi -e cli
21580 ? 0:00 trapdestagt
3612 ? 2:59 p_client
18112 ? 0:00 registrar
21572 ? 9:10 mib2agt
21586 ? 0:01 cmsnmpd
7809 ? 0:00 registrar
21555 ? 5:47 snmpdm
21564 ? 0:01 hp_unixagt

Also, make certain the following files in /etc/rc.config.d are set to enable their respective subsystems at boot time:

SnmpHpunix
SnmpMaster
SnmpMib2
SnmpTrpDst
cmsnmpagt
emsagtconf

It may be necessary to restart the *snmp* processes. I like to be thorough as also re-use the boot-time scripts to do it, so I use this order, and include a "stop" for the K* scripts and a "start" option on the S* scripts:
# . /etc/rc.config # reads the files in /etc/rc.config.d

/sbin/rc1.d/K434cmsnmpagt stop
/sbin/rc1.d/K435SnmpHpunix stop
/sbin/rc1.d/K435SnmpMib2 stop
/sbin/rc1.d/K435SnmpTrpDst stop
/sbin/rc1.d/K440SnmpMaster stop
/sbin/rc2.d/S560SnmpMaster start
/sbin/rc2.d/S565SnmpHpunix start
/sbin/rc2.d/S565SnmpMib2 start
/sbin/rc2.d/S565SnmpTrpDst start
/sbin/rc2.d/S566cmsnmpagt start

-S.