check_ssh and check_ping not working with NRPE on remote host

ReynierPM rperezm at uci.cu
Tue Dec 8 18:44:15 CET 2009


Morris, Patrick wrote:
> ReynierPM wrote:
> For check_ssh, you aren't passing any arguments, and it requires at 
> least a host:
> 
> [pmorris at sf3-bb6 ~]$ /opt/nagios/lib/plugins/check_ssh
> check_ssh: Could not parse arguments
> Usage:check_ssh [-46] [-t <timeout>] [-r <remote version>] [-p <port>] 
> <host>

Ok, I fixed this one

> For check_ping, you're not passing the arguments correctly. The "!" 
> syntax only works in Nagios command definitions, and does not apply to 
> NRPE.

For this, where I can find detailed info about parameters? When I run 
the command ./check_ping this is returned:

check_ping: Could not parse arguments
Usage:check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
  [-p packets] [-t timeout] [-4|-6]

But some of this are no so clear for me.
-- 
Cheers
ReynierPM

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
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