5.4 2023-08-16T20:38:38Z MailGraph WEBHOOK baseURL https://myzabbix.com/zabbix/ duration {EVENT.DURATION} eventId {EVENT.ID} graphHeight 120 graphWidth 300 HTTPProxy infoTest Test periods 10m,4h,1d,7d periods_headers Last 10 minutes,Last 4 hours,Last day,Last 7 days recipient {ALERT.SENDTO} showLegend 0 subject {{ HOST_NAME|raw }}: ({{ EVENT_SEVERITY }}) {{ EVENT_NAME|raw }} URL https://myzabbix.com/mailGraph.php YES The "URL" must point to the location of the processing script. If a proxy is required, define "HTTPProxy" for the proxy address. Customization: - "graphWidth" and "graphWidth" can be defined for the image size - "showLegend" can be defined to show or hide the legend of the graph - "subject" can be defined for a customized subject for the mail message - "periods" and "periods_headers" can be defined for displaying multiple periods of the same graph, or - "period" and "period_header" can be defined to display a single graph The html.template and plain.template files can be adjusted (TWIG format). More details are available at https://github.com/moudsen/mailGraph TRIGGERS PROBLEM Problem: {EVENT.NAME} Problem started at {EVENT.TIME} on {EVENT.DATE} Problem name: {EVENT.NAME} Host: {HOST.NAME} Severity: {EVENT.SEVERITY} Operational data: {EVENT.OPDATA} Original problem ID: {EVENT.ID} Trigger ID (/url): {TRIGGER.ID} {TRIGGER.URL} TRIGGERS RECOVERY Resolved in {EVENT.DURATION}: {EVENT.RECOVERY.NAME} Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE} Problem name: {EVENT.RECOVERY.NAME} Problem duration: {EVENT.DURATION} Host: {HOST.NAME} Severity: {EVENT.SEVERITY} Original problem ID: {EVENT.ID} Trigger ID: {TRIGGER.ID} {TRIGGER.URL} TRIGGERS UPDATE Updated problem in {EVENT.AGE}: {EVENT.NAME} {USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}. {EVENT.UPDATE.MESSAGE} Current problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}. Event ID: {EVENT.ID} Trigger ID: {TRIGGER.ID}