Nagios: Problem with External Command

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
brauh4
Posts: 2
Joined: Thu Jan 12, 2012 11:15 am

Nagios: Problem with External Command

Post by brauh4 »

Hello everyone, I would like to see if anyone can help me.

I am with the following error in Nagios:

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.

Note: Nagios running on CENTOS 6, already follow some topics dealing with the matter, but did not succeed.
Last edited by brauh4 on Thu Jan 12, 2012 1:41 pm, edited 1 time in total.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios: Problem with External Command

Post by nscott »

Can you see if Nagios Core is actually running?

Code: Select all

/etc/init.d/nagios status
It usually gives that error when the service isn't running because the command pipe doesn't exist.
Nicholas Scott
Former Nagios employee
brauh4
Posts: 2
Joined: Thu Jan 12, 2012 11:15 am

Re: Nagios: Problem with External Command

Post by brauh4 »

Yes, everything is working perfectly.
But the browser does not respond to external commands. = /
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios: Problem with External Command

Post by mguthrie »

Make sure that external commands are enabled in the main nagios.cfg file.
Locked