Creating template triggers
Now, creating templated triggers works in about the same way as creating templated items or normal triggers. Let's go over the process, to see how we do it and how to keep it structured.
Getting ready
We will need the Zabbix server and the host from the previous recipe for this recipe.
How to do it…
We only have one item on our template yet, so let's trigger on this item:
- Navigate to Configuration | Templates in our Zabbix frontend and select our Template OS Linux by SNMPvX template.
- Now, click Triggers and then Create Trigger in the top-right corner. This will take us to the next page, where we will enter the following information:
- Last, but not least, let's edit the hostname on our host to see if the trigger is working correctly. Change the hostname entry by executing the following command on the Linux host CLI:
hostnamectl set-hostname lar-book...