version 1.6.10

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-01-15 15:18:25 +01:00
parent 63935c745f
commit 6e98a20281
2 changed files with 5 additions and 1 deletions
+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"){