Ad Widget

Collapse

snmpwalk/get works, but getting "cannot parse OID" for added MIBs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dconley
    Junior Member
    • Aug 2015
    • 1

    #1

    snmpwalk/get works, but getting "cannot parse OID" for added MIBs

    I've recently inherited a 2.4 Zabbix cluster (~15 boxes, proxies and collector, etc).
    I'm really impressed with its capabilities, but have hit my first head scratcher while trying to add new MIBs to the environment.
    I have added my F5-BIGIP-*.txt to my collector and proxies, and confirmed that the MIBs are recognized by snmpwalk, snmpget, and snmptranslate.
    eg (with sensitive info removed)
    # snmpwalk -v3 -l authPriv -u XXX -a SHA -A XXX -x DES -X XXX 10.128.4.5:161 F5-BIGIP-SYSTEM-MIB::sysStatClientBytesIn.0
    F5-BIGIP-SYSTEM-MIB::sysStatClientBytesIn.0 = Counter64: 97816762894703
    #
    However, when adding an item to use one of these MIBs, I get the following error:
    snmp_parse_oid(): cannot parse OID "F5-BIGIP-SYSTEM-MIB::sysStatClientBytesIn.0".
    I've tried adding the MIBs to the box running zabbix_server and the one running zabbix_proxy that is the selected proxy for this test. I've restarted the zabbix services on both boxes, and confirmed they are both able to snmpwalk/get this MIB. I have modified the /etc/snmp/snmp.conf file to ensure these mibs are included, but still getting the same cannot parse OID after everything I've tried.

    What am I missing? Please help

    Thank you!
  • Karl_MCS
    Junior Member
    • Dec 2015
    • 8

    #2
    Did you ever get this figured out? I'm having a similar issue with this:

    IF-MIB::ifInOctets["index","IF-MIB::ifDescr","Adaptive Security Appliance 'Outside' interface"]
    I get snmp_parse_oid(): cannot parse OID "IF-MIB::ifDescr". If I replace "IF-MIB::ifDescr" with the numerical OID, or with just "ifDescr" then I get snmp_parse_oid(): cannot parse OID "IF-MIB::ifInOctets.2".

    Based on the examples in the documentation this should be correct.

    If I run:
    snmptranslate -m ALL .1.3.6.1.2.1.2.2.1.2
    It returns:
    IF-MIB::ifDescr

    So I'm not sure what the problem is.

    Comment

    Working...