Yet another ping problem

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Fri Nov 15 22:12:20 CET 2002


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
> 


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




More information about the Users mailing list