Creating template triggers
Creating templated triggers works in roughly 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 have configured one item on our template so far, so let’s create a trigger for this item:
- Navigate to Data collection | Templates in our Zabbix frontend and select our Custom Linux by SNMP 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:
Figure 5.15 – Create trigger window for the SNMP template
- As discussed in the previous chapter, for triggers there’s also the
scope
tag that we need to add:
Figure 5.16 – Create trigger...