nagios not sending service alerts

Marc Powell marc at ena.com
Thu Nov 20 00:28:26 CET 2008


On Nov 19, 2008, at 4:48 PM, alexus wrote:

> nothing in nagios logs
>
> and locally it works, meaning if i copy and paste this command into
> shell i get an email/alert, but nagios itself doesn't trigger it for
> whatever reason...

Nagios doesn't believe it's supposed to send notifications. If it did,  
at the very least it would log the attempt. Please post the general  
'program{}' section, the 'service{}' definition for something you  
should have received a notification and the 'contact{}' definition for  
that contact, *obtained from var/status.dat* (or whatever the value of  
status_file is in nagios.cfg). That will allow us to see for certain  
what nagios believes it's supposed to be doing. You should obtain  
these while nagios is running.

Everything you've answered indicates that nagios should be logging,  
and sending notifications. Something's not right. If the above shows  
everything correct as well, debug mode might be your only remaining  
option. That's a ./configure  option for nagios-2.x so you'd need to  
recompile.

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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