<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4">
</HEAD>
<BODY>
That simple huh? Sheesh...is there a forest out there?
<BR>

<BR>
It's created other problems but I think it just because I've played around with my config files so much.
<BR>
Thanks a million!
<BR>

<BR>
On Fri, 2002-11-15 at 14:27, Carroll, Jim P [Contractor] wrote:
    <BLOCKQUOTE>
    <FONT COLOR="#000080"><FONT SIZE="2"><I>Do these commands as root:</FONT></FONT></I>
    <BR>
    <FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
    <BR>
    <FONT COLOR="#000080"><FONT SIZE="2"><I>   chown root /bin/ping</FONT></FONT></I>
    <BR>
    <FONT COLOR="#000080"><FONT SIZE="2"><I>   chmod u+s /bin/ping</FONT></FONT></I>
    <BR>
    <FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
    <BR>
    <FONT COLOR="#000080"><FONT SIZE="2"><I>then try again.</FONT></FONT></I>
        <BLOCKQUOTE>
        <FONT COLOR="#737373"><FONT SIZE="2"><I>-----Original Message-----</FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="2"><B><I>From:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> Kenton Smith [mailto:ksmith@chartwelltechnology.com]</FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="2"><B><I>Sent:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> Friday, November 15, 2002 3:21 PM</FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="2"><B><I>To:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> Carroll, Jim P [Contractor]</FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="2"><B><I>Cc:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> nagios-users@lists.sourceforge.net</FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="2"><B><I>Subject:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> RE: [Nagios-users] Yet another ping problem</FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="2"><I></FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="3"><I>Even if I run nagios as root the ping plugin isn't working. </FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
        <BR>
        <FONT COLOR="#737373"><FONT SIZE="3"><I>On Fri, 2002-11-15 at 14:12, Carroll, Jim P [Contractor] wrote: </FONT></FONT></I>
            <BLOCKQUOTE>
<PRE><FONT COLOR="#737373"><FONT SIZE="3"><I>I'm running RH 7.3, and /bin/ping is setuid root.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>jc</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> -----Original Message-----</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> From: Kenton Smith [mailto:ksmith@chartwelltechnology.com]</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Sent: Friday, November 15, 2002 2:35 PM</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> To: nagios-users@lists.sourceforge.net</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Subject: [Nagios-users] Yet another ping problem</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> I can't believe I have to write to the mailing list about a ping</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> problem. I looked everywhere though and can't find anything similar to</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> what is happening to me.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> I'm running RH8 with Nagios 1.0b6 and installed from the RPM's.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Everything works fine including plugins except for ping. I </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> think it's a</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> permissions problem because when I ping as any user other than root I</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> get this message - ping: icmp open socket: Operation not permitted.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> If I run - </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> ./check_ping -H 192.168.1.1 -w 3000.0,80% -c 5000.0,100% -p 1</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> I get this error - </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> /bin/ping -n -U -c 1 192.168.1.1</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Error: Could not interpret output from ping command</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> I assume the "could not interpret" error comes from the fact that it's</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> being passed the previous error. I've also tried this with older</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> versions of ping (RH7.2), which is the way I had it setup on </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> my 7.3 box.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> I can't for the life of me get ping to work as another user other than</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> root. I even went so far as to change permissions and ownership to</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> nagios and got the same error.</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Any advice?</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Kenton Smith</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> -------------------------------------------------------</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> This sf.net email is sponsored by: To learn the basics of securing </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> your web site with SSL, click here to get a FREE TRIAL of a Thawte </FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Server Certificate: http://www.gothawte.com/rd524.html</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> _______________________________________________</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Nagios-users mailing list</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> Nagios-users@lists.sourceforge.net</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> https://lists.sourceforge.net/lists/listinfo/nagios-users</FONT></FONT></I>
<FONT COLOR="#737373"><FONT SIZE="3"><I>> </FONT></FONT></I></PRE>
            </BLOCKQUOTE>
        <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
</TR>
<TR>
</TR>
<TR>
<TD>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Kenton Smith, </FONT></FONT></I><FONT COLOR="#737373"><FONT SIZE="1"><I>GSEC</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Systems Administrator</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Chartwell Technology Inc.</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>700, 407 2 St. S.W. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Calgary, AB T2P 2Y3 </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>CANADA </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>P 403 261-6619 </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>F 403 237-5816 </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>E </FONT></FONT></I><A HREF="mailto:ksmith@chartwelltechnology.com"><FONT SIZE="3"><I>ksmith@chartwelltechnology.com</FONT></I></A>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>W www.chartwelltechnology.com </FONT></FONT></I>
</TD>
</TR>
</TABLE>

        </BLOCKQUOTE>
    </BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT SIZE="3"><I>Kenton Smith, </FONT></I><FONT SIZE="1">GSEC</FONT>
<BR>
<FONT SIZE="3">Systems Administrator</FONT>
<BR>
<FONT SIZE="3">Chartwell Technology Inc.</FONT>
<BR>
700, 407 2 St. S.W. 
<BR>
Calgary, AB T2P 2Y3 
<BR>
CANADA 
<BR>
P 403 261-6619 
<BR>
F 403 237-5816 
<BR>
E <A HREF="mailto:ksmith@chartwelltechnology.com">ksmith@chartwelltechnology.com</A>
<BR>
W www.chartwelltechnology.com
</TD>
</TR>
</TABLE>

</BODY>
</HTML>