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.
DHCP error just came back
Re: DHCP error just came back
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
Former Nagios employee
-
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: DHCP error just came back
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?
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?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DHCP error just came back
It could be iptables blocking access
Run the following
Run the following
Code: Select all
iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
-
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: DHCP error just came back
ok, that worked, What would have caused iptables to start blocking again?
I had run that before and it has been working fine.
I had run that before and it has been working fine.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DHCP error just came back
not really sure why they wouldn't stick. Have you changed anything? Installed new software?
-
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: DHCP error just came back
maybe, i am always tweaking Nagios, love the software, just need to learn more.