|
From: Andreas E. <ae...@op...> - 2008-05-30 06:46:55
|
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 and...@op...
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
|