On Dec 24, 2008, at 1:40 AM, Rahul Nabar wrote:
On Wed, Dec 24, 2008 at 1:14 AM, Ian Masters i...@acces.co.jp wrote:
Have you Googled and checked the list archives? I answered this same
question earlier this month.
Oh! I'll google on the Nagios list. I missed out on this one. Sorry.
Make
On Wed, Dec 24, 2008 at 8:41 AM, Marc Powell m...@ena.com wrote:
list. I missed out on this one. Sorry.
Make sure you've followed the Documentation on enabling External
Commands. The CGI's use that functionality to send commands to nagios.
It's disabled by default.
I must be missing out on
On Dec 24, 2008, at 9:40 AM, Rahul Nabar wrote:
I must be missing out on something very basic. Here's what I have
confirmed in my nagios.cfg :
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
Make sure you've restarted nagios after
On Wed, Dec 24, 2008 at 9:51 AM, Marc Powell m...@ena.com wrote:
Make sure you've restarted nagios after adding these. Also check for
errors in nagios.log.
Works! Thanks Marc. I am not sure what it was.
But earlier I was doing a /etc/init.d nagios reload
Now I tried a restart.
Perfect!
When I try to access many of the sub-menu options under nagios (eg.
deactivate the service etc.) I get the following 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
Rahul Nabar wrote:
When I try to access many of the sub-menu options under nagios (eg.
deactivate the service etc.) I get the following 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,
On Wed, Dec 24, 2008 at 1:14 AM, Ian Masters i...@acces.co.jp wrote:
Have you Googled and checked the list archives? I answered this same
question earlier this month.
Oh! I'll google on the Nagios list. I missed out on this one. Sorry.
--
Rahul