Missing Nagios.cmd file (ver 3.0.3)


I’ve installed Nagios version 3.0.3 on a Debian machine.
When I click on Process Info -> Restart the Nagios process (under Process Commands) -> Commit (under Command Options) -> an error message appear:

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.

I’ve googled a little but couldn’t find what I have to do to fix it.
readlist.com/lists/lists.sourcef … /6279.html



nagios.cmd is a named-pipe created by nagios at runtime. Make sure permissions on the directory specified in nagios.cfg’s command_file= are set to allow read/write for the user running nagios. The file should only exist while nagios is running (ps ax | grep nagios).

mail-archive.com/nagios-user … 04655.html


well, firstly, verify that the option “check_external_commands” is set to 1 in your nagios.cfg
then restart manually the nagios server; it should (re)-create the file, and everything should be fine (check the permissions on the file, if necessary).

appart from that, i don’t think there is much more to say :confused: