notification_interval = 0 and retained state but still get notifications on restart
Marc Powell
marc at ena.com
Fri Feb 10 21:36:00 CET 2006
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Colm Ennis
> Sent: Friday, February 10, 2006 1:27 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] notification_interval = 0 and retained state
but
> still get notifications on restart
>
> i use nagios 1.2.
>
> i have set:
> notification_interval = 0
> for all hosts and services as we only want to be alerted once when a
> host/service goes down.
>
> i have many devices/services and so autoprovision nagios config
updates
> nightly.
>
> in order to load these config changes i restart nagios. to reduce the
> impact of this we retain state across restarts using:
> retain_state_information=1
> use_retained_program_state=1
>
> however when nagios restarts it alerts for all hosts/services which
are
> down despite haveing notification_interval = 0.
I'm doing pretty much the same thing and I don't see this problem. It's
a little bit different in that all my checks are passive but that
shouldn't be a significant difference. Do you have the following
directives in your host/service definitions or templates --
retain_status_information 0 ; Retain status information
across program restarts
retain_nonstatus_information 1 ; Retain non-status information
across program restarts
In my case I don't retain_status_information, you will probably want to.
Another difference is that I have a really high notification_interval as
opposed to 0 but I don't expect that to be significant either --
notification_interval 10080
>
> is there a way to do either of the following:
> a) load new config without restarting nagios
Send nagios a HUP signal.
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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