External Commands not running

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nclair
Posts: 5
Joined: Fri May 13, 2011 6:39 pm

External Commands not running

Post 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?
You do not have the required permissions to view the files attached to this post.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: External Commands not running

Post by nscott »

Have you tried manually restarting the nagios service?
Nicholas Scott
Former Nagios employee
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: External Commands not running

Post by agriffin »

What's the output if you run the following command?

Code: Select all

ls -l /usr/local/nagios/var/rw/nagios.cmd
nclair
Posts: 5
Joined: Fri May 13, 2011 6:39 pm

Re: External Commands not running

Post 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
nclair
Posts: 5
Joined: Fri May 13, 2011 6:39 pm

Re: External Commands not running

Post 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
Locked