Error: Could not stat() command file '/usr/local/nagios/var/
Posted: Wed Nov 28, 2012 4:56 pm
Hello
This is my first attempt to get Nagios working. I have installed it on CentOS 6.3. I followed a couple different tutorials online to attempt to configure it. I am also, fairly new to Linux.
At this point everything else is working except 2 things, one of which is as follow:
- when I login to web interface and try to run any host commands, (ie, Enable checks of all services on this host) and hit Commit, I get an error message:
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
the permissions on the file in question are as this:
prw-rw----. 1 nagios nagcmd 0 Nov 28 13:34 nagios.cmd
In an attempt to troubleshoot this I have given full permissions 777 to this file but that also does not fix the issue. It also seems interesting that this file is of o bytes, is it supposed to be?
I would appreciate if anyone with experience in setting Nagios up can guide.
THANKS!
This is my first attempt to get Nagios working. I have installed it on CentOS 6.3. I followed a couple different tutorials online to attempt to configure it. I am also, fairly new to Linux.
At this point everything else is working except 2 things, one of which is as follow:
- when I login to web interface and try to run any host commands, (ie, Enable checks of all services on this host) and hit Commit, I get an error message:
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
the permissions on the file in question are as this:
prw-rw----. 1 nagios nagcmd 0 Nov 28 13:34 nagios.cmd
In an attempt to troubleshoot this I have given full permissions 777 to this file but that also does not fix the issue. It also seems interesting that this file is of o bytes, is it supposed to be?
I would appreciate if anyone with experience in setting Nagios up can guide.
THANKS!