Checking DHCP

Holger Weiß holger at CIS.FU-Berlin.DE
Thu Jul 8 12:16:02 CEST 2010


* Cosmin Neagu <cosmin.neagu at omnilogic.ro> [2010-07-08 10:12]:
> So from what i see on the server:
> DHCPD: DHCPDISCOVER received from client 0050.56a1.4fbf through relay
> 192.168.53.250
> DHCPD: Seeing if there is an internally specified pool class
> DHCPD: there is no address pool for 192.168.53.250

Why can't you simply add an entry for 192.168.53.250 to the DHCP server
configuration?

> I thing that nagios sets the relay agent ip address in dhcp header to
> be the ip address of the interface from where the dhcpdiscover is
> sent. Is there any posibilities to control this, i mean to put in
> that header whatever ip address i want for dhcp relay agent?

No, because the server uses that IP address for the reply.  That is, if
you fake the field in question ("giaddr"), you won't get a response.

> Otherwise, i thing nagios cand only monitor dhcp servers on the same
> lan/subnet.

check_dhcp's "-u" option works just fine if the server is configured
appropriately.  (And of course, you could use a "real" DHCP relay agent
instead of check_dhcp's "-u" option.)

Holger

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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