SNMP interface rate

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

SNMP interface rate

Post by eltrasimaco »

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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP interface rate

Post by scottwilkerson »

eltrasimaco wrote:Any better way to accomplish this?
Yes. Use the Network Switch/Router Wizard. This calculated the average rate in 5 minute increments automatically as well as creating graphs and reports.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked