zabbix 添加私有 OID 顯示 No instance

1 問題來源this

使用 zabbix 監控交換機(H3C) 的 CPU 使用率。出現 No Such Instance currently exists at this OID 的問題get

    snmpget -v2c -cpublic 10.63.144.1 enterprises.25506.8.35.18.1.3
    SNMPv2-SMI::enterprises.25506.8.35.18.1.3 = No Such Instance currently exists at this OIDio

 

2 設備信息模板

    CentOS release 6.3 (Final)監控

 

    zabbix  3.2.4file

    net-snmp-config -version    5.5 cpu

 

3 排查過程(不懂,慢慢猜的,maybe wrong)co

   3.1 使用 snmpget 命令發現 No Such Instance 問題config

   3.2 snmp 沒有加載解析 mibps

 

4 處理

   4.1  cp /etc/cups/snmp.conf /etc/snmp

   4.2  cat  /etc/cups/snmp.conf

          mibfile /usr/share/snmp/mibs/SNMPv2-SMI.txt

   4.3  ls /usr/share/snmp/mibs

          ***...   SNMPv2-SMI.txt   ...***

   4.4 重啓zabbix(可能不須要,後來刪除主機後生效,見4.5)

   4.5 模板中修改 oid未生效,刪除並重建主機後 OK

相關文章
相關標籤/搜索