Yet another ping problem

Kenton Smith ksmith at chartwelltechnology.com
Fri Nov 15 22:20:56 CET 2002


Even if I run nagios as root the ping plugin isn't working.

On Fri, 2002-11-15 at 14:12, Carroll, Jim P [Contractor] wrote:

    I'm running RH 7.3, and /bin/ping is setuid root.
    
    jc
    
    > -----Original Message-----
    > From: Kenton Smith [mailto:ksmith at chartwelltechnology.com]
    > Sent: Friday, November 15, 2002 2:35 PM
    > To: nagios-users at lists.sourceforge.net
    > Subject: [Nagios-users] Yet another ping problem
    > 
    > 
    > I can't believe I have to write to the mailing list about a ping
    > problem. I looked everywhere though and can't find anything similar to
    > what is happening to me.
    > I'm running RH8 with Nagios 1.0b6 and installed from the RPM's.
    > Everything works fine including plugins except for ping. I 
    > think it's a
    > permissions problem because when I ping as any user other than root I
    > get this message - ping: icmp open socket: Operation not permitted.
    > If I run - 
    > ./check_ping -H 192.168.1.1 -w 3000.0,80% -c 5000.0,100% -p 1
    > I get this error - 
    > /bin/ping -n -U -c 1 192.168.1.1
    > Error: Could not interpret output from ping command
    > 
    > I assume the "could not interpret" error comes from the fact that it's
    > being passed the previous error. I've also tried this with older
    > versions of ping (RH7.2), which is the way I had it setup on 
    > my 7.3 box.
    > I can't for the life of me get ping to work as another user other than
    > root. I even went so far as to change permissions and ownership to
    > nagios and got the same error.
    > 
    > Any advice?
    > 
    > Kenton Smith
    > 
    > 
    > 
    > 
    > 
    > -------------------------------------------------------
    > This sf.net email is sponsored by: To learn the basics of securing 
    > your web site with SSL, click here to get a FREE TRIAL of a Thawte 
    > Server Certificate: http://www.gothawte.com/rd524.html
    > _______________________________________________
    > Nagios-users mailing list
    > Nagios-users at lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/nagios-users
    > 

Kenton Smith, GSEC
Systems Administrator
Chartwell Technology Inc.
700, 407 2 St. S.W. 
Calgary, AB T2P 2Y3 
CANADA 
P 403 261-6619 
F 403 237-5816 
E ksmith at chartwelltechnology.com
W www.chartwelltechnology.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021115/1e4f0b0c/attachment.html>


More information about the Users mailing list