Hi,
I configure Nagios Core 3.2 and it's working fine, but when am trying to comment on host
@@@@@@@@@......IT DISPLAYS ERROR......@@@@@@@@@@
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.
Error: Could not stat() command file '/usr/local/nagios/var/
-
praveen.ks
- Posts: 41
- Joined: Wed May 29, 2013 5:35 pm
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Error: Could not stat() command file '/usr/local/nagios/
Try the following, from the command line run:
service nagios stop
Show us the output of these commands. Also, try to comment on the host again.
service nagios stop
Code: Select all
killall -9 nagios
service nagios start
ll -la /usr/local/nagios/var/rw/Re: Error: Could not stat() command file '/usr/local/nagios/
This may be permission related, or nagios service related. What is the output of:
Code: Select all
ls -la /usr/local/nagios/var/rw/nagios.cmd
grep nag /etc/group
service nagios statusFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.