CRITICAL: No DHCPOFFERs were received

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

CRITICAL: No DHCPOFFERs were received

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CRITICAL: No DHCPOFFERs were received

Post by scottwilkerson »

iptables is probably blocking it.

You can test by temporarily stopping iptables and running the check

Code: Select all

service iptables stop
run check

Code: Select all

service iptables start
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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: CRITICAL: No DHCPOFFERs were received

Post 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.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: CRITICAL: No DHCPOFFERs were received

Post by benningtonr »

got it, sorry had to re-read
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CRITICAL: No DHCPOFFERs were received

Post by scottwilkerson »

Glad you got it!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked