check_by_ssh

Gunnar Hellekson ghelleks at mac.com
Fri Aug 16 19:49:48 CEST 2002



> From: jmarquart at planalytics.com
> Date: Fri, 16 Aug 2002 13:35:52 -0400
> To: nagios-users <nagios-users at lists.sourceforge.net>
> Subject: Re: [Nagios-users] check_by_ssh
>
> or is it just that without the -C - it has trouble parsing the command?

You could try enclosing the command in quotes, and see if that works:

./check_by_ssh -H anotherBox '/home/nagios/check_ping -L www.yahoo.com 25 50
200 1000'

Without the quotes, check_by_ssh will treat each portion of the remotecmd as
an argument for itself, not for check_ping.

> also - does anyone have an instance of using multiple -C for passive mode?
> (and is it a passive check? or some other passive mode?




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list