From: Marcel M. F. S. <ms...@uo...> - 2007-08-08 22:25:39
|
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, >=20 > 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. >=20 > Something else must still be missing. >=20 > -- Rob >=20 >=20 >=20 > Marc Powell said the following on 08/08/2007 02:31 PM:=20 > > =20 > > > -----Original Message----- > > > From: nag...@li... = [mailto:nagios-users- > > > bo...@li...] 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 > > >=20 > > > Hi, > > >=20 > > > 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 > > > =20 > >=20 > > =20 > > > Here's what I think are the pertinent configuration options from > > > nagios.cfg: > > >=20 > > > retain_state_information=3D1 > > > state_retention_file=3D/etc/nagios/state.dat > > > retention_update_interval=3D1 > > > use_retained_program_state=3D1 > > > =20 > >=20 > > You also need to specify retention directives on per-host and > > per-service basis -- > >=20 > > 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 =3D > > disable status information retention, 1 =3D 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 =3D > > disable non-status information retention, 1 =3D enable non-status > > information retention. > >=20 > > -- > > Marc > >=20 > > = -------------------------------------------------------------------------= > > 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 > > Nag...@li... > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.=20 > > ::: Messages without supporting info will risk being sent to = /dev/null > > =20 >=20 > = -------------------------------------------------------------------------= > 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 Nag...@li... = 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=E7=E3o contida neste e-mail, bem como em qualquer de = seus anexos, =E9 CONFIDENCIAL e destinada ao uso exclusivo do(s) = destinat=E1rio(s) acima referido(s), podendo conter informa=E7=F5es = sigilosas e/ou legalmente protegidas. Caso voc=EA n=E3o seja o = destinat=E1rio desta mensagem, informamos que qualquer divulga=E7=E3o, = distribui=E7=E3o ou c=F3pia deste e-mail e/ou de qualquer de seus anexos = =E9 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=F3pia e/ou = impress=E3o realizada a partir destes, sejam permanentemente apagados = e/ou destru=EDdos. Informa=E7=F5es 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=B4s 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/. |