config file activation after changes

Matthias Eble matthias.eble at mailing.kaufland-informationssysteme.com
Fri Sep 15 17:27:46 CEST 2006


Sloane, Robert Raymond schrieb:
> You were probably hit by state retention.  Take a look at the
> documentation for notifications_enabled and you will see a footnote:
> 
> Retention Notes
> 
> It is important to point out that several directives in host and service
> definitions may not be picked up by Nagios when you change them. Host
> and service directives that can exhibit this behavior are marked with an
> asterisk (*). The reason for this behavior is due to the fact that
> Nagios chooses to honor values stored in the state retention file over
> values found in the config files, assuming you have state retention
> enabled on a program-wide basis and the value of the directive is
> changed during runtime (by submitting an external command).
> 
> One way to get around this problem is to disable the retention of
> non-status information using the retain_nonstatus_information directive
> in the host and service definitions. Disabling this directive will cause
> Nagios to take the initial values for these directives from your config
> files, rather than from the state retention file when it (re)starts.
> Using this option is not recommended, as it may result in some
> unexpected (from your point of view) results.
> 
> Alternatively, you can issue the appropriate external command or change
> the value of the host or service directive via the web interface, so
> that it matches what you've changed it to in the config files. This is
> usually done by using the extended information CGI. This option takes a
> bit more work, but is preferable to disabling the retention of
> non-status information (mentioned above).

argh.. I guess I flew over this one a bit too fast.

I saw the footmark but didn't read it carefully since I expected 
retention to only contain the service state.

thanks a lot.
matthias

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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