01-12-2024 05:34 AM
I have a number of Cisco 1921 routers all running c1900-universalk9-mz.SPA.156-3.M8.bin.
We have envmon traps configured for temp alarms.
Issue is that once the temp has exceeded the threshold, we get repeating traps every 2 min.
Is there a way to configure the traps such that they only get sent one time when the threshold has been exceeded?
And then send a new trap if the temp exceeds the threshold again (after dropping below the threshold)?
01-12-2024 06:34 AM
Is there a way to configure the traps such that they only get sent one time when the threshold has been exceeded?
the purpose of this is to keep send traps until the temp go accepted level.
If you do not want to send this logs repeatedly then you need to remove the Traps and use other method to send alerts like EEM so on.
you can look threshold configuration anything we can tweak :
you may try - snmp-server trap-limit
Also good to post what kind of configuration you using and also example traps you getting.
01-12-2024 06:43 AM
This is my config:
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
snmp-server enable traps ospf state-change neighbor-state-change
snmp-server enable traps envmon
snmp-server enable traps bgp state-changes limited
snmp-server enable traps config
snmp-server enable traps entity
snmp-server enable traps hsrp
snmp-server enable traps cpu threshold
snmp-server enable traps syslog
snmp-server enable traps ipsla
And the IOS we are using does not support rate-limit command.
01-12-2024 06:48 AM - edited 01-12-2024 06:56 AM
Sorry I dont see @balaji.bandi answer
He suggest same. Go with him he is correct.
Have a nice weekend to all
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide