nagios.cmd file disappears on solaris9

Ian van der Neut ivdneut at gmail.com
Thu Jul 14 11:39:42 CEST 2005


Hello all,

I am running nagios 1.2 on a Solaris 9 (sparc) machine. However, after
a while, the /usr/local/nagios/var/rw/nagios.cmd file disappears for
no apparent reason. I have only one nagios daemon running, and the
permissions on the directory are:

After I restart nagios, the file reappears and has the following permissions.

504 [root at zodiac:/usr/local/nagios/var/rw] # ls -la
total 2
drwxrws---    2 nagios   nagiocmd      512 Jul 14 11:37 ./
drwxrwxr-x    4 nagios   nagios        512 Jul 14 11:37 ../
prw-rw----    1 nagios   nagiocmd        0 Jul 14 11:37 nagios.cmd|

Anybody ever seen this before and have any idea as to the cause of
this. Found one similar post to this mailing list, but it was
apparently because multiple instances of the nagios daemon were
running, which is not the case here:

505 [root at zodiac:/usr/local/nagios/var/rw] # ps -ef | grep nagios
  nagios  5645     1  0 11:37:28 ?        0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
    root  5671  5625  0 11:39:08 pts/1    0:00 grep nagios

thank you for any help,

Ian.


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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