check_icmp

Michael J. Prentice micpre at aent.com
Wed Feb 9 00:35:14 CET 2005


It needs to have a SUID of root.  In case you are like me and new to Linux you do that by;

Chown root check_icmp
Chgrp root check_icmp
Chmod u+s check_icmp
Chmod g+s check_icmp

Of course there might be a quicker way to do that..

Michael J. Prentice
AEC One Stop Group Inc.
Phone (954) 255-4359


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lewis Getschel
Sent: Tuesday, February 08, 2005 6:21 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] check_icmp

All-
   I just compiled check_icmp 1.0  (as myself) and for users other than 
root I get:
Failed to obtain ICMP socket: Operation not permitted

First as myself, second with sudo
 > ./check_icmp masterserver002
check_icmp: Failed to obtain ICMP socket: Operation not permitted
 > sudo ./check_icmp masterserver002
OK - masterserver002: rta 0.229ms, lost 
0%|rta=0.229ms;200.000;500.000;0; pl=0%;40;80;;
 >

Any suggestions for me to resolve this?
Thanks,
Lewis

Andreas Ericsson wrote:

> Bergström Sebastian wrote:
>
>> Andreas Ericsson, I know you're involved in this so perhaps you could
>> give me an answer? Anyone is encouraged to answer of course :o)
>>
>
> Being the original author, I think I can.
>
>> I'm trying to find information about the check_icmp plugin for
>> Nagios. Some e-mails in the past has touched this but I'm not getting
>> the complete picture. Is there any webpage or other information
>> channel that shows progress on the check_icmp development and perhaps
>> some of it's benefits over check_ping (I assume _icmp is to replace
>> _ping?). Some documentation like switches would be handy as well.
>>
>> Thanks in advance!
>>
>
> check_icmp is included in the official plugin package as a drop-in 
> replacement for check_ping. check_icmp -h provides the necessary help 
> output.
>
> The latest version of check_icmp (as coded by my humble self) is 
> available at https://devel.op5.se/oss or http://oss.op5.se/nagios as 
> check_icmp-<version>.tar.gz. Be aware that the code might change 
> without version increment while I'm researching a weird network error 
> on *bsd (most likely a kernel issue, but it's hard to know for sure), 
> although only for fixing this particular bug. Look for the mtime as 
> provided by apache to find out if it is indeed a new release or not (a 
> fresh one just hatched 2 seconds ago, actually).
>
>>
>> Best regards, Sebastian Bergstroem
>>
>> ---------------------------------------------- Sebastian Bergstroem 
>> Technical coordinator Kunskapsskolan i Sverige AB 
>> sebastian.bergstroem at kunskapsskolan.se 
>> -----------------------------------------------
>>
>>
>> ------------------------------------------------------- SF email is
>> sponsored by - The IT Product Guide Read honest & candid reviews on
>> hundreds of IT Products from real users. Discover which products
>> truly live up to the hype. Start reading now. 
>> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click 
>> _______________________________________________ Nagios-users mailing
>> list Nagios-users at lists.sourceforge.net 
>> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please
>> include Nagios version, plugin version (-v) and OS when reporting any
>> issue. ::: Messages without supporting info will risk being sent to
>> /dev/null
>>
>

-- 
Lewis Getschel             | Today is done...
WesternGeco                |     Today was fun...
1625 Broadway              |         Tomorrow is another one.
Denver, CO 80202           |
Direct Phone - 303-389-4407|        -- Dr. Seuss --




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list