Hello,
I started the DHCP Configuration wizard and configured a DHCP server, the problem is that the Servers with Static IPs are giving a criticla error as they are not receiving any DHCP offers. Below is a screenshot of it. I told nagios to acknowledge this error and to stop obsessing about this service. I tried deleting the service but it shows that there is an advanced service that needs to be changed but I am not sure where it is.
Thank you.
DHCP service
DHCP service
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DHCP service
It could be iptables blocking access
Run the following
If you want to remove the service you can do so in Core Config Manager -> Search -> DHCP
delete
Apply configuration
Run the following
Code: Select all
iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPTdelete
Apply configuration
Re: DHCP service
It looks like that command solved it. It now says that the servers are getting DHCP offers even though they have static IP addresses and that they are in the DHCP server's exclusion range. I would like to confirm that this command does not affect the servers but something that made changes only locally(within Nagios).
Thank you.
Thank you.
Re: DHCP service
That command opens ports udp 67 and 68 in the firewall on the Nagios server. It doesn't change anything on the other systems your monitoring.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DHCP service
CGraham is right.dmanem wrote: I would like to confirm that this command does not affect the servers but something that made changes only locally(within Nagios).
Re: DHCP service
Thanks you Graham and Scott.