Yet another ping problem
Jeff Bilder
JBilder at netrixllc.com
Mon Nov 18 18:39:15 CET 2002
I am running Red Hat 8.0 and I did the changes and am still getting these results.
[nagios at netrix libexec]$ ./check_ping -H <ip_address>-w 3000.0,80% -c 5000.0,100% -p 1
yes
Error: Could not interpret output from ping command
Thanks!
- Jeff
>>> Kenton Smith <ksmith at chartwelltechnology.com> 11/15/02 04:21PM >>>
That simple huh? Sheesh...is there a forest out there?
It's created other problems but I think it just because I've played
around with my config files so much.
Thanks a million!
On Fri, 2002-11-15 at 14:27, Carroll, Jim P [Contractor] wrote:
Do these commands as root:
chown root /bin/ping
chmod u+s /bin/ping
then try again.
-----Original Message-----
From: Kenton Smith [mailto:ksmith at chartwelltechnology.com]
Sent: Friday, November 15, 2002 3:21 PM
To: Carroll, Jim P [Contractor]
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Yet another ping problem
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
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
-------------------------------------------------------
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