[c-nsp] Monitor bandwidth utilization threshold on interface

Colin McNamara Colin at 2cups.com
Sun Mar 30 16:47:22 EDT 2008


You might want to try Embedded Event Manager (EEM). An example similar 
to what you are trying to to do is available here - 
http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6555/ps6815/config_guide_eem_configuration_for_cisco_integrated_services_router_platforms.html

EEM forums and sample code is available here -
http://forums.cisco.com/eforum/servlet/EEM?page=main

I hope you find it useful,

-- 
Colin McNamara
(858)208-8105
CCIE #18233,RHCE,GCIH 
http://www.colinmcnamara.com
http://www.linkedin.com/in/colinmcnamara

"The difficult we do immediately, the impossible just takes a little longer"



Jorge Evangelista wrote:
> Hi list,
>
> Is there some way that I can configure my router to sent alerts to syslog
> server or send alerts to a email when bandwitdh utilization is more
> 80% percent in WAN. Currently, I am trying to configure RMON with examples
> Cisco IOS Cookbook, I have configured a cisco 871 to sent alerts to syslog
> server, however it does not work. How can I configure to get correct value
> or is there other way, maybe with IP SLA.
> Any help is appreciated, thanks in advance.
>
>
>
>
>
>
> I have configured in this way:
>
> rmon event 1 log trap PCMTRAP description "Bandwidth utilization has
> exceeded threshold on Router interface FastEthernet4" owner monitor
> rmon event 2 log trap PCMTRAP description "Bandwidth utilization has
> normalized on Router interface FastEthernet4" owner monitor
> rmon alarm 1 ifInOctets.5 300 absolute rising-threshold 3072000 1
> falling-threshold 2457600 2 owner monitor
> rmon alarm 2 ifOutOctets.5 300 absolute rising-threshold 3072000 1
> falling-threshold 2457600 2 owner monitor
>
>
> pcm01#sh rmon alarms
> Alarm 1 is active, owned by monitor
>  Monitors ifInOctets.5 every 300 second(s)
>  Taking absolute samples, last value was 2024088898
>  Rising threshold is 3072000, assigned to event 1
>  Falling threshold is 2457600, assigned to event 2
>  On startup enable rising or falling alarm
> Alarm 2 is active, owned by monitor
>  Monitors ifOutOctets.5 every 300 second(s)
>  Taking absolute samples, last value was -1387701729
>  Rising threshold is 3072000, assigned to event 1
>  Falling threshold is 2457600, assigned to event 2
>  On startup enable rising or falling alarm
>
>
>
>
>
>
>
>
>
>
>
>   



More information about the cisco-nsp mailing list