[Nagiosplug-devel] ./check_dhcp in Nagios
dermoth at aei.ca
Fri Apr 1 15:54:45 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
On 11-03-31 07:09 PM, Markus Franke wrote:
> Still not working:
> root at nagios:/usr/lib/nagios/plugins# ./check_dhcp -v
> DHCP socket: 3
> Error: Could not bind socket to interface eth0. Check your privileges...
> root at nagios:/usr/lib/nagios/plugins# ll -lsa check_dhcp
> 36 *-rwsrwxrwx* 1 root root 34344 2010-02-04 07:09 check_dhcp*
Do you have a dhcp client and/or server that could be interfering with
this? check_dhcp need either one of the dhcp port open for
communication, and won't work is a daemon is already bound to the port
you're trying to use.
BTW, having a SUID binary world-writable is a bad idea; anyone could cat
another executable into it to gain root access.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Devel