Hi,
I am pretty new to Zabbix, but I know about the importance to use templates.
Using 5.2.4, I have created a template for doing checks on a DB2 database.
My problem now: I have multiple servers/hosts with different databases. In the template I have created macros for {$DBNAME}, {$DBLOCATION}, {$DBUSER} and so on.
So in reality I would like to link the template multiple times to a host using different values for the macros. This obviously - at least currently - does not work.
In another attempt I looked at the user macros with context, but I don't think that can solve my issue - at least I have no idea, how.
I did not find in the documentation any hint, how I can solve such a use case, other than cloning the template (which is no real solution, just a bad workaround as after each change I would need to clone again and relink to the hosts).
Is there a feature or solution that I have missed?
I am pretty new to Zabbix, but I know about the importance to use templates.
Using 5.2.4, I have created a template for doing checks on a DB2 database.
My problem now: I have multiple servers/hosts with different databases. In the template I have created macros for {$DBNAME}, {$DBLOCATION}, {$DBUSER} and so on.
So in reality I would like to link the template multiple times to a host using different values for the macros. This obviously - at least currently - does not work.
In another attempt I looked at the user macros with context, but I don't think that can solve my issue - at least I have no idea, how.
I did not find in the documentation any hint, how I can solve such a use case, other than cloning the template (which is no real solution, just a bad workaround as after each change I would need to clone again and relink to the hosts).
Is there a feature or solution that I have missed?

Comment