SNMP interface rate
Posted: Sat Sep 23, 2017 7:38 am
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?
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?