Hi, i'm trying to get average rates from in-out ports in cisco devices. They give a counter (total number of bytes in/out); to get the average rate, read in_port, sleep 10 seconds, read it again, substract both numbers, divide by 10 giving rate.
The scripts I have seen in nagios exchange (couple of check_iptraffic), sleep 10 seconds, getting the exec agent stuck.
Any better way to accomplish this?
SNMP interface rate
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: SNMP interface rate
Yes. Use the Network Switch/Router Wizard. This calculated the average rate in 5 minute increments automatically as well as creating graphs and reports.eltrasimaco wrote:Any better way to accomplish this?