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