-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.0.23
-
Linux n.a.
Steps to reproduce:
In the following Trigger URL to "Latest data" the macro {HOSTGROUP.ID} is not resolved:
{$ZABBIX_URL}/zabbix.php?action=latest.view&name=deadlock%20detection&show_tags=3&hostids%5B%5D={HOST.ID}&groupids%5B%5D={HOSTGROUP.ID}
This id OK according to the documentation:
But the following Trigger URL will show an empty result:
{$ZABBIX_URL}/zabbix.php?action=latest.view&name=open&show_tags=3&hostids%5B%5D={HOST.ID}
Because the hostgroup is preset by a previous lookup and not erased in this case. So the host with the wrong hostgroup is search which leads to no result.
Expected:
- Either resolve hostgroup.id Macro in trigger URL or
- do not inherit hostgroup from previous lookup in Latest Data view. (if hostgroup is not set in url then set hostgroup to NULL)