Page 1 of 1
CRITICAL: No DHCPOFFERs were received
Posted: Tue Jun 26, 2012 7:47 am
by benningtonr
command in the config is as follows:
check_dhcp!
Any clues as to why it is not working. DHCP has been setup and working fine for many years.
Looking to switch from Solarwinds to Nagios, but the configuration is cumbersome.
Thank for the help
Re: CRITICAL: No DHCPOFFERs were received
Posted: Tue Jun 26, 2012 7:57 am
by scottwilkerson
iptables is probably blocking it.
You can test by temporarily stopping iptables and running the check
run check
You can add then to iptable by running the following
Code: Select all
iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
Re: CRITICAL: No DHCPOFFERs were received
Posted: Tue Jun 26, 2012 8:02 am
by benningtonr
[root@helpdesk84 libexec]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
[root@helpdesk84 libexec]# service iptables start
iptables: Applying firewall rules: [ OK ]
Do I need to apply?
This is using a static IP address, but DHCP is running on the network.
Re: CRITICAL: No DHCPOFFERs were received
Posted: Tue Jun 26, 2012 8:04 am
by benningtonr
got it, sorry had to re-read
Re: CRITICAL: No DHCPOFFERs were received
Posted: Tue Jun 26, 2012 8:59 am
by scottwilkerson
Glad you got it!