> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Ugo Bellavance
> Sent: Thursday, February 28, 2008 6:22 AM
> To: [email protected]
> 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
[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

Reply via email to