[RETENTION FILE ISSUE] Retention file notbeingupdated?

Marcel Mitsuto Fucatu Sugano msugano at uolinc.com
Mon Apr 10 20:28:09 CEST 2006


On Mon, 2006-04-10 at 15:07 +0200, Ingo Lantschner wrote:
> Hi,
> I am using Nagios 2.0, now updated to 2.2 because I had problems as
> you 
> described. The retentionfile gets newver written - even not if I
> restart 
> the process. Unfoirtunatly the update did not solve the problem here.
> 
>  From my nagios.cfg:
> 
> retain_state_information=1
> state_retention_file=/usr/local/nagios/var/retention.dat
> retention_update_interval=1
> use_retained_program_state=1
> 
> ----
> 
> $ ll var/ -d
> drwxrwxr-x  4 nagios nagios 8192 2006-04-10 15:04 var/
> 
> ----
> 
> $ ls var/*.dat -l
> -rw-rw-r--  1 nagios nagios     238 2006-03-20 15:07 var/comments.dat
> -rw-rw-r--  1 nagios nagios     239 2006-03-20 15:07 var/downtime.dat
> -rw-rw-r--  1 nagios nagios 1712806 2006-04-10 15:05 var/status.dat
> 
> Any idea? 

Received last week an email on nagios-devel list, where Bruce sends a
patch that Ethan replied it would be in cvs shortly. I still did not
have the time to look at the 2.2 code, but it might be there. Well, the
patch relates to the nagios process not being able to write some
temporary file before flush the content to the retention file. 

You can reach the post here:
http://article.gmane.org/gmane.network.nagios.devel/2662/

Will look at the code of 2.2 to see if it's already patched with Bruce's
patch.

Marcel.


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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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