check_dhcp could not bind socket error

Subhendu Ghosh sghosh at sghosh.org
Thu Jun 26 20:24:10 CEST 2003


On Thu, 26 Jun 2003, Ira Harkness wrote:

> I have installed the check_dhcp plugin as well as adding it to the
> checkcommands.cfg file.
> 
> Now when I try to view the status of the DHCP service I get this error. I
> made sure that the check_dhcp file was owned by nagios user and nagios group
> so I'm not sure what the problem is.
> 
> Error: Could not bind socket to interface eth0. Check your privileges...
> 

dhcp uses priviledged ports under port 1024 so the plugin must be 
installed with root ownership/suid

-- 
-sg



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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