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

Fri Feb 13 14:06:31 UTC 2009
Rainer Duffner <rainer at ultra-secure.de>

Alexander Farber schrieb:
> On Fri, Feb 13, 2009 at 2:45 PM, John Doe <jdmls at yahoo.com> wrote:
>   
>> What I meant was that there should also be a definition in the commands.cfg file (if it is like 2.x)...
>>     
>
> Allright - that was it:
>
> 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...



Rainer