From 1c211b62cafdaef118c506376353026d0aac573b Mon Sep 17 00:00:00 2001 From: cboyer Date: Sat, 8 Dec 2018 19:35:08 -0500 Subject: [PATCH] Missing details in message: not implemented key/metric --- Mirth/Mirthix_channel.xml | 16 ++++++++-------- src/destination_transformer.js | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Mirth/Mirthix_channel.xml b/Mirth/Mirthix_channel.xml index 00c1623..b696d6c 100644 --- a/Mirth/Mirthix_channel.xml +++ b/Mirth/Mirthix_channel.xml @@ -6,10 +6,10 @@ https://github.com/cboyer/mirth-zabbix true - + America/Toronto - 520 + 521 0 sourceConnector @@ -222,7 +222,7 @@ return Packages.org.apache.commons.codec.binary.Base64.encodeBase64String(zabbix * Released under the GNU General Public License v3 (GPLv3) */ -var agent_version = '1.0.1'; +var agent_version = '1.1.1'; var item_requested = msg.toString(); //logger.info("Zabbix requested: " + item_requested); //Debug @@ -319,7 +319,7 @@ switch (item_requested) { //logger.info("Filtered: " + channel_id + " " + connector_id + " : " + msg); //Debug break; default: - msg = "ZBX_NOTSUPPORTED\x00Metric not implemented in Mirthix: " + msg; + msg = "ZBX_NOTSUPPORTED\x00Metric not implemented in Mirthix: " + metric; } if (msg == null) @@ -440,7 +440,7 @@ switch (item_requested) { break; default: - msg = "ZBX_NOTSUPPORTED\x00Key not implemented in Mirthix: " + msg; + msg = "ZBX_NOTSUPPORTED\x00Key not implemented in Mirthix: " + item_requested; } JavaScript @@ -457,7 +457,7 @@ switch (item_requested) { * Released under the GNU General Public License v3 (GPLv3) */ -var agent_version = '1.0.1'; +var agent_version = '1.1.1'; var item_requested = msg.toString(); //logger.info("Zabbix requested: " + item_requested); //Debug @@ -554,7 +554,7 @@ switch (item_requested) { //logger.info("Filtered: " + channel_id + " " + connector_id + " : " + msg); //Debug break; default: - msg = "ZBX_NOTSUPPORTED\x00Metric not implemented in Mirthix: " + msg; + msg = "ZBX_NOTSUPPORTED\x00Metric not implemented in Mirthix: " + metric; } if (msg == null) @@ -675,7 +675,7 @@ switch (item_requested) { break; default: - msg = "ZBX_NOTSUPPORTED\x00Key not implemented in Mirthix: " + msg; + msg = "ZBX_NOTSUPPORTED\x00Key not implemented in Mirthix: " + item_requested; } diff --git a/src/destination_transformer.js b/src/destination_transformer.js index 5500462..ba143b0 100644 --- a/src/destination_transformer.js +++ b/src/destination_transformer.js @@ -9,7 +9,7 @@ * Released under the GNU General Public License v3 (GPLv3) */ -var agent_version = '1.1.0'; +var agent_version = '1.1.1'; var item_requested = msg.toString(); //logger.info("Zabbix requested: " + item_requested); //Debug @@ -106,7 +106,7 @@ switch (item_requested) { //logger.info("Filtered: " + channel_id + " " + connector_id + " : " + msg); //Debug break; default: - msg = "ZBX_NOTSUPPORTED\x00Metric not implemented in Mirthix: " + msg; + msg = "ZBX_NOTSUPPORTED\x00Metric not implemented in Mirthix: " + metric; } if (msg == null) @@ -227,5 +227,5 @@ switch (item_requested) { break; default: - msg = "ZBX_NOTSUPPORTED\x00Key not implemented in Mirthix: " + msg; + msg = "ZBX_NOTSUPPORTED\x00Key not implemented in Mirthix: " + item_requested; }