Getting state retention to work

Rob Tanner rtanner at linfield.edu
Thu Aug 9 00:21:27 CEST 2007


Marc,

The retain_status_information and retain_nonstatus_information options 
are both set to 1 in the default templates at the top of the hosts.cfg 
and services.cfg files and I am specifying those default templates for 
almost all of the service and host entries.

Something else must still be missing.

-- Rob



Marc Powell said the following on 08/08/2007 02:31 PM:
>   
>> -----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
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070808/63531b15/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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