DHCP service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

DHCP service

Post by dmanem »

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.
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

Post by scottwilkerson »

It could be iptables blocking access

Run the following

Code: Select all

iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
If you want to remove the service you can do so in Core Config Manager -> Search -> DHCP
delete
Apply configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: DHCP service

Post by dmanem »

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.
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: DHCP service

Post by CGraham »

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

Post by scottwilkerson »

dmanem wrote: I would like to confirm that this command does not affect the servers but something that made changes only locally(within Nagios).
CGraham is right.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: DHCP service

Post by dmanem »

Thanks you Graham and Scott.
Locked