-
Incident report
-
Resolution: Cannot Reproduce
-
Trivial
-
None
-
None
-
None
-
None
I have 2 groups of zabbixproxies: (1) "traditional" proxies (not grouped) and (2) Proxy Group.
When I moved some hosts from (1) to (2) proxies, some of items stopped collecting.
I've checked it and I see errors in zabbix_agent.log looking like this:
active check "file.stat[\{$SYSLOG_FILE},14]" is not supported: Special characters "\, ', ", `, *, ?, [, ], {, }, ~, $, !, &, ;, (, ), <, >, |, #, @, 0x0a" are not allowed in the parameters.
It looks like zabbix_agent is getting "raw" configuration from proxies in proxygroup without any macros substituted.
After changing the proxy to generic, zabbix_agent receives values translated to strings like /var/log/syslog in the item parameters and everything goes back to normal.
After returning to the proxygroup, the agent starts executing items with unresolved macros like {$SYSLOG_FILE} again.
All (proxies, server, agents) are 7.0.3 version.
Steps to reproduce:
- create item with {$MACRO} in arguments, define macro in templates (with inheritance)
- connect host via Proxy - everything is collecting
- move host to Proxy Group - items with macros in parameters are marked with red [i] sign.
Expected:
Macros should always be substituted.