Retention?

Marc Powell marc at ena.com
Thu Feb 28 15:52:12 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Ugo Bellavance
> Sent: Thursday, February 28, 2008 6:22 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Retention?
> 
> Hi,
> 
>      I have 2 nagios servers, and one is showing an unwanted behavior.
> When I restart it, it kind of resets the state of the services.
> Therefore, if I disable a test using an external command, when I
reload
> or restart the nagios process, this 'disable' is ignored.
> 
> relevant nagios.cfg entries:
> 
> retain_state_information=1
> state_retention_file=/var/log/nagios/status.dat
> use_retained_program_state=1
> 
> Where should I start looking?

You need to set the values of retain_status_information and
retain_nonstatus_information in your service definitions.

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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