<div style="font-family: Arial, sans-serif; font-size: 14px;">Hi,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I am just doing some quick experimentation trying to create a very crude </div><div style="font-family: Arial, sans-serif; font-size: 14px;">"something has changed" check on my homelab DHCPv4 server.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">My thought is to perform a <span>"command": "statistic-get-all"</span> and check if <span><br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>"cumulative-assigned-addresses"</span> and <span>"reclaimed-leases"</span> are different from last </div><div style="font-family: Arial, sans-serif; font-size: 14px;">time, and if so do a more thorough check afterwards to find out exactly what has</div><div style="font-family: Arial, sans-serif; font-size: 14px;">changed.<br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">However, when experimenting with this I use the <span>"lease4-add"</span> command to add some </div><div style="font-family: Arial, sans-serif; font-size: 14px;">dummy leases, but these do not increase the <span>"cumulative-assigned-addresses"</span> counter. </div><div style="font-family: Arial, sans-serif; font-size: 14px;">They do increase the <span>"subnet[1].pool[0].assigned-addresses"</span>, and the <span>"reclaimed-leases"</span> </div><div style="font-family: Arial, sans-serif; font-size: 14px;">also increase when they time out, so I was just wondering if there is a bug here, or if this </div><div style="font-family: Arial, sans-serif; font-size: 14px;">cumulative counter is working as intended.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Plugging in a "real" host does increase all statistics as expected. <br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Best regards,</div><div style="font-family: Arial, sans-serif; font-size: 14px;">Jonas<br></div>
<div class="protonmail_signature_block protonmail_signature_block-empty" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user protonmail_signature_block-empty">
        
            </div>
    
            <div class="protonmail_signature_block-proton protonmail_signature_block-empty">
        
            </div>
</div>