check_icmp plugin

Andreas Ericsson ae at op5.se
Thu Mar 10 00:24:24 CET 2005


vivek sharma sharma wrote:
> I am using check_icmp plugin,if i use it on command line then it
> gives as ok but if i place it in hosts.cfg,services,cfg and also
> create it in checkcommands.cfg then in web interface the error
> message comes as
> 
> check_icmp: Failed to obtain ICMP socket: Operation not permitted
> 

chown root:root check_icmp
chmod 4755 check_icmp

> plz suggest .
> 
> I have also tried using check_ping but as soon as i place more than
> two hosts in the service.cfg in line host_name: it gives the error: 
> check_ping: %s: Warning threshold must be integer or percentage!
> 
> although i am using $ARG$ in command defn. in checkcommands.cfg and i
> have defined % in command_name filed.
> 

Sounds like you need to read the docs.

> Plz suggest.
> 
> Thanks & regards. Vivek Sharma.
> 
> 
> 
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
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_id=6595&alloc_id=14396&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