I configured a DHCP-sensor on the probe device (= my workstation, with fixed IP 192.168.1.52) to be able to detect when we run out of IP-Address Leases; which happens regularly.
This sensor checks with a regular expression if de DHCP-server returns a valid IP-address; like 192.168.1.x. This regular expression is checked and is correct.
But this sensor is always green, even if the DHCP-server has run out of IP-addresses, because it does always returns 192.168.1.52.
And this is because 192.168.1.52 is part of the reservations. But that is obviously not what I want to check.
Question: is there a solution for this on the shelf, or do I need to write a custom sensor for this?
Thank you in advance,
Jos Bijleveld CTO Enigma Flowers B.V. Netherlands