Using multiple templates
There are two monitored hosts now. They both have some services monitored and linked to the same template. Suddenly, the situation changes: one of the hosts gets a new function and the email server is removed. Our options from the Zabbix viewpoint include simply disabling email-related items for that host, or creating a separate template for it and removing email-server-related entities from the main template, instead leaving them on the other server. There's a better approach, though: splitting email-server-related entities into a separate template.
Navigate to Configuration
| Templates
, then click on the Create template
button. Enter C_Template_Email
in the Template name
field, select Custom templates
in the Groups
box if it's not already selected, then click on Add
:

Now, let's populate this template:
- Select
Custom templates
in theGroup
drop-down and click onItems
next toC_Template_Linux
- Mark the checkboxes next to
SMTP server status
andTestfile
in theName
column...