Ad Widget

Collapse

SNMP MIB trouble

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vlassic
    Junior Member
    • Jun 2013
    • 1

    #1

    SNMP MIB trouble

    Hi all,

    I'm moving from Cacti to Zabbix and I really like Zabbix so far.

    I'm having a minor issue with SNMP. I have an HP switch that I'm trying to pull the serial number off of. I'm running Zabbix 1.8.13 on FreeBSD 9.1 amd64. I have the HP MIBs loaded in /usr/local/share/snmp/mibs/. In Zabbix, if I use the numerical OID it pulls just fine. If I use the HP OID it fails. I can use both with no problems using snmpget from a console on the Zabbix Server. Is there something special I need to do to get Zabbix to include all MIB files? Not a huge deal since I can just use snmptranslate to get the numerical OID for anything I want, Its just bothering me.

    Thanks.

    Code:
     
    $ snmpget -v2c -c <truncated> sw-core ENTITY-MIB::entPhysicalSerialNum.1
    ENTITY-MIB::entPhysicalSerialNum.1 = STRING: CN246XI06G
    
    $ snmptranslate -On ENTITY-MIB::entPhysicalSerialNum.1
    .1.3.6.1.2.1.47.1.1.1.1.11.1
    
    $ snmpget -v2c -c <truncated> sw-core .1.3.6.1.2.1.47.1.1.1.1.11.1
    SNMPv2-SMI::mib-2.47.1.1.1.1.11.1 = STRING: "CN246XI06G "
Working...