DHCP Scope full monitor (Windows only, SNMP)

[Imported from community.whatsupgold.com/library. Contributor: Linwood Ferguson. See attached PDF for full details.]

 

 

 Active monitor which polls all scopes on windows servers and reports if they are getting full. The result (which is available in %ActiveMonitor.Payload will show each scope's current size and in use. The limits as coded are that it alarms if you are EITHER under 10% free or 10 IP's, but you can change that at the top of the code.

  • DHCP Scope full monitor (Windows only, SNMP) - Ipswitch Community
    Adobe PDF
    DHCP Scope full monitor (Windows only, SNMP) - Ipswitch Community

  • I have used this on newer versions of WUG. I had an issue because I had some scopes that automatically and new ranges when the get full. other than that it work fine for me.

  • This no longer works in server 2012 or newer.

     

    Does anyone have an updated monitor?

    • Not surprising since Microsoft has been deprecating SNMP since Server 2012, they want you to use WMI. I will dig around to see if there is a powershell or vbscript that uses WMI.

      • On the new Windows Server OS's just use the PowerShell cmdlet

        "Get-DhcpServerv4ScopeStatistics"

         

        PS C:\Get-DhcpServerv4ScopeStatistics

         

        ScopeId Free InUse PercentInUse Resrvd Pending

        ------- ---- ----- ------------ ------ -------

        .182.0 53 1 1.851852 0 0

        .180.0 73 47 39.16667 16 0

        .224.0 117 68 36.75676 11 0

        .226.0 90 109 54.77387 6 0

      • Cathy Shehorn (Customer)

        So i am trying to get this power shell script active monitor to work...but so far i can not..some what new to all this ... can anyone help me with this?