DHCP question

DHCP question

I'm monitoring DHCP and free addresses and OpManager is reporting incorrectly the number of free addresses.  I found a similar posting but i'm using MySql and I don't know how to amend the command.  

                  New to ADSelfService Plus?