check_dhcp?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

check_dhcp?

Post by TSCAdmin »

I am trying to monitor our DHCP server but all I get is "CRITICAL: No DHCPOFFERs were received.". I have tried looking around the web and the forum archives but could not find anything interesting.

The check_dhcp version we are using v2018 (nagios-plugins 1.4.13).

Here is the verbose output of check_dhcp if it helps

Code: Select all

./check_dhcp -v
DHCP socket: 3
Hardware address: d8:d3:85:df:85:f0
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 1956190566 (0x74991966)
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: -1


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.
Is there something I am missing?

Thanks
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: check_dhcp?

Post by mguthrie »

You can see the plugin's usage documentation by running:

Code: Select all

./check_dhcp -h
Can you show us what you're running from a command-line test so we can see all of the arguments?
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Re: check_dhcp?

Post by TSCAdmin »

Hello Mike,

I have tried running it as following:

Code: Select all

./check_dhcp dus1vsr0006
CRITICAL: No DHCPOFFERs were received

Code: Select all

./check_dhcp -s dus1vsr0006
CRITICAL: No DHCPOFFERs were received.

Code: Select all

]$ ./check_dhcp -s dus1vsr0006 -r 10.208.0.178
CRITICAL: No DHCPOFFERs were received.
I have tried almost everything but nothing works :(
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: check_dhcp?

Post by jsmurphy »

Perhaps obvious... but is the check being executed from a portion of the network where DHCP is available... I.e is it in a VLAN where DHCP is unavailable or is the server not in a DHCP enabled subnet?
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Re: check_dhcp?

Post by TSCAdmin »

That's a very thoughtful response, I will check with the team that manages DHCP and post any updates. Thanks.
Locked