[CentOS] Nagios: Error: Service check command ... not defined anywhere!

Fri Feb 13 14:12:24 UTC 2009
Alexander Farber <alexander.farber at gmail.com>

Hello,

On Fri, Feb 13, 2009 at 3:06 PM, Rainer Duffner <rainer at ultra-secure.de> wrote:
> Alexander Farber schrieb:
>> I should have added the commands
>> to the /etc/nagios/objects/commands.cfg
>> and not to the  /etc/nagios/command-plugins.cfg
>
> Well, you can include those, too (I think in nagios.cfg).
>
> I had (like you) assumed, you already included that file.
> Always check if the file you use is actually included in the
> main-configuration...

unfortunately you can't put
   cfg_file=/etc/nagios/objects/commands.cfg
into /etc/nagios/nagios.cfg -
it will bail out with an error message.

IMHO it's a bug in nagios-plugins-1.4.13-1.el5.rf

Greetings from Bochum
Alex