nagios not notifying by email

Dave Stern dave at umiacs.umd.edu
Thu Feb 23 16:49:11 CET 2006


On Thu, 23 Feb 2006, Mrutyunjaya Dash wrote:

> Hi,
>
> You can check you services.cfg file to verify you have notifications_options to w c u r. This might be one of the reason if you had copied services.cfg file from the sample config file.
>

services.cfg has notification options currently set to w,u,c. I added 
"recover".

One hint, on the webpage for a host availability, it says in the upper
left corner "Notifications are disabled"

This is in contrast to the fact that 
enable_notifications=1
is set in nagios.cfg
(and cgi.cfg says main_config_file=/some/path/nagios.cfg)

I just tried disabling all state_retention (was previously on) and bounced
nagios and finally got a message.   so perhaps state retention was set
incorrectly. What I'd like to do is have it retain state when I bounce
nagios st I don't get msgs about those I know are down on restart. Here's
what I have:

nagios.cfg:
log_initial_states=0
retain_state_information=0
state_retention_file=/usr/local/stow/nagios/var/status.sav
use_retained_program_state=0

host.cfg:
     retain_status_information       0
     retain_nonstatus_information    0

services.cfg:
      retain_status_information       0
      retain_nonstatus_information    0

  =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
  David Stern                                    University of Maryland
            Institute for Advanced Computer Studies


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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