[Nagiosplug-help] check_dhcp No DHCP pool range
Holger Weiss
holger at CIS.FU-Berlin.DE
Mon Dec 10 14:14:30 CET 2007
* Divan Santana <divan.santana at gmail.com> [2007-12-10 10:01]:
> Hi, Yes I noticed the latest version has -m which allows you to specify the
> MAC address :)
>
> Problem is, it simply does not work.
>
> I tail the /var/log/daemon.log and it DHCP aknowledges and responds correctly
> but check_dhcp still times out even though DHCP responded correctly to the
> request.
>
> Not sure why this is. Has anyone ever got this check_dhcp to work when
> specifying a MAC address?
Yes, I added this feature myself and it works just fine for me. I'm
pretty sure the problem you're seeing is not that "-m" doesn't work.
You can check the DHCP server logs for whether the plugin uses the MAC
address you specified.
Did you try without "-m" (that is, using the real MAC address of the
interface)? Is the DHCP server running on the same system as check_dhcp
(there's a known problem[*] with this setup)? If not, is the server
running in the same subnet? Or are you using "check_dhcp --unicast"?
Could you add "--verbose" to the check_dhcp command line and post both
the command line you're using and the output you get? If the server
isn't running on the same system as check_dhcp, could you verify that
the server's reply reaches the plugin's system using tcpdump(8)?
Holger
[*] http://sf.net/tracker/index.php?func=detail&aid=1090549&group_id=29880&atid=397597
More information about the Help
mailing list