Skip to content

Releases: moudsen/mailGraph

v2.22 - Fixed #60 incorrect JSON request while reading latest problems

19 Mar 10:11

Choose a tag to compare

Release notes

  • Fixed #60 incorrect JSON request while reading latest problems
  • Fixed and merged output masking function (did not mask actual username/password for Zabbix in recursive array)

Installation notes

  • This release contains updates to
    • mailGraph.php

v2.21 - Bugfix (template wrong variable) and enhancement (truncate_line)

07 Mar 15:57

Choose a tag to compare

Release notes

  • Fixed #56 Variable name typo for EVENT_OPDATA
  • Added #57 Truncate for long names (configurable globally and per trigger through a macro)

Installation notes

  • This release contains updates to
    • mailGraph.php
    • templates/html.template

"v2.20 - Modified and tested for Zabbix 7.0 (LTS) and Zabbix 7.2

26 Jan 22:16

Choose a tag to compare

Release notes

  • Fixed #53 Adding 'zabbix_api_token'
  • Fixed #52 Bug on determination of array size, check if 'curl' module is loaded
  • Fixed #49 Support for API bearer token, fix for 'auth' error (set 'zabbix_api_token', overrides username/password if defined)
  • Fixed #48 Testing mailGraph on Zabbix 7.0 LTS, Zabbix 7.2 (in progress)

Installation notes

  • This release contains updates to
    • mailGraph.php
    • mailGraph.xml (cosmetic only to reflect correct mailGraph version)

** Known issues **

  • 'zabbix_user' and 'zabbix_password' still required (v3.01 will recognize that these values are no longer mandatory)

In config.json a new parameter 'zabbix_api_token' has been introduced which must be used in Zabbix 7.2 and higher as username/password login is no longer supported as per this Zabbix version.
Note that this does not apply to the 'zabbix_api_user' and 'zabbix_api_password' as Zabbix char2.php and other routines do not support API bearer token login (yet?).

v2.18 - Fixed #51 SMTPS (implicit) or STARTTLS (explicit)

14 Jan 11:03

Choose a tag to compare

Release notes

  • Fixed #51 PHPMailer not configured for STARTTLS or SMTPS
  • SCREEN tags now only allowed when using Zabbix 5.4 (legacy compatibility mode, even though Zabbix 5 is no longer officially supported by mailGraph)

Release 3 (preparations)

  • Testing #48 v2.18 on Zabbix 7.0 LTS (in progress), Zabbix 7.2 (in progress)

Installation notes

  • This release contains updates to
    • mailGraph.php
    • config.json.template
    • config.json.template.multigraph

In config.json a new parameter 'smtp_security' has been introduced (decided not to re-use smtp_transport as this may conflict with users still on SwiftMailer).

v2.17 - Several bugfixes - PHP8 confirmed testing/production - Preparations for release 3 (Zabbix 7)

30 Dec 10:37

Choose a tag to compare

Release notes

  • Fixed #47 mailData initialization (wrong location) - BernardLinz
  • Fixed #46 invalid GraphId on trigger tag (forced graph data inclusion) - BernardLinz
  • Fixed #44 config.json.template - wrong var name - WMP
  • Fixed #45 handling of international characters in PHPMailer initialization - Dima-online
  • Tested/confirmed (production) with Zabbix 5.4, 6.0 LTS, 6.4 and PHPMailer (6.9.3), TWIG (3.11.3), PHP 7.4
  • Tested/confirmed (production) with Zabbix 6.0 LTS, 6.4 with TWIG (3.18.0), PHP 8.3
  • Added "Notes" section

Release 3 (preparations)

  • Testing #48 v2.17 on Zabbix 7.0 LTS (in progress), Zabbix 7.2 (in progress)

Installation notes

  • This release contains updates to
    • mailGraph.php
    • config.json.template
    • config.json.template.multigraph

v2.16 - Adding the ability to include acknowledge/event transition messages in the mail message

21 Aug 10:04
2045601

Choose a tag to compare

Release notes

  • Adding the ability to include acknowledge/event transition information and messages in the mail message. Example output is attached on the main page of mailGraph in Github and available under the "images" directory in Github.
  • Adding auto-creation of "images" directory if not present.

Installation notes

  • This release contains updates to
    • mailGraph.php
    • mailGraph.xml (it is possible to only replace the javascript and leave the mailGraph media type in place)
    • templates/html.template (please refer to the wiki for detailed field information newly available in TWIG)

v2.15 - Fixed parameters processing change first found in Zabbix 5.4.12 - Optimized Javascript error handling

16 Aug 20:35

Choose a tag to compare

Release notes

  • Fixed issue with Zabbix 5.4.12 where parameters that are blank or zero did no longer get passed to the Javascript hence causing basic checks to fail. Javascript and parameter checks in mailGraph.php have been adjusted and optimized.
  • Refactored the Javascript error handling to get rid of the "Invalid JSON offset" message and to deal with individual error conditions while presenting a better error message on the root cause of the concerning issue.

Installation notes

  • This release contains updates to
    • mailGraph.php
    • mailGraph.xml (it is possible to only replace the javascript and leave the mailGraph media type in place)

v2.14 - New functions and bug fixes

15 Jul 11:26

Choose a tag to compare

Release notes

  • Adding the ability to define FROM details for the emails generated by mailGraph
    • smtp_from_address to set the from mail address (if not set uses mailing system default). Note: obsolete mail_from but retained for backwards compatibility.
    • smtp_from_name to set the name that goes with the mail address (if not set uses "mailGraph").
  • Adding the ability to define REPLY_TO details for the emails generated by mailGraph
    • smtp_reply_address to set the reply-to mail address (if not set, no reply-to will be added to the message).
    • smtp_reply_name to set the reply-to name of the mailbox (if not set defaults to "mailGraph feedback").
  • Adding a new URL for use in the template:
    • ACK_URL points to the function in Zabbix for editing and submitting an Acknowledge statement.
  • Fixed bug while reading an item that is web url monitoring related.

Installation notes

  • This release contains updates to
    • config.json (relates to removal of itemId while adding and normalizing SMTP variables)
    • mailGraph.php
    • mailGraph.xml (it is possible to only replace the javascript and leave the mailGraph media type in place; remove {ITEM.ID} from the media type as this is no longer used in the logic anymore due to changes from Zabbix 5.4 onwards)
    • html.template (relates to new ACK_URL field)

v2.13 - Bugfixes speciifally on links into Zabbix (missing context or info)

03 Jul 19:55

Choose a tag to compare

Release notes

  • Fixed references into Zabbix
    • Trigger was missing "context" parameter
    • Item was missing "context" parameter
    • Problems reference to this host was not generated at all

v2.12 - Replaced SwiftMailer with PHPMailer (based on AutoTLS)

03 Jul 05:58
a04050c

Choose a tag to compare

Release notes

  • Replaced Swiftmailer with PHPMailer
  • Configuration option "smtp_transport" removed (using PHPMailer AutoTLS)
  • Code cleanup (markup and obsolete related parts)
  • Addressed any PHP message (deprecation or error) - mailGraph debug output is now "clean" in PHP 7.4.x and PHP 8.2.x
  • Increased maximum number of graphs from 4 to 8