External Commands


I’ve posted a few weeks ago about having issues with issuing any type of external commands on Nagios’s web GUI. I keep getting various messages like this whenever I try to schedule downtime or do some other type of command.

[blockquote]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.

Return from whence you came[/blockquote]

I’ve followed all of the permissions and steps that I could possible find and I still can’t get it to work. If anyone has had any luck on this could you please just start from step 1 and see if I can get it working. It’s the last major obstacle I have before I can call it done. I really appreciate any help.


Check the External command option and file path in nagios.cfg file.