I am running Zabbix 2.4.7 and trying to set up emails for triggers. I set up my media type with the email server information. I also set up my user with a email address. My problem is with the action. I've looked on the zabbix site but mine looks different for some reason. Idk how to add a trigger email action.
Ad Widget
Collapse
Email in Zabbix
Collapse
X
-
-
-
Well, did you read Zabbix documentation?
Configure Email media type and when it's done select it in action on "Operations" tab
Comment
-
Hey All,
I'm having some troubles too. I finally got emails to send using the following help online...
How to set up a Zabbix server to send mail reports to a Gmail address by using the SSMTP, without the need to install any MTA daemon, such as Postfix, Exim, etc
Might help some others.
My trouble is I'm now receiving emails, but the variables aren't coming through. Here's what I get
================================================== =======
Trigger: SERVERNAME is unavailable by ICMP Trigger status: OK Trigger severity: Average Trigger URL:
Item values:
1. ICMP ping (SERVERNAME:icmpping): Up (1) 2. *UNKNOWN* (*UNKNOWN*:*UNKNOWN*): *UNKNOWN* 3. *UNKNOWN* (*UNKNOWN*:*UNKNOWN*): *UNKNOWN*
Original event ID: 22168
================================================== =======
I'm using the default Report Problems to Administrators Actions which had these variables configured.
================================================== ======
Trigger: {TRIGGER.NAME}
Trigger status: {TRIGGER.STATUS}
Trigger severity: {TRIGGER.SEVERITY}
Trigger URL: {TRIGGER.URL}
Item values:
1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}
2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}
3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}
Original event ID: {EVENT.ID}
================================================== ======
Thanks in advance.Comment
-
Yeah lets try this another way i'll post some pictures of what I have done...
Also along with these pictures I setup a ip with the ping template on it so when I take that email down I will get a trigger and should get a email but i'm doing something wrong. Also I already made my user with the email address attached to it.
Thanks for helpingComment
-
jstlouis
thanks you fixed my problem idk why all the other guides skipped this important information
How to set up a Zabbix server to send mail reports to a Gmail address by using the SSMTP, without the need to install any MTA daemon, such as Postfix, Exim, etc
Mine is working with the the variables tho 2 and 3 show as unknown but I think it's just cus there's only one the variable I guess.Comment
-
You right. These variables are for complex triggers where you calculate value using multiple items.Comment
Comment