OID 中的尾随数字和点未在 MIB 中定义

Trailing numbers and dots in an OID not defined in a MIB

我正在尝试更深入地了解 SNMP 以便正确使用它的功能。我的任务是监控无线接入点 (WAP) 状态。 AP 由知道 AP 状态的控制器控制,这是我使用 SNMP 提取信息的地方。如果 AP 断开连接,我发现此 OID 显示“0”

# snmpget -v2c -c xxx 1.2.3.4 SNMPv2-SMI::enterprises.25053.1.2.2.1.1.2.1.1.3.6.240.62.144.17.39.0
SNMPv2-SMI::enterprises.25053.1.2.2.1.1.2.1.1.3.6.240.62.144.17.39.0 = INTEGER: 0

我使用net-snmp。我为此产品安装了所有 MIB。然而,当我执行 snmptranslate 时,它​​只解释了 OID

中的某个点
# snmptranslate -m ALL -Td SNMPv2-SMI::enterprises.25053.1.2.2.1.1.2.1.1.3.6.240.62.144.17.39.0
RUCKUS-ZD-WLAN-MIB::ruckusZDWLANAPStatus.'..>..''.0
ruckusZDWLANAPStatus OBJECT-TYPE
  -- FROM       RUCKUS-ZD-WLAN-MIB
  SYNTAX        INTEGER {disconnected(0), connected(1), approvalPending(2), upgradingFirmware(3), provisioning(4)}
  MAX-ACCESS    read-only
  STATUS        current
  DESCRIPTION   "The connection status with ZD."
::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) ruckusRootMIB(25053) ruckusObjects(1) ruckusZD(2) ruckusZDWLANModule(2) ruckusZDWLANMIB(1) ruckusZDWLANObjects(1) ruckusZDWLANAPInfo(2) ruckusZDWLANAPTable(1) ruckusZDWLANAPEntry(1) ruckusZDWLANAPStatus(3) 6 240 62 144 17 39 0 }

未解释尾随的 6.240.62.144.17.39.0。我还发现这个尾部部分用于其他 OID 以获取有关 AP 的其他信息,例如名称、IP 地址、序列号等

所以我的问题是,我在哪里可以找到这个尾随字符串中每个数字的含义?它在 MIB 中定义了吗?与SNMP"Table"有关吗?谢谢!

http://www.circitor.fr/Mibs/Mib/R/RUCKUS-ZD-WLAN-MIB.mib

ruckusZDWLANAPTable OBJECT-TYPE
    SYNTAX  SEQUENCE OF RuckusZDWLANAPEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "ZD WLAN AP table."
    ::= { ruckusZDWLANAPInfo 1 }

ruckusZDWLANAPEntry OBJECT-TYPE
    SYNTAX  RuckusZDWLANAPEntry
    MAX-ACCESS not-accessible
    STATUS current
    DESCRIPTION
        "Specifies each ZD WLAN AP entry."
    INDEX {
        ruckusZDWLANAPMacAddr }
    ::= { ruckusZDWLANAPTable 1 }

RuckusZDWLANAPEntry ::= SEQUENCE {
  ruckusZDWLANAPMacAddr                 MacAddress,
  ruckusZDWLANAPDescription             DisplayString,
  ruckusZDWLANAPStatus                  INTEGER,
  ruckusZDWLANAPModel                   DisplayString,
  ruckusZDWLANAPSerialNumber            DisplayString,
  ruckusZDWLANAPUptime                  TimeTicks,
  ruckusZDWLANAPSWversion               DisplayString,
  ruckusZDWLANAPHWversion               DisplayString,
  ruckusZDWLANAPIPAddr                  IpAddress,
  ruckusZDWLANAPNumRadios               Unsigned32,
  ruckusZDWLANAPNumVAP                  Unsigned32,
  ruckusZDWLANAPNumSta                  Unsigned32,
  ruckusZDWLANAPNumRogues               Unsigned32,
  ruckusZDWLANAPConnectionMode          INTEGER,
  ruckusZDWLANAPMeshEnable              TruthValue,
  ruckusZDWLANAPMeshHops                Unsigned32,
  ruckusZDWLANAPMeshType                INTEGER,
  ruckusZDWLANAPLANStatsRXByte          Counter32,
  ruckusZDWLANAPLANStatsRXPkt           Counter32,
  ruckusZDWLANAPLANStatsRXPktErr        Counter32,
  ruckusZDWLANAPLANStatsRXPKTSucc       Counter32,
  ruckusZDWLANAPLANStatsTXByte          Counter32,
  ruckusZDWLANAPLANStatsTXPkt           Counter32,
  ruckusZDWLANAPMemUtil                 INTEGER,
  ruckusZDWLANAPMemTotal                Unsigned32,
  ruckusZDWLANAPCPUUtil                 INTEGER,
  ruckusZDWLANAPFWSize                  Unsigned32,
  ruckusZDWLANAPFWAvail                 Unsigned32,
  ruckusZDWLANAPMultipleVlanCapability  TruthValue,
  ruckusZDWLANAP11bCapable              TruthValue,
  ruckusZDWLANAP11gCapable              TruthValue,
  ruckusZDWLANAPMultiModeAccessStatus   TruthValue,
  ruckusZDWLANAPEthStateChange          Counter32,
  ruckusZDWLANAPSyncConf                TruthValue,
  ruckusZDWLANAPUpgrade                 TruthValue,
  ruckusZDWLANAPFirstJoinTime           DisplayString,
  ruckusZDWLANAPLastBootTime            DisplayString,
  ruckusZDWLANAPLastUpgradeTime         DisplayString,
  ruckusZDWLANAPLastConfSyncTime        DisplayString,
  ruckusZDWLANAPLANStatsRXPKTBcast      Counter32,
  ruckusZDWLANAPLANStatsRXPKTMcast      Counter32,
  ruckusZDWLANAPLANStatsRXPKTUcast      Counter32,
  ruckusZDWLANAPLANStatsTXPKTBcast      Counter32,
  ruckusZDWLANAPLANStatsTXPKTMcast      Counter32,
  ruckusZDWLANAPLANStatsTXPKTUcast      Counter32,
  ruckusZDWLANAPLANStatsDropped         Counter32,
  ruckusZDWLANAPMeshUpPortCntUpdown     Counter32,
  ruckusZDWLANAPMeshDownPortCntUpdown   Counter32,
  ruckusZDWLANAPTxFrameDropped          Counter32,
  ruckusZDWLANAPTxFrameError            Counter32,
  ruckusZDWLANAPCoverageTech            INTEGER,
  ruckusZDWLANAPStaTxBytes              Counter32,
  ruckusZDWLANAPStaRxBytes              Counter32,
  ruckusZDWLANAPNetmask                 IpAddress,
  ruckusZDWLANAPGateway                 IpAddress,
  ruckusZDWLANAPDNS1                    IpAddress,
  ruckusZDWLANAPDNS2                    IpAddress,
  ruckusZDWLANAPTotalUser               Unsigned32,
  ruckusZDWLANAPLANStatsRXByteRate      Counter32,
  ruckusZDWLANAPLANStatsTXByteRate      Counter32
}

由于 table 使用 MacAddress 作为索引,OID 看起来就是这样。