check_icmp issues warning and does not run

Andreas Ericsson ae at op5.se
Fri May 30 08:46:53 CEST 2008


Nguyen, Tham wrote:
> Okay the problem is solved.
> 
> 
> 
> Before I had this in the localhost.cfg:
> 
> 
> 
> define service{
> 
> use                                           generic-service
> 
> host_name                                sun-ae-server001
> 
> service_description                     ICMP
> 
> check_command                       check_nrpe!check_icmp
> 
> }
> 
> 
> 
> Changed this line check_nrpe!check_icmp to check_icmp and it worked
> fine.
> 

Yes, because now you're running check_icmp from the local host, which is
a completely orthogonal issue (and possibly not what you wanted).

> 
> The setuid bit works though; just the config file is not set
> properly.  The error message (Warning: This plugin must be either run
> as root or setuid root ) is ambiguous!!!
> 

There's nothing ambiguous about it. Anyone with basic knowledge of
administering a unixy system knows what it means. The rest show up
here or in some usergroup where they get educated.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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