-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.4.10, 6.4.11
-
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:
- Create a discovery rule with snmp agent, using walk[OID]
- 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