Can not issue commands
Posted: Fri Jan 24, 2014 12:07 am
I installed from source onto Centos and its monitoring the localhost. When I try to issue a command like disabling an alert, however, I am told:
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.
I'm logged in as nagiosadmin.
I've checked the cgi.cfg file and I see:
use_authentication=1
authorized_for_system_commands=nagiosadmin
I'm the contact for the machine, etc. Everything the doc says that needs to be in place is as far as I can tell. I also found a page online on how to fix it (http://linux.101hacks.com/unix/nagios-cmd-file-error/)
Everything checked out there as well as far as group and owner, etc
What am I missing?
Thanks,
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.
I'm logged in as nagiosadmin.
I've checked the cgi.cfg file and I see:
use_authentication=1
authorized_for_system_commands=nagiosadmin
I'm the contact for the machine, etc. Everything the doc says that needs to be in place is as far as I can tell. I also found a page online on how to fix it (http://linux.101hacks.com/unix/nagios-cmd-file-error/)
Everything checked out there as well as far as group and owner, etc
What am I missing?
Thanks,