I use zabbix 2.4 and Template Linux OS. How to configure different values of for the same trigger on different hosts. When I click on the name of a trigger and edit it, the value is being changed on all hosts connected to that template?
Asked
Active
Viewed 1.2k times
2 Answers
8
The usual approach in this case is to use user macros. Instead of hardcoding "30" in the trigger expression, we instead replace it with a user macro:
{Template OS Linux:system.cpu.util[,iowait].avg(10m)} > {$MAX_IOWAIT}
We then define {$MAX_IOWAIT} to be "30" on Template OS Linux and then we can override the value of that macro on each host.
asaveljevs
- 281
2
You may clone existing trigger as new and edit it on host-basis. Otherwise all hosts in the template will be affected.
Vladimir
- 81
