unioslo / zabbix-cli

Command-line interface for Zabbix
https://unioslo.github.io/zabbix-cli/
GNU General Public License v3.0
208 stars 104 forks source link

Fix usermacro host filter #231

Closed pederhan closed 3 weeks ago

pederhan commented 3 weeks ago

When searching for a macro, we added host IDs under the search.hostids parameter instead of the hostids parameter. This lead to returning a macro from the first host with the given macro name instead of limiting the search to only the given host.