check_dhcp

Luca Fornasari luca at jewelrydesign.com.hk
Thu Apr 19 03:24:33 CEST 2007


Use a network monitoring tool such tcpdump while executing the 
check_dhcp so you can understand what's going on on the wire.

Ciao
Luca

----- Original Message -----
*From:* abid dar <snyper9311 at yahoo.com>
*Sent:* 04/18/2007 10:55:27 PM +0800
*To:* Luca Fornasari <luca at jewelrydesign.com.hk>, Hari Sekhon 
<hpsekhon at googlemail.com>
*CC:* Nagios Users mailinglist <nagios-users at lists.sourceforge.net>
*Subject:* [Nagios-users] check_dhcp

> 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 <luca at jewelrydesign.com.hk>
> To: Hari Sekhon <hpsekhon at googlemail.com>
> Cc: abid dar <snyper9311 at yahoo.com>; Nagios Users mailinglist <nagios-users at lists.sourceforge.net>
> 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 <hpsekhon at googlemail.com>
> *Sent:* 04/18/2007 6:06:05 PM +0800
> *To:* abid dar <snyper9311 at yahoo.com>
> *CC:* Nagios Users mailinglist <nagios-users at lists.sourceforge.net>
> *Subject:* [Nagios-users] check_dhcp
>
>   
>> 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.
>>   
>>     
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list