nagios plug-ins error messages

jeff vier boinger at tradingtechnologies.com
Tue Mar 15 16:35:14 CET 2005


On Tue, 2005-03-15 at 09:17 -0600, C. Bensend wrote:
> > check_icmp deals with raw sockets and must be setuid root.
> > chown root:root check_icmp
> > chmod 4755 check_icmp
> 
> This seems to come up an awful lot, and it will only increase as
> check_icmp gains popularity.
> 
> Andreas, would it be possible to add a bit of code that would
> check for the UID, and if it's not being run with root perms,
> say something like "Needs root privs" or something that gives
> a little more insight?  It might head off some of these repetitive
> questions...
> 
> Just a thought.  :)

I was just thinking about this last night.
I was just going to hack the Makefile to do it for me on install.

If only I knew what I was doing with the Makefile (well, Makefile.in.  I
know that much :))

Ooh, or, to be really classy = have a configure flag that says to do it
(for the paranoid).

That I *really* don't know how to do. :)



-------------------------------------------------------
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