It appears as though Nagios is not running, so commands are temporarily unavailable

Ranga Nathan RNathan at baxglobal.com
Mon Nov 21 18:10:02 CET 2005


Occasionally we get this message and the nagios displays go stale for 
days. However Nagios is running!
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?
I could relocate to a different set of temp directories. However it wont 
help if Nagios itself is responsible for the deletion. 
Any clues?


Here is a piece of the nagios.cfg referencing this temporary directory:

# TEMP FILE
# This is a temporary file that is used as scratch space when Nagios
# updates the status log, cleans the comment file, etc.  This file
# is created, used, and deleted throughout the time that Nagios is
# running.

temp_file=/var/tmp/nagios/nagios.tmp

# STATE RETENTION FILE
# This is the file that Nagios should use to store host and
# service state information before it shuts down.  The state
# information in this file is also read immediately prior to
# starting to monitor the network when Nagios is restarted.
# This file is used only if the preserve_state_information
# variable is set to 1.

state_retention_file=/var/tmp/nagios/status.sav

__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services; 
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051121/e2750376/attachment.html>


More information about the Users mailing list