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