check_by_ssh

Terry Simons galimore at mac.com
Fri Aug 16 19:00:46 CEST 2002


One thing I notice is that you're using ./check_ping when doing the 
check locally, but you're using /home/nagios/check_ping when doing it 
remotely.

Are you sure the path (/home/nagios/check_ping) is correct?

Other than that, I'm not sure what the problem might be.


- Terry


On Friday, August 16, 2002, at 10:46 AM, Rusch, Daniel wrote:

> All,
>
> I am trying to do a check_by_ssh. I tried to run it from command line 
> like
> this:
>
> ./check_by_ssh -H anotherBox /home/nagios/check_ping -L www.yahoo.com 
> 25 50
> 200 1000
>
> It fails and returns the following:
>
> No remotecmd
>
> If I ssh into the "antherBox" as nagios and run ./check_ping -L
> www.yahoo.com 25 50 200 1000
>
> the check_ping works fine.
>
> any ideas?
>
>
>
>
> -----Original Message-----
> From: kf64g001 at sneakemail.com [mailto:kf64g001 at sneakemail.com]
> Sent: Friday, August 16, 2002 10:26 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] (no subject)
>
>
> Make sure that you have the setuid bit set, and owner set to root:
>
> -rwsr-xr-x    1 root     root        35192 Apr 18 16:40 /bin/ping
>
>
> Matthew.Quinney at hollandandholland.com wrote:
>> It appears it is RH 7.3 problem. I get an error....
>>
>> [nagios at Pingu nagios]$ ping 160.5.82.129
>> ping: socket: Operation not permitted
>>
>>
>> I am searching the web now, but has anbody got any ideas ? The file
> permissions are okay.
>
>
> -----------------------------------------------------
> Protect yourself from spam, use http://sneakemail.com
>
>
> -------------------------------------------------------
> 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
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> -------------------------------------------------------
> 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
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
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