Bug in SNMP responses about DHCP leases?
Hello,
I am monitoring Fortigates using SNMPv3. Among other things I monitor the status of DHCP scopes to be informed if they are near to get full. The main (and the only) OID related is 1.3.6.1.4.1.12356.101.23.2.1.1.2. It returns per line the amount of assigned leases in percents of the total IP addresses in the scope.
I can see the following situation: if there are reservations in the DHCP scope and if a device with a reservation got a lease, this device (this lease) is not counted in the SNMP response. It can lead to situations that some IP addresses are assigned and not free anymore, but the number of assigned leases according to SNMP is still 0. Which is wrong.
Different Fortigates 100E, 100F and 200E and FortiOS 7.2.11 and 7.4.8.
Could anyone please check this and let me know if I am missing anything?
