We have a requirement where DHCP related traps that are being sent by devices need to be monitored. The requirement is to monitor the DHCP IP uses when it reaches 80%. As per the team, they are sending trap: snmp-server enable traps dhcp.
Will this trap be enabled to alert for DHCP exhaust issues.?
Release : 10.4.1
Component : Spectrum Certification
Out Of the Box (OOB) Spectrum does not have the CISCO-IETF-DHCP-SERVER-MIB included. But you can download it from your Vendor and easily import/compile it in Spectrum via MIB Tools utility.
In the following screenshot, you can see how to import/compile the CISCO-IETF-DHCP-SERVER-MIB in the MIB Tools:
Then you can map one or more traps in MIB Tools, you can also choose an Alarm Severity. Note that not all traps should raise alarms. The cDhcpv4ServerFreeAddressHigh would clear the alarm generated by cDhcpv4ServerFreeAddressLow trap
You can follow this KB to understand the step to import/compile and then map the trap you are interested in:
Also, engage your device's administrator to confirm the trap the device will send when the DHCP pool is near to exhaust. In my research I found the following: