Getting state retention to work

Marcel Mitsuto Fucatu Sugano msugano at uolinc.com
Thu Aug 9 00:19:27 CEST 2007


Probably a typo on your config, the directive is:
retain_status_information, and you are using retain_state_information.

HTH,
Marcel


On Wed, 2007-08-08 at 15:21 -0700, Rob Tanner wrote:
> 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
> >   
> 
> -------------------------------------------------------------------------
> 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


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/.

-------------------------------------------------------------------------
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