Page 1 of 1

rx/tx function help

Posted: Sat Feb 15, 2014 6:27 pm
by mves
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

Re: rx/tx function help

Posted: Sat Feb 15, 2014 8:46 pm
by shahbazian
Hi mves,
You can use config your link like this picture:
dude-link-config.jpg

Re: rx/tx function help

Posted: Mon Feb 17, 2014 2:24 pm
by mves
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.

Re: rx/tx function help

Posted: Mon Feb 17, 2014 5:57 pm
by mves
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