DHCP error just came back

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

DHCP error just came back

Post by benningtonr »

I just started getting:

CRITICAL: No DHCPOFFERs were received.

at the command line with

[ronb@nagios libexec]$ service iptables stop
[ronb@nagios libexec]$ ./check_dhcp
CRITICAL: No DHCPOFFERs were received.
[ronb@nagios libexec]$ ./check_dhcp -s 192.168.99.73
CRITICAL: No DHCPOFFERs were received.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: DHCP error just came back

Post by nscott »

Sounds like your DHCP server isn't working properly, are you sure this isn't what Nagios is for? Has the Nagios server's MAC been blacklisted for too many DHCP requests?
Nicholas Scott
Former Nagios employee
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: DHCP error just came back

Post by benningtonr »

I have just looked at the DHCP server again, and there are no problems. The event logs are clean, and it has over 100 addresses available.
Besides i have dhcp set up for an 8 hour turn around, due to the large amount of visitors we get.
So if it was not working, i would hear about it, quickly.
Anything else we can check in nagios?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: DHCP error just came back

Post by scottwilkerson »

It could be iptables blocking access

Run the following

Code: Select all

iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: DHCP error just came back

Post by benningtonr »

ok, that worked, What would have caused iptables to start blocking again?
I had run that before and it has been working fine.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: DHCP error just came back

Post by scottwilkerson »

not really sure why they wouldn't stick. Have you changed anything? Installed new software?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: DHCP error just came back

Post by benningtonr »

maybe, i am always tweaking Nagios, love the software, just need to learn more.
Locked