SNMP 查找正确的 OID 以从 FA-EXT-MIB 获取特定端口数据
SNMP Find correct OID to get specific port data from FA-EXT-MIB
我想从 FA-EXT-MIB::swSfpTxPower 获取数据。
有什么方法可以为特定端口 snmpwalk 这个 OID (1.3.6.1.4.1.1588.2.1.1.1.28.1.1.5)?
查看输出(在下面添加)我不明白此输出的“'....q......'.1”部分。
是否可以使用它来引用单个端口?
这个 OID 给我:
FA-EXT-MIB::swSfpTxPower.'....q.......'.1 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.2 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.3 = STRING: "-2.8" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.4 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.5 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.6 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.7 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.8 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.9 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.10 = STRING: "-2.8" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.11 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.12 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.13 = STRING: "-2.8" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.14 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.15 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.16 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.17 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.18 = STRING: "-2.5" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.19 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.20 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.21 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.22 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.23 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.24 = STRING: "-3.0" dBm
谢谢!
找到正确 OID 的最简单方法就是使用标志 -On 以数字方式显示整个 OID。
端口 0(1) 是:
.1.3.6.1.4.1.1588.2.1.1.1.28.1.1.4.16.0.136.148.113.149.167.221.0.0.0.0.0.0.0.0.1
端口 1(2) 是:
.1.3.6.1.4.1.1588.2.1.1.1.28.1.1.4.16.0.136.148.113.149.167.221.0.0.0.0.0.0.0.0.2
等等
我想从 FA-EXT-MIB::swSfpTxPower 获取数据。
有什么方法可以为特定端口 snmpwalk 这个 OID (1.3.6.1.4.1.1588.2.1.1.1.28.1.1.5)?
查看输出(在下面添加)我不明白此输出的“'....q......'.1”部分。
是否可以使用它来引用单个端口?
这个 OID 给我:
FA-EXT-MIB::swSfpTxPower.'....q.......'.1 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.2 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.3 = STRING: "-2.8" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.4 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.5 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.6 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.7 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.8 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.9 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.10 = STRING: "-2.8" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.11 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.12 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.13 = STRING: "-2.8" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.14 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.15 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.16 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.17 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.18 = STRING: "-2.5" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.19 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.20 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.21 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.22 = STRING: "-2.6" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.23 = STRING: "-2.7" dBm
FA-EXT-MIB::swSfpTxPower.'....q.......'.24 = STRING: "-3.0" dBm
谢谢!
找到正确 OID 的最简单方法就是使用标志 -On 以数字方式显示整个 OID。
端口 0(1) 是:
.1.3.6.1.4.1.1588.2.1.1.1.28.1.1.4.16.0.136.148.113.149.167.221.0.0.0.0.0.0.0.0.1
端口 1(2) 是:
.1.3.6.1.4.1.1588.2.1.1.1.28.1.1.4.16.0.136.148.113.149.167.221.0.0.0.0.0.0.0.0.2
等等