Community discussions

MikroTik App
 
dmyers6978
just joined
Topic Author
Posts: 4
Joined: Fri Jan 26, 2018 4:15 pm

Charting bandwidth

Wed Apr 04, 2018 4:19 pm

We are looking to create a chart of the bandwidth of an airfiber. We have written the code as follows.
rate(oid("1.3.6.1.4.1.41112.1.3.3.1.6.1"))
With this code, we are consistently getting the same value, almost as if it is relaying back the counter value instead of the rate of the counter. The value it is returning appears to be the maximum possible value because it grows to a certain point then stops changing. Is there a better way to write this code so that it gives us the mbps?
 
maxsaf
Frequent Visitor
Frequent Visitor
Posts: 71
Joined: Tue Mar 06, 2018 8:47 pm

Re: Charting bandwidth  [SOLVED]

Thu Apr 12, 2018 4:21 am

Try this
round(rate(diff32(oid("1.3.6.1.4.1.41112.1.3.3.1.6.1"))*8))
 
dmyers6978
just joined
Topic Author
Posts: 4
Joined: Fri Jan 26, 2018 4:15 pm

Re: Charting bandwidth

Mon Apr 30, 2018 4:25 pm

Thanks. That works great.

Who is online

Users browsing this forum: No registered users and 17 guests