FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
303 views 2 comments
by anonymous

Would it be possible to publish this information for each RUTX switch port trough SNMP?

~# swconfig dev switch0 port 2 show
Port 2:
        mib: Port 2 MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 0
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 0
Rx128Byte   : 0
Rx256Byte   : 0
Rx512Byte   : 0
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 0
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 0
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        pvid: 1
        link: port:2 link:down

...as a workaround we publish this for enabled ports with snmp exec statements (this aint very efficient),

~# grep switch-port /etc/snmp/snmpd.conf
exec  switch-port-CPU /sbin/swconfig dev switch0 port 0 show
exec  switch-port-LAN1 /sbin/swconfig dev switch0 port 2 show

1 Answer

0 votes
by anonymous
Hello,

Unfortunately, you cannot retrieve this detailed information using SNMP. Follow this link to learn all possible strings on what you can retrieve/monitor: https://wiki.teltonika-networks.com/view/RUTX09_SNMP#SNMP_variables_list

Also, if you find anything valuable in provided variables, follow this link to learn how to set up SNMP: https://wiki.teltonika-networks.com/view/RUTX09_SNMP#SNMP_variables_list

Regards.
by anonymous
Would it be possible to add this info in future releases?
by anonymous
I could pass this to our RnD team as a suggestion. If they will find it useful, it will be added at some point.

Best regards.