No DHCPOFFERs were received
Posted: Tue Jul 02, 2013 8:45 am
Hello,
I know this has been discussed in several threads already, but having tried the suggestions in each of those already to no avail I am posting this.
Running the latest Nagios Core 3.5.0 and Plugins 1.4.16 on linux monitoring a [very functional!] linux-based ISC dhcp server in the same vlan. Monitoring *had* been working (for the last several months), but suddenly one day last week dhcp went critical. The dhcp server is working fine (or my phone would be ringing off the hook), and I'm not sure why this started happening. Restarted the dhcp server, restarted nagios, still happening. Ran wireshark on the nagios box, then the check_dhcp command manually, and I see the reply from the dhcp server landing on the nagios box in the form of a DHCP Offer but check_dhcp still fails ("CRITICAL: No DHCPOFFERs were received."). I've turned off iptables on the nagios box, so it's not a firewall issue (if it was I doubt wireshark would've seen the reply packet). I've tried various forms of the check_dhcp command, and running it as root too. Any ideas?
/usr/local/nagios/libexec/check_dhcp
/usr/local/nagios/libexec/check_dhcp -s x.x.x.x (using ip address of dhcp server)
/usr/local/nagios/libexec/check_dhcp -v
/usr/local/nagios/libexec/check_dhcp -v -s x.x.x.x (using ip address of dhcp server)
/usr/local/nagios/libexec/check_dhcp -i eth0
etc etc
I get "CRITICAL: No DHCPOFFERs were received." every time, though wireshark confirms the packet was received on the nagios box.
Thanks for any help!
-Tim
I know this has been discussed in several threads already, but having tried the suggestions in each of those already to no avail I am posting this.
Running the latest Nagios Core 3.5.0 and Plugins 1.4.16 on linux monitoring a [very functional!] linux-based ISC dhcp server in the same vlan. Monitoring *had* been working (for the last several months), but suddenly one day last week dhcp went critical. The dhcp server is working fine (or my phone would be ringing off the hook), and I'm not sure why this started happening. Restarted the dhcp server, restarted nagios, still happening. Ran wireshark on the nagios box, then the check_dhcp command manually, and I see the reply from the dhcp server landing on the nagios box in the form of a DHCP Offer but check_dhcp still fails ("CRITICAL: No DHCPOFFERs were received."). I've turned off iptables on the nagios box, so it's not a firewall issue (if it was I doubt wireshark would've seen the reply packet). I've tried various forms of the check_dhcp command, and running it as root too. Any ideas?
/usr/local/nagios/libexec/check_dhcp
/usr/local/nagios/libexec/check_dhcp -s x.x.x.x (using ip address of dhcp server)
/usr/local/nagios/libexec/check_dhcp -v
/usr/local/nagios/libexec/check_dhcp -v -s x.x.x.x (using ip address of dhcp server)
/usr/local/nagios/libexec/check_dhcp -i eth0
etc etc
I get "CRITICAL: No DHCPOFFERs were received." every time, though wireshark confirms the packet was received on the nagios box.
Thanks for any help!
-Tim