Marcel Mitsuto Fucatu Sugano schrieb:
Ok, it really is minutes, but even with retention_update_interval=1, the
retention file do not get updated. Only when restarting. BTW, is the
retention file just a copy of the status file?
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?
TIA Ingo.
-------------------------------------------------------
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&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@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