[Nagiosplug-help] NRPE: Command 'check_disk' not defined

Heslin, Peter peter.heslin at us.mizuho-sc.com
Mon Jul 7 14:33:23 CEST 2003


I am having a problem getting my "check_nrpe" commands to work.  I am
running nrpe under inet with tcp wrappers and my configs look like so:


nrpe    stream  tcp     nowait  nagios  /usr/sbin/tcpd  /opt/nagios/nrpe -c
/opt/nagios --inetd


nrpe            5666/tcp        # NRPE

Taken from "netstat -at"

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:nrpe                  *:*                     LISTEN

So, as you can see, all is running well.  However, when I run the following

Check_nrpe -H hostname1 -c check_disk1 (or anything!)

I get the following...

NRPE: Command 'check_disk' not defined

Now, I have this in my /opt/nagios/nrpe.cfg file:

command[check_disk1]=/opt/nagios//libexec/check_disk -w 20 -c 10 -p

Why will this not work for me? It connects fine, I checked the messages
file. I have tried to run other commands, which are by default part of
nrpe.cfg to no avail.  Am I missing something?  The compilation went
fine....  I am really stumped, any help would be fantastic!  Thanks.


CONFIDENTIAL: This email, including its content and attachments, if any, are
confidential. It is neither an offer to buy or sell, nor a solicitation of
an offer to buy or sell, any securities or any related financial instruments
mentioned in it. If you are not the named recipient please notify the sender
and immediately delete it. You may not disseminate, distribute, or forward
this email message or disclose its contents to anyone else. Unless otherwise
indicated, copyright and any other intellectual property rights in its
contents are the sole property of Mizuho Securities USA Inc. Email
transmission  cannot be guaranteed to be secure or error-free. The sender
does not accept liability for any errors or omissions of this message due to
email transmission. If verification is required please request a hardcopy
version. Although we routinely screen for viruses, addressees should check
this email and any attachments for viruses. We make no representation or
warranty as to the absence of viruses in this email or any attachments.
Please note that to ensure regulatory compliance and for the protection of
our customers and business, we may monitor and read emails sent to and from
our server(s). 

More information about the Help mailing list