check_by_ssh

Rusch, Daniel Daniel.Rusch at GlobalCrossing.com
Fri Aug 16 18:46:32 CEST 2002


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




More information about the Users mailing list