Operating System - HP-UX
1855762 Members
10418 Online
104103 Solutions
New Discussion

Re: No SNMP Traps from HP Systems - Why?

 
David Gerrish
Honored Contributor

No SNMP Traps from HP Systems - Why?


I have configured 3 of our HP systems (10.20) with new SNMP settings in snmpd.conf - this all seems ok as I can query this info with our management system.

We never get any SNMP traps though.
Either by re-starting SNMP, links going down, or even after a reboot, we get nothing.

I have looked at the startup scripts in /sbin/init.d and they are there:

SnmpMaster
SnmpMib2
SnmpHpunix (or similiar)

I can start and stop these to ensure my SNMP config changes are successfuly, and they are, but the 2 sub-agents have not started.

Is this why I am not getting any SNMP traps?
If so, how can I fix it?

Any help much appreciated,
Regards,
Dave
@openview
5 REPLIES 5
Sunil Sharma_1
Honored Contributor

Re: No SNMP Traps from HP Systems - Why?

Hi,
y
that's it you have o give the configuration info like trap destination and all in snmpd.conf
then it's depend on your managment system to how it should get trap becoz you have to configure the threshold value and all.

which NMS system you are usig ?
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
V.Tamilvanan
Honored Contributor

Re: No SNMP Traps from HP Systems - Why?

Hi,
Check for the file called /sbin/init.d/SnmpTrpDst.
Check in /etc/rc.config.d/Snmp* is set to 1.

Revert back
Sorrel G. Jakins
Valued Contributor

Re: No SNMP Traps from HP Systems - Why?

Con O'Kelly
Honored Contributor

Re: No SNMP Traps from HP Systems - Why?

Hi Dave

My understanding is that only the snmpdm daemon needs to be running on your client. If you are able to query the system with snmpget or snmpwalk then snmp is working.

In order to receive traps you need to set the trap-dest parameter in the /etc/SnmpAgent.d/snmpd.conf file to the hostname or IP address of your Mgt Station

I'd also ensure that the traps are not being filtered on your Mgt station by the application (NNM, OVO ??).

HTH

Cheers
Con
David Gerrish
Honored Contributor

Re: No SNMP Traps from HP Systems - Why?

Problem fixed - easier than I thought.

Even though the systems could resolve the name of our trap destinations, they did not get through.

Changing to IP addresses sorted it out!

Problem fixed - thanks,
Dave
@openview