<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
check_dhcp -V<br>
check_dhcp (nagios-plugins 1.4.2) 1.7<br>
<br>
That's my version and it works fine, what doesn't yours say?<br>
<br>
-h<br>
<pre class="moz-signature" cols="72">Hari Sekhon
</pre>
<br>
<br>
abid dar wrote:
<blockquote cite="mid193951.27545.qm@web36811.mail.mud.yahoo.com"
 type="cite">
  <pre wrap="">I've tried that, 

" ./check_dhcp -vvv
DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec."

if I try passing any argument while trying to specify IP I get this

./check_dhcp -s 10
DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 284400 sec.


I tried to see if I can find another dhcp plugin but no luck.



----- Original Message ----
From: Luca Fornasari <a class="moz-txt-link-rfc2396E" href="mailto:luca@jewelrydesign.com.hk"><luca@jewelrydesign.com.hk></a>
To: Hari Sekhon <a class="moz-txt-link-rfc2396E" href="mailto:hpsekhon@googlemail.com"><hpsekhon@googlemail.com></a>
Cc: abid dar <a class="moz-txt-link-rfc2396E" href="mailto:snyper9311@yahoo.com"><snyper9311@yahoo.com></a>; Nagios Users mailinglist <a class="moz-txt-link-rfc2396E" href="mailto:nagios-users@lists.sourceforge.net"><nagios-users@lists.sourceforge.net></a>
Sent: Wednesday, April 18, 2007 6:12:17 AM
Subject: Re: [Nagios-users] check_dhcp

dhcp3 has built-in failover; maybe you also have dhcp-relay?
anyway try -vvv
Luca

----- Original Message -----
*From:* Hari Sekhon <a class="moz-txt-link-rfc2396E" href="mailto:hpsekhon@googlemail.com"><hpsekhon@googlemail.com></a>
*Sent:* 04/18/2007 6:06:05 PM +0800
*To:* abid dar <a class="moz-txt-link-rfc2396E" href="mailto:snyper9311@yahoo.com"><snyper9311@yahoo.com></a>
*CC:* Nagios Users mailinglist <a class="moz-txt-link-rfc2396E" href="mailto:nagios-users@lists.sourceforge.net"><nagios-users@lists.sourceforge.net></a>
*Subject:* [Nagios-users] check_dhcp

  </pre>
  <blockquote type="cite">
    <pre wrap="">try -vvv to see who is giving you these leases.

You generally only need 1 dhcp server per subnet or if you have more you 
should make sure they have non-overlapping address pools. I actually 
made a wrapper script to this to actually warn me of rogue dhcp servers 
on the network after an incident with some clumsy person installing 
vmware with it's dhcp and sending a laptop off to the wrong subnet... so 
you might want to check why the second attempt says you had 3 DHCPOFFERS.
  
    </pre>
  </blockquote>
  <pre wrap=""><!---->



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
<a class="moz-txt-link-freetext" href="http://mail.yahoo.com">http://mail.yahoo.com</a> 

  </pre>
</blockquote>
</body>
</html>