check_dhcp not binding problem
Marc Powell
marc at ena.com
Thu Sep 2 16:43:22 CEST 2004
----Original Message----
From: rob5 at goobertek.com [mailto:rob5 at goobertek.com]
Sent: Thursday, September 02, 2004 8:13 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_dhcp not binding problem
> Howdy Folks
>
> I am getting the following message from check_dhcp:
>
> Error: Could not bind socket to interface eth0. Check your
> privileges...
>
>
> THe permissions on check_dhcp are set to be owned and part of the
> root group.
>
> Any thoughts?
I don't use the plugin myself but I'm going to bet it needs to run with
root priveleges. Being owned by root is not sufficient as it will be
executed as the nagios user. You'll need to set the sticky bit so that
it maintains root priveleges when being executed by non-root users
chmod u+s check_dhcp
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&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