[Nagiosplug-help] DHCP Pluggin

Andreas Ericsson ae at op5.se
Tue Dec 7 07:14:09 CET 2004


Stephen Joy wrote:
> Hello,
> 
> I am having a problem with the check_dhcp pluggin. When i run the
> pluggin as root from the shell on the nagios box it executes fine and
> comes back OK.
> 
> However when i look at the web interface it gives me this error for
> the service "Error: Could not bind socket to interface eth0. Check
> your privileges..."
> 
> Any Ideas?
> 

check_dhcp requires raw sockets (for broadcasts).
The following commands should take care of it for you;

chown root.root check_dhcp
chmod 4755 check_dhcp

Make sure the check_dhcp plugin isn't located on a disk that's been 
mounted with the nosuid option.

> Thanks very much in advance,
>

You're welcome.

> Stephen.
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Help mailing list