05-22-2013 04:56 PM
Hello team.
I want SNMP traps to be sent every time an IP SLA (ICMP) object times out. For that purpose, I carried out the following
ip sla monitor logging traps
ip sla monitor 1
type echo protocol ipIcmpEcho 10.1.1.254
timeout 1000
frequency 15
ip sla monitor schedule 1 life forever start-time now
snmp-server enable traps rtr
snmp-server host 10.1.1.10 mycommunity
But no SNMP trap is sent when the IP SLA object times out. ¿ Am I missing something?
Any help will be greatly appreciated.
Rogelio Alvez
Argentina
05-22-2013 05:25 PM
Just for the record.
I added the following command
ip sla monitor reaction-configuration 1 react timeout threshold-type immediate action-type trapOnly
but nothing happens. I turned on "debug snmp packet", without any output...
05-23-2013 07:43 AM
Team:
I could make the router send a SYSLOG message notifying the timeout condition, but only ONCE. ¿ Is is normal behaviour?
¿ shouldn´t the router send a notification every time the IP SLA object times out with the ICMP target?
Any hints will be greatly appreciated.
Rogelio
03-26-2014 07:16 AM
Hi Rogelio, Do you find a way to make it work?
I'm experiencing the same issue.
Regards
Oscar
03-28-2014 04:06 PM
Hi Oscar:
I am sorry. I gave up on this without any solution to the issue.
regards, Rogelio
03-31-2014 10:33 PM
SNMP traps for IP SLAs are handled through the system logging (syslog) process. This means that system logging messages for IP SLAs violations are generated when the specified conditions are met, then sent as SNMP traps using the CISCO-SYSLOG-MIB. The ip sla monitor logging traps command is used to enable the generation of these IP SLAs specific traps. The generation of IP SLAs specific logging messages is dependant on the configuration of the standard set of logging commands (for example, logging on). IP SLAs logging messages are generated at the "informational" system logging severity level.
The command ip sla monitor logging traps is sometime hidden and may not show with ?, so just copy and paste in global config mode and have logging on and check if any traps are generated.
-Thanks
Vinod
**Encourage Contributors. RATE them**
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