-
Problem report
-
Resolution: Won't fix
-
Minor
-
None
-
7.4.0rc1
On the Discovery rules list page, the following error is displayed:
Cannot create host "test {#NAME}": name contains invalid character '{'.
However, this error is misleading for the following reasons:
- The Host name field is correctly set to test {#NAME}{}, which is valid and expected to include an LLD macro;
- On the Host prototypes tab of the LLD rule, no such error is shown - the configuration is accepted without any issues;
- If the {{{}} character is removed from the host name in the host prototype form, a proper validation error appears stating that an LLD macro is required - which is the expected behaviour.
Steps to reproduce:
- Go to the Data Collection -> Hosts -> Zabbix Server ->LLD rule list,
- Create new host prototype under inherited LLD rule,
- Start Zabbix Server and Agent to collect some data or execute LLD rule,
- Observe LLD rule list page.
Expected:
No error should be shown on the LLD rule list page if the host prototype is correctly configured and uses valid LLD macros.