check_dhcp unicast

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
FabFara
Posts: 3
Joined: Tue Aug 28, 2012 2:47 pm

check_dhcp unicast

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_dhcp unicast

Post by lmiltchev »

It is possible that it is a firewall issue. Make sure you have UPD ports 67, and 68 opened.

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
FabFara
Posts: 3
Joined: Tue Aug 28, 2012 2:47 pm

Re: check_dhcp unicast

Post by FabFara »

No firewall :(
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: check_dhcp unicast

Post by nscott »

Are you positive the DHCP is allowed to issue IPs to the network the Nagios box is on?
Nicholas Scott
Former Nagios employee
FabFara
Posts: 3
Joined: Tue Aug 28, 2012 2:47 pm

Re: check_dhcp unicast

Post by FabFara »

OK!!! That is the problem!!
Thanks a lot!
Locked