I looked on my XI server and sure enough, there are no files under /usr/local/nagios/var/rw/. But I'm not sure what happened here or exactly what I need to do to fix it. Any suggestions would be greatly appreciated.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.
nagios.cmd command file missing
-
luniversity
- Posts: 56
- Joined: Mon Dec 10, 2012 9:39 am
nagios.cmd command file missing
I'm running NagiosXI 2012R1.2 on a RHEL 6 vm. Last week I configured a host for "scheduled downtime" which worked as expected, I received notifications when it started and when it ended. This week I'm unable to schedule downtime for any host. When I try I get the following:
Mike Westmoreland
Lamar University
Lamar University
Re: nagios.cmd command file missing
Is nagios running? Try:
or
then check if the file is in the directory:
Code: Select all
service nagios startCode: Select all
service nagios restartCode: Select all
ls /usr/local/nagios/var/rw/Be sure to check out our Knowledgebase for helpful articles and solutions!
-
luniversity
- Posts: 56
- Joined: Mon Dec 10, 2012 9:39 am
Re: nagios.cmd command file missing
Yep. The service was running but restarting the service resolved the issue. Thanks for your help.
Mike Westmoreland
Lamar University
Lamar University
Re: nagios.cmd command file missing
You are welcome!
Be sure to check out our Knowledgebase for helpful articles and solutions!