version 1.6.10

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH committed 2024-01-15 15:18:25 +01:00
1 parent 63935c745f
commit 6e98a20281
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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"){