Here is a way to monitor DHCP statistics per scope:
Summary:
Monitor DHCP statistics using DHCP MIB.
Steps:
1. Install the snmp service in your DHCP server if not installed, using add/remove windows components. Then go to Network and management tools and install the service.
2. Once the snmp service is installed, click on it, then click on the security tab.
Specify the community name and hosts allowed to get snmp info.
3. Check the following link:
http://www.oidview.com/mibs/311/DHCP-MIB.html
You will find all the relevant MIB vlaues related to the DHCP scope statistics.
dhcpScope
1.3.6.1.4.1.311.1.3.2
scopeTable
1.3.6.1.4.1.311.1.3.2.1
scopeTableEntry
1.3.6.1.4.1.311.1.3.2.1.1
subnetAdd
1.3.6.1.4.1.311.1.3.2.1.1.1
noAddInUse ((Used IPs))
1.3.6.1.4.1.311.1.3.2.1.1.2
noAddFree ((Available IPs))
1.3.6.1.4.1.311.1.3.2.1.1.3
noPendingOffers
1.3.6.1.4.1.311.1.3.2.1.1.4
4. Add a PRTG "snmp custom" sensor with the MIB value required, and make sure you modify the SNMP credentials.
5. Then You can add notifications and thresholds per sensor.
6. Example: Set a notification to send an email/sms if the number of available IPs are below 10.
Add comment