<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Ok some progress doing this command... :-)<br>chown root:root check_dhcp && chmod 4755 check_dhcp<br><br>However, what's odd is when I launch the plugin command via cli I am ok:<br>OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec.<br><br>But when I look at the nagios monitor page, I get this:<br>CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 86400 sec. <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>Any idea why? <br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size
 ="1"><b><span style="font-weight: bold;">From:</span></b> Andreas Ericsson <ae@op5.se><br><b><span style="font-weight: bold;">To:</span></b> Dei Bertine
 <deibertine@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> nagios-users@lists.sourceforge.net<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, June 25, 2009 10:58:14 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Nagios-users] check_dhcp issue<br></font><br>
Dei Bertine wrote:<br>> Ok did that but still error:<br>> root@tool:/usr/local/nagios/libexec# chmod 4755 ./check_dhcp<br>> root@tool:/usr/local/nagios/libexec# ls -als check_dhcp<br>> 76 -rwsr-xr-x 1 nagios nagios 72834 2009-04-26 21:06 check_dhcp<br>> nagios@tool:~/libexec$ ./check_dhcp -s serveip1<br>> Error: Could not bind socket to interface eth0.  Check your privileges...<br>> <br>> Any other ideas?<br>> <br><br>Sorry. As root:<br>chown root:root check_dhcp && chmod 4755 check_dhcp<br><br>-- Andreas Ericsson                   <a ymailto="mailto:andreas.ericsson@op5.se" href="mailto:andreas.ericsson@op5.se">andreas.ericsson@op5.se</a><br>OP5 AB                &n
 bsp;            <a target="_blank" href="http://www.op5.se">www.op5.se</a><br>Tel: +46 8-230225             
     Fax: +46 8-230231<br><br>Considering the successes of the wars on alcohol, poverty, drugs and<br>terror, I think we should give some serious thought to declaring war<br>on peace.<br></div></div></div><br>



      </body></html>