Ad Widget

Collapse

Zabbix not pulling Data from SNMP OID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markosa
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Aug 2022
    • 104

    #16
    Are you using with snmpget, this: 1.3.6.1.2.1.10.94.1.1.5.1.2.550 or this: .1.3.6.1.2.1.10.94.1.1.5.1.2.550 ? You see small difference there? You are using form of later one with walk...

    Comment

    • LukeAB93UK
      Member
      Zabbix Certified Specialist
      • Jun 2023
      • 72

      #17
      Originally posted by markosa
      Are you using with snmpget, this: 1.3.6.1.2.1.10.94.1.1.5.1.2.550 or this: .1.3.6.1.2.1.10.94.1.1.5.1.2.550 ? You see small difference there? You are using form of later one with walk...
      Hello,

      [@zabbixproxy02 ~]$ snmpwalk -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2
      SNMPv2-SMI::transmission.94.1.1.5.1.2.550 = Gauge32: 8544000
      [@zabbixproxy02 ~]$ snmpwalk -v2c -c <Community> <IP> 1.3.6.1.2.1.10.94.1.1.5.1.2
      SNMPv2-SMI::transmission.94.1.1.5.1.2.550 = Gauge32: 8544000

      Both of them work.

      However if i append either with .550 I get SNMPv2-SMI::transmission.94.1.1.5.1.2.550 = No Such Instance currently exists at this OID

      If I then try to SNMP get with either string and both with and without .550 on the end all I get back is this

      [@rts-th-zabbixproxy02 ~]$ snmpget -v2c -c <Community> <IP> 1.3.6.1.2.1.10.94.1.1.5.1.2
      SNMPv2-SMI::transmission.94.1.1.5.1.2 = No Such Instance currently exists at this OID
      [@rts-th-zabbixproxy02 ~]$ snmpget -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2
      SNMPv2-SMI::transmission.94.1.1.5.1.2 = No Such Instance currently exists at this OID
      [@rts-th-zabbixproxy02 ~]$ snmpget -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2.550
      SNMPv2-SMI::transmission.94.1.1.5.1.2.550 = No Such Instance currently exists at this OID
      [@rts-th-zabbixproxy02 ~]$ snmpget -v2c -c <Community> <IP> 1.3.6.1.2.1.10.94.1.1.5.1.2.550
      SNMPv2-SMI::transmission.94.1.1.5.1.2.550 = No Such Instance currently exists at this OID

      Comment

      • markosa
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Aug 2022
        • 104

        #18
        And you tried also : snmpget -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2.550.0 ? snmpwalk and snmpget work bit differently, there's also snmpgetnext which works like snmpwalk but with exact OID.

        Comment

        • LukeAB93UK
          Member
          Zabbix Certified Specialist
          • Jun 2023
          • 72

          #19
          Originally posted by markosa
          And you tried also : snmpget -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2.550.0 ? snmpwalk and snmpget work bit differently, there's also snmpgetnext which works like snmpwalk but with exact OID.
          Hey There,

          So I ran that exact string and I also run snmpgetnext

          [@rts-th-zabbixproxy02 ~]$ snmpgetnext -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2.550
          SNMPv2-SMI::transmission.94.1.1.6.1.1.550 = Counter32: 0
          [@rts-th-zabbixproxy02 ~]$ snmpgetnext -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2
          SNMPv2-SMI::transmission.94.1.1.5.1.2.550 = Gauge32: 22191000
          [@rts-th-zabbixproxy02 ~]$ snmpgetnext -v2c -c <Community> <IP> .1.3.6.1.2.1.10.94.1.1.5.1.2.550.0
          SNMPv2-SMI::transmission.94.1.1.6.1.1.550 = Counter32: 0

          Comment

          • rickypr
            Junior Member
            • Oct 2024
            • 1

            #20
            Hi,

            I ended up here after googling for this problem. I had the same problem with an OID that has an IP address in it. After struggling wiith this for a while I figured out that snmpget did not send the request, tcpdump showed that clearly. I then edited /etc/snmp/snmp.conf and removed loading all mibs. After doing that snmpget sent the request and retrieved the OID successfully. I still have to figure out why loading, in my case the Juniper MIB, prevents it to retrieve that OID. After I stopped loading all MIBs snmpget retrieved the value fine and after restarting zabbix-server, it started retrieving those values correclty.

            I just wanted to share this information, if I figure out what happens with the MIB I will share it here.

            Comment

            Working...