check_dhcp not seeing some packets

This forum was archived to /woltlab and is now in read-only mode.
  • Hello,


    Since a few month (maybe last update?) I have a problem with check_dhcp plugin.

    I have 2 dhcp servers, and those dhcp servers IP are 10.8.0.2 and 10.8.0.6.

    I am testing both of them with check_dhcp plugin.

    10.8.0.6 is on same physical machine (one of VM).

    Icinga host is 10.8.0.45


    Anyway I am sending command:

    Code
    1. # ./check_dhcp -s 10.8.0.2
    2. CRITICAL: Received 817748 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 7200 sec.


    And this is what TCPDUMP sees on the same machine:


    So later I am trying to reach this dhcp with verbose option:


    So it seems that check_dhcp is ignoring responses from 10.8.0.2 or something else is going on which I don't see...


    Another aspect is that if run check_dhcp

    Code
    1. #./check_dhcp -s 10.8.0.2 -v

    2 in same time, one of them will say OK.

    Both have to be with verbose option. Without that both will be CRITICAL.

    I tried set up timeout, with verbose sometimes is ok, without verbose I never can reach state OK.