<br><font size=2 face="sans-serif">Occasionally we get this message and
the nagios displays go stale for days. However Nagios is running!<br>
On occasions I found that temporary directories used by nagios are deleted.
I am not sure who deletes these. Perhaps some nagios clean up process?
Perhaps Redhat's zealous clean-up process?</font>
<br><font size=2 face="sans-serif">I could relocate to a different set
of temp directories. However it wont help if Nagios itself is responsible
for the deletion. </font>
<br><font size=2 face="sans-serif">Any clues?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Here is a piece of the nagios.cfg referencing
this temporary directory:</font>
<br>
<br><font size=2 face="sans-serif"># TEMP FILE</font>
<br><font size=2 face="sans-serif"># This is a temporary file that is used
as scratch space when Nagios</font>
<br><font size=2 face="sans-serif"># updates the status log, cleans the
comment file, etc.  This file</font>
<br><font size=2 face="sans-serif"># is created, used, and deleted throughout
the time that Nagios is</font>
<br><font size=2 face="sans-serif"># running.</font>
<br>
<br><font size=2 face="sans-serif">temp_file=/var/tmp/nagios/nagios.tmp</font>
<br>
<br><font size=2 face="sans-serif"># STATE RETENTION FILE</font>
<br><font size=2 face="sans-serif"># This is the file that Nagios should
use to store host and</font>
<br><font size=2 face="sans-serif"># service state information before it
shuts down.  The state</font>
<br><font size=2 face="sans-serif"># information in this file is also read
immediately prior to</font>
<br><font size=2 face="sans-serif"># starting to monitor the network when
Nagios is restarted.</font>
<br><font size=2 face="sans-serif"># This file is used only if the preserve_state_information</font>
<br><font size=2 face="sans-serif"># variable is set to 1.</font>
<br>
<br><font size=2 face="sans-serif">state_retention_file=/var/tmp/nagios/status.sav</font>
<br>
<br><font size=2 face="sans-serif">__________________________________________<br>
Ranga Nathan / CSG<br>
Systems Programmer - Specialist; Technical Services; <br>
BAX Global Inc. Irvine-California<br>
Tel: 714-442-7591   Fax: 714-442-2840<br>
</font>