I try to monitor our windows DHCP scopes with a custom Powershell script. It collects automatically all scopes as channels and tells PRTG how many leases are in use. I'm giving MaxWarningLimit and MaxErrorLimit and it works well. Now I want to check if scope is enabled and trigger a warning if not. So I changed unit from Percent to Custom and set the value to -1, to set the MinWarningLimit to -1. But it does not work. The value is -1, but there is no warning for the channel. Is it possible to warn at negative values? Does anybody has another idea, how to warn if the scope is disabled?
Thank you for your help. If anyone is interested in script, fee free to ask.