Community discussions

MikroTik App
 
ctech4285
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sat Aug 15, 2009 8:49 pm

snmp service bandwith monitoring on ether1

Thu Sep 09, 2010 1:42 am

i am new too this. but is there an easy way to find out what service does what?

specifically i need to monitor tx/rx bandwidth on ether1 on an rb433. i found an example on how to do it on a wlan interface, but not on a ether interface...

kind regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: snmp service bandwith monitoring on ether1

Thu Sep 09, 2010 1:50 am

I don't understand the question. Monitoring packet counters on an ethernet interface is exactly the same as monitoring packet counters on a wireless radio interface.
 
ctech4285
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sat Aug 15, 2009 8:49 pm

Re: snmp service bandwith monitoring on ether1

Thu Sep 09, 2010 6:01 am

ok i figured out how to do package count on an ethernet interface. how to i convert that to b/s-1 units?

i am looking for some general advice, god i mean google is not very helpful if you have no clue what your doing...
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: snmp service bandwith monitoring on ether1

Thu Sep 09, 2010 6:10 am

You can't convert it because you cannot possibly know how large each packet was. If you want bps values that's just a different SNMP OID to query. It's still the same regardless of interface type, tho.
 
ctech4285
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sat Aug 15, 2009 8:49 pm

Re: snmp service bandwith monitoring on ether1

Thu Sep 09, 2010 6:39 am

hmm...
i found something thats a little closer, but nothing that looks like bps

iflnoctets
1.3.6.1.2.1.2.2.1.10.1

"The total number of octets received on the interface,
including framing characters.

Discontinuities in the value of this counter can occur at
re-initialization of the management system, and at other
times as indicated by the value of
ifCounterDiscontinuityTime."
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: snmp service bandwith monitoring on ether1

Thu Sep 09, 2010 6:52 am

I misspoke before. There is no such thing as a bps value to retrieve. The monitoring software retrieves the number of bytes at time x, and again at time y. It then calculates the bps rate based on the delta between the values.