Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-27132

SNMPv2 discovery check timeout with specific OID

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      Steps to reproduce:

      I have the Discovery rule of SNMPv2 with 2 checks:

      SNMPv2 agent "1.3.6.1.2.1.1.5.0"

      SNMPv2 agent "1.3.6.1.4.1.2636.3.1.2.0"

       

       

      Result:


      Only the OID 1.3.6.1.2.1.1.5.0 returns value with the check, even though both return value with snmpget when I try from the proxy server itself

       

      corl-prod-zabbix02:~/zabbix$ snmpget -v2c -c SENSORED 10.1.245.55 1.3.6.1.2.1.1.5.0
      iso.3.6.1.2.1.1.5.0 = STRING: "HOSTNAME"
      
      corl-prod-zabbix02:~/zabbix$ snmpget -v2c -c SENSORED 10.1.245.55 1.3.6.1.4.1.2636.3.1.2.0
      iso.3.6.1.4.1.2636.3.1.2.0 = STRING: "Juniper EX3400-48P Switch"

       

      Here is the relevant timeout log

       

          35:20251022:122023.845 In process_rule() rule:'Gar mgmnt Network' range:'10.1.245.55'
          35:20251022:122023.845 process_rule() range:'10.1.245.55'
          35:20251022:122023.847 In zbx_async_check_snmp() itemid:0 key:'1.3.6.1.2.1.1.5.0' host:'' addr:'10.1.245.55' timeout:3 retries:0 max_repetitions:0
          35:20251022:122023.847 In zbx_is_ip4() ip:'10.1.245.55'
          35:20251022:122023.847 resolved address '10.1.245.55'
          35:20251022:122023.847 In zbx_is_ip4() ip:'10.1.245.55'
          35:20251022:122023.848 itemid:0 SNMP [[email protected]:161]
          35:20251022:122023.848 [2] discovery_snmp() ip:10.1.245.55 port:161, key:1.3.6.1.2.1.1.5.0 ret:0
          35:20251022:122023.848 In zbx_async_check_snmp() itemid:0 key:'1.3.6.1.4.1.2636.3.1.2.0' host:'' addr:'10.1.245.55' timeout:0 retries:0 max_repetitions:0
          35:20251022:122023.848 In zbx_is_ip4() ip:'10.1.245.55'
          35:20251022:122023.848 resolved address '10.1.245.55'
          35:20251022:122023.849 In zbx_is_ip4() ip:'10.1.245.55'
          35:20251022:122023.849 itemid:0 SNMP [[email protected]:161]
          35:20251022:122023.849 [2] discovery_snmp() ip:10.1.245.55 port:161, key:1.3.6.1.4.1.2636.3.1.2.0 ret:0
          35:20251022:122023.852 End of async_task_process_task_snmp_cb():TIMEOUT_ERROR itemid:0 timeout event:1 fd:-1 size:0 error:cannot retrieve OID: '.1.3.6.1.4.1.2636.3.1.2.0' from [[10.1.245.55]:161]: timed out
          35:20251022:122023.852 [2] In process_snmp_result() key:'1.3.6.1.4.1.2636.3.1.2.0' host:'' addr:'10.1.245.55' ret:TIMEOUT_ERROR 

       

      If I add the host manually with SNMPv2, OID 1.3.6.1.4.1.2636.3.1.2.0 returns value just fine. This only happens with the Discovery check

       

        1. image-2025-10-22-11-47-01-933.png
          image-2025-10-22-11-47-01-933.png
          207 kB
        2. image-2025-10-22-11-47-41-641.png
          image-2025-10-22-11-47-41-641.png
          176 kB
        3. zbx_proxy.log
          2 kB
        4. zbx_tcpdump
          1 kB

            zabbix.support Zabbix Support Team
            long.tran Long Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: