Hey folks,
We're working to custom tag our hosts in Zabbix. It's necessary because the hosts aren't always named in a manner that makes them easily identifiable. Ideally, any time a problem is encountered (and it generates an email to us), I'd like the custom tag to be injected into the email. What I've done is:

In the above case at problem generation for a downed SSH daemon, I should get an email with the subject: "Problem: [Trigger] [SSH] [Daemon Check] SSH Dead on Major Div - Min Div". I'm currently getting: "Problem: [Trigger] [SSH] [Daemon Check] SSH Dead on {HOST.CLIENT}"
Is what I'm trying to do supported? If so, what am I doing wrong here?
Cheers,
Mike
We're working to custom tag our hosts in Zabbix. It's necessary because the hosts aren't always named in a manner that makes them easily identifiable. Ideally, any time a problem is encountered (and it generates an email to us), I'd like the custom tag to be injected into the email. What I've done is:
- Gone to Monitoring -> Hosts -> Config -> Tags and defined a keypair of: CLIENT:<VALUE>
- Gone to Administration -> Media Types -> Message Templates and modified the following types:
- Problem
- Problem Recovery
- Problem Update
- I've set each subject to "<TYPE>: {EVENT.NAME} on {HOST.CLIENT}"
In the above case at problem generation for a downed SSH daemon, I should get an email with the subject: "Problem: [Trigger] [SSH] [Daemon Check] SSH Dead on Major Div - Min Div". I'm currently getting: "Problem: [Trigger] [SSH] [Daemon Check] SSH Dead on {HOST.CLIENT}"
Is what I'm trying to do supported? If so, what am I doing wrong here?
Cheers,
Mike
Use existing ones, {EVENT.TAGS.<tag name>} should be the one you look for.
Comment