> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Dave Stern > Sent: Thursday, February 23, 2006 9:49 AM > To: Mrutyunjaya Dash > Cc: [EMAIL PROTECTED]; [email protected] > Subject: Re: [Nagios-users] nagios not notifying by email >
[chop] > > 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 The 'Retention Notes' at http://nagios.sourceforge.net/docs/2_0/xodtemplate.html will provide insight into how retention works. > 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 We use -- nagios.cfg - retain_state_information=1 use_retained_program_state=0 state_retention_file=/usr/local/nagios/var/status.sav host template - retain_status_information 1 retain_nonstatus_information 1 service template - retain_status_information 1 retain_nonstatus_information 1 Notifications are not sent out on restart. -- Marc ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list [email protected] 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
