Nagios & SNMP traps

Morris, Patrick patrick.morris at hp.com
Fri Apr 27 15:56:56 CEST 2007


> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of Aritz.Lazkano at DaimlerChrysler.com
> Sent: Friday, April 27, 2007 4:15 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios & SNMP traps
> 
> I´m trying to monitor a service that works with snmp traps. 
> The problem is that i recive the trap in my server, but 
> nagios doesn´t do anything. 
> The service  status is "pending", also when the trap arrives 
> into our server  the status of the service that works with 
> traps continues  "pending". 

There are a lot of things that could be broken here, and not enough information to tell you which one.

Check your logs to make sure snmptt is getting the traps, and make sure that the trap(s) you're receiving are defined in its configs. If they are, verify that the EXEC command in the snmptt config is valid, and that it updates the status in Nagios if you run it manually.

Do you ever see the result submitted to Nagios in the Nagios logs? If you do, check for errors in the command it's receiving. If you don't, your problem is farther back in the chain, with snmptt or snmptrapd.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list