Description of problem: The check_dhcp client needs to bind itself to the bootpc port in order to make a DHCP request (bootpc aka dhcpc == 68/udp). Version-Release number of selected component (if applicable): nagios-plugins-1.4.3-14 How reproducible: Always (with a non-root account such as the nagios account). Steps to Reproduce: 1. /usr/lib/nagios/plugins/check_dhcp or /usr/lib/nagios/plugins/check_dhcp -v Actual results: Error: Could not bind socket to interface eth0. Check your privileges... Additional info: Solution chown root.nagios /usr/lib/nagios/plugins/check_dhcp chmod 4750 /usr/lib/nagios/plugins/check_dhcp
I've added a fix for this, its building for devel now. FC4/5 to follow soon.
Thanks. $ rpm -q nagios-plugins-dhcp nagios-plugins-dhcp-1.4.3-16.fc5 $ rpm -qlv nagios-plugins-dhcp -rwsr-x--- 1 root nagios 27540 Aug 10 16:24 /usr/lib/nagios/plugins/check_dhcp