Page 1 of 1

External Commands not running

Posted: Tue Jul 05, 2011 12:54 pm
by nclair
I have noticed that the External Commands Process Settings is red. I can not figure out why.
I want to turn off notifications but it says "your request was not processed in a timely manner..." And it never processes.

I looked at the configuration of nagios.cfg and everything seems right, rights on the cmd file look fine

prw-rw---- 1 nagios nagcmd 0 Jul 5 10:45 /usr/local/nagios/var/rw/nagios.cmd

Any commands I put in just add up in this file.

nagios.cfg:
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
external_command_buffer_slots=4096

/etc/groups:
nagcmd:x:504:nagios,apache

Nagios Xi version:
full=2011R1.5
major=2011
minor=R1.5
releasedate=2011-06-23
release=205

is there some switch / option I can use to trun it on? Any ideas on what to check?

Re: External Commands not running

Posted: Tue Jul 05, 2011 1:27 pm
by nscott
Have you tried manually restarting the nagios service?

Re: External Commands not running

Posted: Tue Jul 05, 2011 1:31 pm
by agriffin
What's the output if you run the following command?

Code: Select all

ls -l /usr/local/nagios/var/rw/nagios.cmd

Re: External Commands not running

Posted: Tue Jul 05, 2011 1:45 pm
by nclair
Ok it is solved,

It was a simple system admin issue. my / got full so it could not copy of the nagios init script. It was blank. I fixed it. all the apps and other stuff are in different mount points so everything seems to be working. / got full because of backups into /store, need to make a mount point for that, that is no problem since I am running on VMWare. Thanks for your help everyone.

PS if I was not still running in setup mode it would have sent me a notification about / getting filled up, but right now in setup I am not looking at all the notifications as I fix every thing.

-nic

Re: External Commands not running

Posted: Tue Jul 05, 2011 2:04 pm
by nclair
So this turned out to be a good test. We have noticed the other nagiosxi box that is setup to monitor this box did not tell us nagios was not running. As we are still in setup have not gone though all testing but now know the canned nagiosxi check do not check if nagios is running. We will get process motioning setup between he boxes to alert us to that issue.

-nic