Ad Widget

Collapse

Why my snmp items cannot get any value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bab
    Senior Member
    • Aug 2020
    • 176

    #1

    Why my snmp items cannot get any value

    When I am running snmpwalk snmpwalk -v 2c -c SNMP IP 1.3.6.1.4.1.9.9.117.1.2.1.1.8
    It is showing follow output :

    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.22 = Gauge32: 126997199
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.23 = Gauge32: 126997199
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.24 = Gauge32: 126997374
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.25 = Gauge32: 126997168
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.26 = Gauge32: 126997197
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.28 = Gauge32: 126997345
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.29 = Gauge32: 126997338
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.30 = Gauge32: 126997342
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.31 = Gauge32: 126997335
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.32 = Gauge32: 126997331
    SNMPv2-SMI::enterprises.9.9.117.1.2.1.1.8.33 = Gauge32: 126997331

    Now I have created a discovery such as pic1.jpg

    Click image for larger version

Name:	pic1.jpg
Views:	151
Size:	62.3 KB
ID:	466450

    and it contains an itemprototype

    Click image for larger version

Name:	pic2.jpg
Views:	134
Size:	68.3 KB
ID:	466451

    Now it can detect and create new items such as follow pic but as you can see it cannot return value . What is the issue ?

    Click image for larger version

Name:	pic3.jpg
Views:	125
Size:	117.2 KB
ID:	466452
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1782

    #2
    The issue is that in the item prototype your SNMP OID is invalid.

    Try: 1.3.6.1.4.1.9.9.117.1.2.1.1.8.{#SNMPINDEX}

    Markku

    Comment

    Working...