From 6e98a2028111b1bc5b6ab77485ae24986fe108f9 Mon Sep 17 00:00:00 2001 From: Johannes Holzwarth | SE-Inno GmbH Date: Mon, 15 Jan 2024 15:18:25 +0100 Subject: [PATCH] version 1.6.10 --- Monitoring Server Influx V1/module.php | 4 ++++ library.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index e503c15..ceba891 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -88,12 +88,16 @@ class MonitoringServer extends IPSModule { { $out = $ssl.$host.':'.$port.'/write?db='.$db.''; + IPS_LogMessage ("Write 2 Influx", "Output: ".$out); + $ch = curl_init($out); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 ); curl_setopt($ch, CURLOPT_POST, 1 ); + IPS_LogMessage ("Write 2 Influx", "Posted Fields: ".$system.','.$category.'='.$valuename.' value='); + IPS_LogMessage ("Write 2 Influx", "Value: ".$value); if ($value == "true"){ diff --git a/library.json b/library.json index 7a297cc..6b2da06 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.6", - "build": 9, + "build": 10, "date": 0 } \ No newline at end of file