ping with nrpe

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Aug 20 09:53:09 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18/08/08 08:39 AM, Kermito le kermit wrote:
> 
> hi all,
> 
> i want to make a ping on remote host with nrpe all is fine when i make
> in command line  ./check_nrpe -H host  -c script to ping other host
> 
> when i put this to  centreon i have this message to interface :
> UNKNOWN: No handler for that command
> 
> but the i am to command line a see this :  ./check_nrpe -H 172.1.1.60 -c
> CERTIF
> Ping OK
> 
> 
> any ideas.

You probably defined your ping command with the name "CERTIF". Check
your NRPE configuration on the other end.

Out of curiosity, why would you use NRPE to run a ping check? Are you
pinging a 3rd host from the remote (nrpe) host? Otherwise a ping check
though nrpe is likely useless... BTW you can also omit the check_nrpe
command (-c) if you want to check the nrpe daemon without running any check.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIq81l6dZ+Kt5BchYRAkznAJ93MXZIxVqE9Z7PGA1MWdm6qShSeACgqlJ9
O5giMruBpLVanbnZTipMOL0=
=fw+I
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list