Build 10
This commit is contained in:
@@ -95,11 +95,9 @@ class MonitoringServer extends IPSModule {
|
|||||||
public function Write2Influx($value, $ssl, $host, $port, $db, $system, $category, $valuename)
|
public function Write2Influx($value, $ssl, $host, $port, $db, $system, $category, $valuename)
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->clearNames();
|
|
||||||
|
|
||||||
$out = $ssl.$host.':'.$port.'/write?db='.$db.'';
|
$out = $ssl.$host.':'.$port.'/write?db='.$db.'';
|
||||||
|
|
||||||
IPS_LogMessage ("Write 2 Influx", "Output: ".$out);
|
//IPS_LogMessage ("Write 2 Influx", "Output: ".$out);
|
||||||
|
|
||||||
|
|
||||||
$ch = curl_init($out);
|
$ch = curl_init($out);
|
||||||
@@ -133,7 +131,7 @@ class MonitoringServer extends IPSModule {
|
|||||||
|
|
||||||
public function checkAlarms() {
|
public function checkAlarms() {
|
||||||
|
|
||||||
$this->clearNames();
|
|
||||||
|
|
||||||
$catAlarmId = $this->ReadPropertyInteger("ParseAlarmCategoryID");
|
$catAlarmId = $this->ReadPropertyInteger("ParseAlarmCategoryID");
|
||||||
$visuId = $this->ReadPropertyInteger("VisuId");
|
$visuId = $this->ReadPropertyInteger("VisuId");
|
||||||
|
|||||||
+1
-1
@@ -8,6 +8,6 @@
|
|||||||
"date": 1491343200
|
"date": 1491343200
|
||||||
},
|
},
|
||||||
"version": "2.0",
|
"version": "2.0",
|
||||||
"build": 9,
|
"build": 10,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user