I'm trying to generate CPU traps when:
- CPU reaches 80% for a period of 5 minutes
- CPU falls 20% below 80% for a period of 5 minutes
I think I can achieve the first requirement with:
monitor -r 300 -o laNames -o laErrMessage "laTable" laErrorFlag !=0
However, I'm not sure what's the most efficient way to alert when the threshold falls 20% below 80% for a period of 5 minutes.
The Cisco syntax is:
process cpu threshold type total rising 80 interval 300 falling 20 interval 300