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

Discovery rule with walk[] fails when run on proxies

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.10, 6.4.11
    • Proxy (P)
    • None
    • Debian GNU/Linux 11, Linux 5.10.0-21-amd64
      Tested with Zabbix Server and proxy on 6.4.10 and 6.4.11

      Steps to reproduce:

      1. Create a discovery rule with snmp agent, using walk[OID]
      2. Set the host to be monitored by Proxy

      Result:
      When running (or even testing) the Discovery Rule, if I run on zabbix server it process it right, but if I run the same rule on a proxy it returns "macro is invalid".

      I have an item with walk that runs perfectly on both server and proxy, only the discovery rule that gives this error. On proxy's log by default it returns no errors, tried to increase loglevel but got many debug info, nothing really useful.

      On the same item, I don't even run the pre-processing step, it fails right on the "get value".

      Literally only changed the "Proxy" option from "(no proxy)" to "zabbix02", which is my proxy

      Expected:
      Since the rule works fine on the server, when I set the host to be monitored by proxy it should also run normally.

      Extra info:

      I've checked with snmpwalk from CLI and both servers can reach the information normally.

      I've tried to create the discovery rule in two ways:

      1 - SNMP Agent with snmp oid = walk[1.3.6.1.2.1.2.2,1.3.6.1.2.1.31.1.1.1]

      result: on the discovery list I get "not supported" with warning: Invalid SNMP OID: macro "1.3.6.1.2.1.2.2" is invalid

      2 - Create a SNMP Walk item and point the discovery rule as it's dependent

      result: Status "not supported" and warning "Preprocessing failed for: 1. Failed: no data was found"

      ps: SNMP walk items are collected and populated correctly on latest data

       

        1. chrome_jLdXihgPZL.png
          chrome_jLdXihgPZL.png
          43 kB
        2. MobaXterm_0KcabJOYWi.png
          MobaXterm_0KcabJOYWi.png
          87 kB
        3. MobaXterm_JqSgGA8S0Y.png
          MobaXterm_JqSgGA8S0Y.png
          87 kB
        4. photo_2024-01-30_16-47-28.jpg
          photo_2024-01-30_16-47-28.jpg
          42 kB
        5. photo_2024-01-30_16-47-29.jpg
          photo_2024-01-30_16-47-29.jpg
          46 kB
        6. photo_2024-01-30_18-06-54.jpg
          photo_2024-01-30_18-06-54.jpg
          22 kB
        7. photo_2024-01-30_18-06-55.jpg
          photo_2024-01-30_18-06-55.jpg
          56 kB
        8. zbx_export_templates.yaml
          64 kB

            agavrilovs Aleksandrs Petrovs-Gavrilovs
            wilson.ritt Wilson Ritt Iglesias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: