Ad Widget

Collapse

Discovery item debug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcraponi
    Junior Member
    • Oct 2012
    • 15

    #1

    Discovery item debug

    Hi,

    I've created a Discovery item in a Template to collect some items using SNMPv2 on Zabbix 2.0.3

    But this Discovery item are getting just one item. If I did a snmpwalk on CLI, I get more than 1 (16 to be exact). So, I need know why Zabbix get the wrong data. How I can debug this?

    If I use DebugLevel=4, I got so many results that not help me.

    Have some way to receive the Zabbix SNMP result to understand what's going on?

    If the discovery works as a "loop" why it is returning only 1 result of index?


    Regards,
    Paulo Raponi
  • Speedfight
    Member
    • May 2007
    • 67

    #2
    for example:

    if the oid=
    .1.3.6.1.2.1.43.11.1.1.9.1.1
    .1.3.6.1.2.1.43.11.1.1.9.1.2
    .1.3.6.1.2.1.43.11.1.1.9.1.3
    .1.3.6.1.2.1.43.11.1.1.9.1.4
    .1.3.6.1.2.1.43.11.1.1.9.1.5


    you only use: .1.3.6.1.2.1.43.11.1.1.9.1 (note that 1 number is missing, this is correct!)

    zabbix walks the rest of the numbers and puts them in {#SNMPINDEX}
    you can use this for the items

    your item OID is then:

    key: snmp.[{SNMPINDEX}]

    SNMP oid: .1.3.6.1.2.1.43.11.1.1.9.1.{#SNMPINDEX}

    Comment

    • pcraponi
      Junior Member
      • Oct 2012
      • 15

      #3
      Thanks Speedfight

      I was using SNMPVALUE instead SNMPINDEX.

      Works fine now...


      regards,
      Paulo Raponi

      Comment

      Working...