version 1.6.7
This commit is contained in:
@@ -79,7 +79,7 @@ class MonitoringServer extends IPSModule {
|
||||
$status = floor($status);
|
||||
}
|
||||
if ($status > -1){
|
||||
print_r("Everything fine :)");
|
||||
// print_r("Everything fine :)");
|
||||
}
|
||||
return $status;
|
||||
}
|
||||
@@ -216,9 +216,11 @@ class MonitoringServer extends IPSModule {
|
||||
$system = "P".$projectnumber."ISP".$ispnumber;
|
||||
$category = "Analog";
|
||||
$valuename = $parname."".$varname;
|
||||
// if($this->state["status"] == "pass"){ }
|
||||
IPS_LogMessage ("Analog Var-Logger", "Ready: ".$system."/".$category."/".$valuename." with Value: ".$payload);
|
||||
|
||||
if($this->checkInfluxState() > -1){
|
||||
$this->Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename);
|
||||
IPS_LogMessage ("Analog Var-Logger", "LOGGED: ".$system."/".$category."/".$valuename." with Value: ".$payload);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -8,6 +8,6 @@
|
||||
"date": 1491343200
|
||||
},
|
||||
"version": "1.6",
|
||||
"build": 6,
|
||||
"build": 7,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user