Ad Widget

Collapse

SNMP Porblem (MIB Issue?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aaron
    Junior Member
    • May 2006
    • 16

    #1

    SNMP Porblem (MIB Issue?)

    I am trying to poll a fiber switch for performance data. I can snmpwalk or snmpget whatever I need, but I cannot get zabbix to do the same. I have tried many combinations of things but I get nothing. I think the problem may be MIB related. I have the MIB installed and working as far as net-snmp is concerned, but zabbix doesn't seem to use the same configs.

    zabbix@SERVER:/home/zabbix> snmpget -c STRING -v 1 SWITCH mib-2.75.1.4.3.1.1.1.1
    FIBRE-CHANNEL-FE-MIB::fcFxPortC3InFrames.1.1 = Counter32: 1717921691
    zabbix@SERVER:/home/zabbix>

    This is from the zabbix log:

    001946:20060707:120001 SNMP [STRING@SWITCH:161:0]
    001946:20060707:120001 OID [mib-2.75.1.4.3.1.1.1.1]
    001946:20060707:120001 In get_value_SNMP() 0.2
    001946:20060707:120001 In get_value_SNMP() 0.3
    001946:20060707:120001 Status send [0]
    001946:20060707:120001 In get_value_SNMP() 0.4
    001946:20060707:120001 In get_value_SNMP() 1
    001946:20060707:120001 SNMP error in packet. Reason: (noSuchName) There is no such variable name in this MIB.
    001946:20060707:120001 SNMP error [(noSuchName) There is no such variable name in this MIB.]
    001946:20060707:120001 Parameter [mib-2.75.1.4.3.1.1.1.1] is not supported by agent on host [SWITCH] Old status [0]

    I have tried about a dozen different configuration variations. It seems like it is communicating, but may be requesting the wrong MIB or something. I have tried different MIBs and I have used the OID number and name. Nothing seems to work.
  • DenisBY
    Member
    • Jul 2006
    • 44

    #2
    I have same problem.

    Comment

    • raminix
      Member
      • Jun 2006
      • 37

      #3
      Originally posted by Aaron
      I am trying to poll a fiber switch for performance data. I can snmpwalk or snmpget whatever I need, but I cannot get zabbix to do the same. I have tried many combinations of things but I get nothing. I think the problem may be MIB related. I have the MIB installed and working as far as net-snmp is concerned, but zabbix doesn't seem to use the same configs.

      zabbix@SERVER:/home/zabbix> snmpget -c STRING -v 1 SWITCH mib-2.75.1.4.3.1.1.1.1
      FIBRE-CHANNEL-FE-MIB::fcFxPortC3InFrames.1.1 = Counter32: 1717921691
      zabbix@SERVER:/home/zabbix>

      This is from the zabbix log:

      001946:20060707:120001 SNMP [STRING@SWITCH:161:0]
      001946:20060707:120001 OID [mib-2.75.1.4.3.1.1.1.1]
      001946:20060707:120001 In get_value_SNMP() 0.2
      001946:20060707:120001 In get_value_SNMP() 0.3
      001946:20060707:120001 Status send [0]
      001946:20060707:120001 In get_value_SNMP() 0.4
      001946:20060707:120001 In get_value_SNMP() 1
      001946:20060707:120001 SNMP error in packet. Reason: (noSuchName) There is no such variable name in this MIB.
      001946:20060707:120001 SNMP error [(noSuchName) There is no such variable name in this MIB.]
      001946:20060707:120001 Parameter [mib-2.75.1.4.3.1.1.1.1] is not supported by agent on host [SWITCH] Old status [0]

      I have tried about a dozen different configuration variations. It seems like it is communicating, but may be requesting the wrong MIB or something. I have tried different MIBs and I have used the OID number and name. Nothing seems to work.
      When you use the numeric OID, do you preface it with mib-2 or use the strictly numeric OID? I ran into this as well on some hardware, and had to get the full numeric one by using snmpget -c <community> -v<ver> -O fn <host> <OID>. Of course you want to leave the leading dot off of the returned full numeric OID, but that works like a charm for me.

      Comment

      Working...