Ad Widget

Collapse

SNMP : value #2 has unknow type [n]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • onslo
    Junior Member
    • Sep 2005
    • 21

    #1

    SNMP : value #2 has unknow type [n]

    I am seeing this error in my zabbix server log which appears to be preventing the discovery action from being triggered. The hosts are being discovered, but nothing is happening with the configured action.

    Code:
    OID [.1.3.6.1.4.1.15248.1.4.0] value #2 has unknow type [80]
    or

    Code:
    OID [.1.3.6.1.4.1.15248.1.4.0] value #2 has unknow type [6]
    The respective snmpwalk/get commands results in :

    Code:
    debianZabbix:/# snmpget -v2c -c public 10.165.10.60 .1.3.6.1.4.1.15248.1.4.0
    SNMPv2-SMI::enterprises.15248.1.4.0 = No Such Object available on this agent at this OID
    and

    Code:
    debianZabbix:/# snmpget -v2c -c public 10.165.40.13 .1.3.6.1.4.1.15248.1.4.0
    SNMPv2-SMI::enterprises.15248.1.4.0 = OID: SNMPv2-SMI::enterprises.15248.2.1
    So, I understand why the first one shows the error, due to no object at the requested OID, but why the second one ?
  • r3dn3ck
    Member
    • Jul 2008
    • 43

    #2
    looks to me like the 2nd one isn't failing. It's giving you the answer to your question which is what is the value of "SNMPv2-SMI::enterprises.15248.1.4.0", the answer being the text string: "OID: SNMPv2-SMI::enterprises.15248.2.1" and separated by =. Looks like a weird attempt at a forwarding address.

    I would probably update your item to look at .1.3.6.1.4.1.15248.1.2.1 for the answer to its question and see if it is reporting the actual value you want. Just a shot in the dark.

    Comment

    • onslo
      Junior Member
      • Sep 2005
      • 21

      #3
      Thanks for the post, unfortunately it didn;t help much. There is no object reported at the OID when i try as you suggest.

      I'm still not clear on what zabbix is reporting, from the syntax "unknown type [n]", what does N actually mean ?

      There must be a mapping between these type codes and a human readable error description ?

      Comment

      • r3dn3ck
        Member
        • Jul 2008
        • 43

        #4
        Originally posted by onslo
        Thanks for the post, unfortunately it didn;t help much. There is no object reported at the OID when i try as you suggest.

        I'm still not clear on what zabbix is reporting, from the syntax "unknown type [n]", what does N actually mean ?

        There must be a mapping between these type codes and a human readable error description ?
        EDIT... just re-read your post... NM

        Unknown type is suggestive of data returned that doesn't meet the expected content type (integer, string, bool, etc..). I've never seen a value mapping. Have you checked the manual for that?
        Last edited by r3dn3ck; 24-07-2008, 16:31.

        Comment

        • onslo
          Junior Member
          • Sep 2005
          • 21

          #5
          I did have a look through the 1.4 manual and can't find anything obvious that suggests a mapping.

          The manual can be a bit sparse on information at times :\

          Comment

          Working...