DHCP Server Monitoring Issue
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
DHCP Server Monitoring Issue
Hi All,
I have configured the windows DHCP Server monitoring on Nagios XI but after configuring I getting the error which mentioned below.
CRITICAL: No DHCPOFFERs were received. (Screen Shot attached).
I have given the access in iptables also & not get the success with below script then stop the iptables services on Ngaios XI server but error still same.
iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
please help me to configure the DHCP server on Nagios XI
Thanks & Appreciation in Advance.
I have configured the windows DHCP Server monitoring on Nagios XI but after configuring I getting the error which mentioned below.
CRITICAL: No DHCPOFFERs were received. (Screen Shot attached).
I have given the access in iptables also & not get the success with below script then stop the iptables services on Ngaios XI server but error still same.
iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
please help me to configure the DHCP server on Nagios XI
Thanks & Appreciation in Advance.
You do not have the required permissions to view the files attached to this post.
Re: DHCP Server Monitoring Issue
So even if you turn the firewall off, and then force it to do a check, you still get the same error? I've found that it's almost been a firewall related error when I am not able to get a DHCP offer.sjain2014 wrote:Hi All,
I have configured the windows DHCP Server monitoring on Nagios XI but after configuring I getting the error which mentioned below.
CRITICAL: No DHCPOFFERs were received. (Screen Shot attached).
I have given the access in iptables also & not get the success with below script then stop the iptables services on Ngaios XI server but error still same.
iptables -I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
please help me to configure the DHCP server on Nagios XI
Thanks & Appreciation in Advance.
Former Nagios Employee.
me.
me.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: DHCP Server Monitoring Issue
When you execute the check_dhcp request, the XI server must be on the same physical network segment as the DHCP server.
If you want to ensure that a specific DHCP server is working, you can target it.
Does this help?
Code: Select all
./check_dhcp
OK: Received 1 DHCPOFFER(s), max lease time = 600 sec.Code: Select all
./check_dhcp -s xxx.xxx.xxx.xxx
OK: Received 1 DHCPOFFER(s), 1 of 1 requested servers responded, max lease time = 600 sec.As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
Re: DHCP Server Monitoring Issue
Hi hsmith,
Yes, I have turn off the firewall (iptables) and then also i getting the error.
CRITICAL: No DHCPOFFERs were received.
Hi Box293,
when I have tried to run this command (./check_dhcp & ./check_dhcp -s 192.168.0.4 ) got the below error message.
# ./check_dhcp
CRITICAL: No DHCPOFFERs were received.
./check_dhcp -s 192.168.0.4
CRITICAL: No DHCPOFFERs were received.
when I search this error CRITICAL: No DHCPOFFERs were received on Google and found some link which mention below
https://support.nagios.com/forum/viewto ... =6&t=33476
As per the link I have run the scrip which mentioned below and also get the error & disable the firewall (iptables) on Nagios XI Server and even disable windows firewall also.
#/usr/local/nagios/libexec/check_dhcp -vvv
DHCP socket: 3
Hardware address: 00:50:56:99:24:9b
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 802893439 (0x2FDB2E7F)
DHCDISCOVER ciaddr: 0.0.0.0
DHCDISCOVER yiaddr: 0.0.0.0
DHCDISCOVER siaddr: 0.0.0.0
DHCDISCOVER giaddr: 0.0.0.0
send_dhcp_packet result: 548
No (more) data received (nfound: 0)
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.
#/usr/local/nagios/libexec/check_dhcp -vvv -s 192.168.0.4
Requested server address: 192.168.0.4
DHCP socket: 3
Hardware address: 00:50:56:99:24:9b
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 2136837831 (0x7F5D8EC7)
DHCDISCOVER ciaddr: 0.0.0.0
DHCDISCOVER yiaddr: 0.0.0.0
DHCDISCOVER siaddr: 0.0.0.0
DHCDISCOVER giaddr: 0.0.0.0
send_dhcp_packet result: 548
No (more) data received (nfound: 0)
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.
So please let me know how we can fix this issue.
Thanks & Appreciation in Advance.
Yes, I have turn off the firewall (iptables) and then also i getting the error.
CRITICAL: No DHCPOFFERs were received.
Hi Box293,
when I have tried to run this command (./check_dhcp & ./check_dhcp -s 192.168.0.4 ) got the below error message.
# ./check_dhcp
CRITICAL: No DHCPOFFERs were received.
./check_dhcp -s 192.168.0.4
CRITICAL: No DHCPOFFERs were received.
when I search this error CRITICAL: No DHCPOFFERs were received on Google and found some link which mention below
https://support.nagios.com/forum/viewto ... =6&t=33476
As per the link I have run the scrip which mentioned below and also get the error & disable the firewall (iptables) on Nagios XI Server and even disable windows firewall also.
#/usr/local/nagios/libexec/check_dhcp -vvv
DHCP socket: 3
Hardware address: 00:50:56:99:24:9b
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 802893439 (0x2FDB2E7F)
DHCDISCOVER ciaddr: 0.0.0.0
DHCDISCOVER yiaddr: 0.0.0.0
DHCDISCOVER siaddr: 0.0.0.0
DHCDISCOVER giaddr: 0.0.0.0
send_dhcp_packet result: 548
No (more) data received (nfound: 0)
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.
#/usr/local/nagios/libexec/check_dhcp -vvv -s 192.168.0.4
Requested server address: 192.168.0.4
DHCP socket: 3
Hardware address: 00:50:56:99:24:9b
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 2136837831 (0x7F5D8EC7)
DHCDISCOVER ciaddr: 0.0.0.0
DHCDISCOVER yiaddr: 0.0.0.0
DHCDISCOVER siaddr: 0.0.0.0
DHCDISCOVER giaddr: 0.0.0.0
send_dhcp_packet result: 548
No (more) data received (nfound: 0)
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.
So please let me know how we can fix this issue.
Thanks & Appreciation in Advance.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: DHCP Server Monitoring Issue
Is the XI server on the same physical network segment as the DHCP server?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
Re: DHCP Server Monitoring Issue
Yes DHCP server and Nagios XI server in same physical network (192.168.0.0), and I am able to do the nslookup also.
# nslookup 192.168.0.4
Server: 192.168.0.4
Address: 192.168.0.4#53
4.0.168.192.in-addr.arpa name = adc.co.in
# nslookup 192.168.0.4
Server: 192.168.0.4
Address: 192.168.0.4#53
4.0.168.192.in-addr.arpa name = adc.co.in
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: DHCP Server Monitoring Issue
Is there anything in the windows server DHCP log to indicate why?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
Re: DHCP Server Monitoring Issue
do u want the events logs of DHCP server from windows ?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: DHCP Server Monitoring Issue
Basically I am trying to see if the actual DHCP server is logging why it's not responding to the Nagios server.
This comment made me think the DHCP server is a windows box.sjain2014 wrote:As per the link I have run the scrip which mentioned below and also get the error & disable the firewall (iptables) on Nagios XI Server and even disable windows firewall also.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
shailu2014
- Posts: 102
- Joined: Thu Apr 24, 2014 3:17 am
Re: DHCP Server Monitoring Issue
yes, you are right we are using windows 2008r2 std base dhcp server.