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 <[EMAIL PROTECTED]> *Sent:* 04/18/2007 10:55:27 PM +0800 *To:* Luca Fornasari <[EMAIL PROTECTED]>, Hari Sekhon <[EMAIL PROTECTED]> *CC:* Nagios Users mailinglist <nagios-users@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 <[EMAIL PROTECTED]> > To: Hari Sekhon <[EMAIL PROTECTED]> > Cc: abid dar <[EMAIL PROTECTED]>; Nagios Users mailinglist > <nagios-users@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 <[EMAIL PROTECTED]> > *Sent:* 04/18/2007 6:06:05 PM +0800 > *To:* abid dar <[EMAIL PROTECTED]> > *CC:* Nagios Users mailinglist <nagios-users@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@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