Community discussions

 
User avatar
mves
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Tue Jan 11, 2011 8:15 pm
Location: Serbia

rx/tx function help

Sat Feb 15, 2014 6:27 pm

Hi

Is there any way to achieve to show ([Interface.InBitRate]-[Interface.OutBitRate]) on link or to make function to achieve this?
I can't find needed oids on snmpwalk to do it that way.

Thanks
 
User avatar
shahbazian
Trainer
Trainer
Posts: 166
Joined: Fri Sep 09, 2011 6:22 pm
Location: Iran
Contact:

Re: rx/tx function help

Sat Feb 15, 2014 8:46 pm

Hi mves,
You can use config your link like this picture:
dude-link-config.jpg
You do not have the required permissions to view the files attached to this post.
Learn MikroTik to improve your network.
( MTCNA, MTCRE, MTCWE, MTCTCE, MTCUME, MTCIPv6E, MTCINE )
MikroTik Certified Trainer & Consultant
RIPE NCC Trainer
 
User avatar
mves
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Tue Jan 11, 2011 8:15 pm
Location: Serbia

Re: rx/tx function help

Mon Feb 17, 2014 2:24 pm

No, you misunderstood me. I already have that. Problem is that on the other side is Cisco router. [Interface.InBitRate] and [Interface.OutBitRate] showing values but I need their difference. Let's say in is 300 mbps and out is 250 mbps and I need to show their difference of 50 mbps. And I can't find corresponding oid for that.
 
User avatar
mves
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Tue Jan 11, 2011 8:15 pm
Location: Serbia

Re: rx/tx function help

Mon Feb 17, 2014 5:57 pm

Managed to solve a problem but the needed values are not shown in graphic. It's showing tx/rx of interface even if that values are removed from appearance and replaced by this ones. Any way to enforce graphic display of these values in link view?
In: [round(rate(diff32(oid("1.3.6.1.2.1.2.2.1.16.37")/(125000))))] Mbps
Out: [round(rate(diff32(oid("1.3.6.1.2.1.2.2.1.10.37")/(125000))))] Mbps
Diff: [round(rate(diff32(oid("1.3.6.1.2.1.2.2.1.10.37")/(125000))))-round(rate(diff32(oid("1.3.6.1.2.1.2.2.1.16.37")/(125000))))] Mbps
Image

Who is online

Users browsing this forum: No registered users and 6 guests