From 7ee5324aeb618b271dec27510193a90362e57815 Mon Sep 17 00:00:00 2001 From: moudsen Date: Tue, 9 Mar 2021 10:19:03 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e433a67..e979f91 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# mailGraph (v1.20) +# mailGraph (v1.21) Zabbix Media module and scripts for sending e-mail alerts with graphs. [![](images/Example-mail-message.png?raw=true)](images/Example-mail-message.png) @@ -94,6 +94,11 @@ Each Trigger can have it's own specific settings which can configured through Ta **"mailGraph.graphWidth"** to set a specific graph width for this particular Trigger. +# Updating to a newer version of MailGraph +If a new version comes around: +- Always copy the 'mailGraph.php' code (overwrite the existing version) +- Look for changes in the .xml file (especially if the Javascript code has changed) + # What if there is no graph added to the e-mail? There is no immediate relationship between a trigger and a graph. This is why the script uses the following technique to find graphs to are associated to the trigger: 1. The trigger API call returns a list of "functions". Each functions holds an "item id".