cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1612
Views
0
Helpful
1
Replies

EEM Script to Monitor Interface Utilization and send SNMP Trap

marjulia
Level 1
Level 1

Hey All -

 

I am writing an EEM Script in order to monitor interface utilization and then sending an SNMP trap once utilization is over 50%. Just wanted to see if you all think this would work. If I gather the output from: sho interfaces $iface | i output rate and sho interfaces $iface | i input rate every minute or so and just added them together, is that an accurate way to measure the interface utilization? And then set up an SNMP trap if it exceeds 50% of the bandwidth for that interface?

 

 

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Juts use the load factors.  When you consider a full duplex interface, you have to take the greater of the two values.  So, take each of rxload and txload and do the math (i.e., device by 255).  Take the greater of those two numbers, and you have the load impact on the interface for the given load interval.

Review Cisco Networking for a $25 gift card