Getting state retention to work

Marc Powell marc at ena.com
Wed Aug 8 23:31:53 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Rob Tanner
> Sent: Wednesday, August 08, 2007 4:24 PM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] Getting state retention to work
> 
> Hi,
> 
> I'm trying to get state retention to work, but it doesn't seem to like
> me very much.  I've set the options in nagios.cfg the way I think they

> 
> Here's what I think are the pertinent configuration options from
> nagios.cfg:
> 
> retain_state_information=1
> state_retention_file=/etc/nagios/state.dat
> retention_update_interval=1
> use_retained_program_state=1

You also need to specify retention directives on per-host and
per-service basis --

retain_status_information: 	This directive is used to determine
whether or not status-related information about the host is retained
across program restarts. This is only useful if you have enabled state
retention using the retain_state_information directive. Value: 0 =
disable status information retention, 1 = enable status information
retention.
retain_nonstatus_information: 	This directive is used to determine
whether or not non-status information about the host is retained across
program restarts. This is only useful if you have enabled state
retention using the retain_state_information directive. Value: 0 =
disable non-status information retention, 1 = enable non-status
information retention.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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