Page 1 of 1

check_dhcp unicast

Posted: Tue Aug 28, 2012 2:59 pm
by FabFara
Hi to all,
I'm testing check_dhcp with the unicast option to check some dhcp servers (all Win box) located on remote routed lan segments
but i ever get the "No DHCPOFFERs were received" result.

I sniffed the traffic on the remote DHCP server and the request from the nagios server is correctly recived (DHCP Discover) but no response from the DHCP server.
For dhcp on the local network the plugon work fine.

Do you have any idea?

check_dhcp -s MyDhcpIP -u


Thank,
Fabrizio

Re: check_dhcp unicast

Posted: Tue Aug 28, 2012 3:07 pm
by lmiltchev
It is possible that it is a firewall issue. Make sure you have UPD ports 67, and 68 opened.

Hope this helps.

Re: check_dhcp unicast

Posted: Tue Aug 28, 2012 3:19 pm
by FabFara
No firewall :(

Re: check_dhcp unicast

Posted: Tue Aug 28, 2012 3:35 pm
by nscott
Are you positive the DHCP is allowed to issue IPs to the network the Nagios box is on?

Re: check_dhcp unicast

Posted: Tue Aug 28, 2012 3:49 pm
by FabFara
OK!!! That is the problem!!
Thanks a lot!