Failed to issue forced notification
Posted: Thu Aug 22, 2013 3:14 pm
I am taking a host (the Nagios host itself) out of maintenance most and am trying to issue
a forced notification. When I do that, I get the error
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
(pl see screenshot attached).
Here is the listing of /usr/local/nagios/var/:
What is the root cause of this error?
thanks,
rk
a forced notification. When I do that, I get the error
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
(pl see screenshot attached).
Here is the listing of /usr/local/nagios/var/:
Code: Select all
[root@ctvmanager var]# ls -l
total 2208
drwxrwxr-x 2 nagios nagios 4096 Aug 22 00:00 archives
-rw-rw-r-- 1 root nagios 0 Aug 22 16:03 host-perfdata
-rw-rw-r-- 1 nagios nagios 499991 Aug 22 16:03 nagios.debug
-rw-rw-r-- 1 nagios nagios 1000050 Aug 22 16:00 nagios.debug.old
-rw-r--r-- 1 nagios nagios 6 Aug 22 15:36 nagios.lock
-rw-r--r-- 1 nagios nagios 18128 Aug 22 15:36 nagios.log
-rw-r--r-- 1 nagios nagios 5 Aug 21 17:57 ndo2db.lock
-rw-rw-r-- 1 nagios nagios 0 Aug 22 15:36 ndomod.tmp
srwxr-xr-x 1 nagios nagios 0 Aug 21 17:57 ndo.sock
-rw-r--r-- 1 nagios nagios 104675 Aug 21 17:57 npcd.log
-rw-r--r-- 1 nagios nagios 125566 Aug 22 15:36 objects.cache
-rw-rw-rw- 1 nagios nagios 100555 Jul 17 15:09 perfdata.log
-rw------- 1 nagios nagios 167444 Aug 22 15:20 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Aug 22 15:36 rw
-rw-rw-r-- 1 root nagios 27376 Aug 22 16:03 service-perfdata
drwxr-xr-x 5 nagios root 4096 Apr 5 11:48 spool
drwxr-xr-x 2 nagios nagios 4096 Aug 22 16:03 stats
-rw-rw-r-- 1 root nagios 167890 Aug 22 16:03 status.dat
[root@ctvmanager var]#
[root@ctvmanager var]# ls -l rw
total 0
[root@ctvmanager var]#
thanks,
rk