[Nagiosplug-help] check_dhcp

Proskurin Kirill k.proskurin at fxclub.org
Tue Oct 21 10:30:55 CEST 2008


Holger Weiss wrote:
> * Proskurin Kirill <k.proskurin at fxclub.org> [2008-10-17 12:32]:
>> nagios-plugins-1.4.12_1
> Is the DHCP server running on the same system as check_dhcp?  If so,
> this is a known bug, see:
> 
> http://sf.net/tracker/?func=detail&aid=1090549&group_id=29880&atid=397597
> 
> If you're checking the DHCP remotely: What operating system are you
> running check_dhcp on?  Can you see the requests in the DHCP server
> logs?  Can you see any replies using tcpdump(8)?

No it is remote host in same network.
I update plugins to nagios-plugins-1.4.13,1
OS is FreeBSD 6.3-p5

Problem was in timeout - then i increase it i can see this:

./check_dhcp -v -t 20 -i bge0
DHCP socket: 3
Hardware address: 00:14:5e:82:25:62
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 1804289383 (0x6B8B4567)
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

recv_result_1: 323
recv_result_2: 323
receive_dhcp_packet() result: 323
receive_dhcp_packet() source: 172.16.1.2
Result=OK
DHCPOFFER from IP address 172.16.1.59 via 172.16.1.2
DHCPOFFER XID: 1581568716 (0x5E44D2CC)
DHCPOFFER XID (1581568716) did not match DHCPDISCOVER XID (1804289383) - 
ignoring packet

recv_result_1: 323
recv_result_2: 323
receive_dhcp_packet() result: 323
receive_dhcp_packet() source: 172.16.1.2
Result=OK
DHCPOFFER from IP address 172.16.1.59 via 172.16.1.2
DHCPOFFER XID: 329957198 (0x13AABF4E)
DHCPOFFER XID (329957198) did not match DHCPDISCOVER XID (1804289383) - 
ignoring packet

No (more) data received (nfound: 0)
Result=ERROR
Total responses seen on the wire: 2
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.


But as i sad before - dhclient bge0 works well on this host.

-- 
Best regards,
Proskurin Kirill




More information about the Help mailing list