mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Influx update
This commit is contained in:
@@ -34,6 +34,7 @@ function influxdb_connect() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo 'InfluxDB support enabled but no valid transport details provided';
|
echo 'InfluxDB support enabled but no valid transport details provided';
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$db = \InfluxDB\Client::fromDSN($influxdb_conn.'://'.$influxdb_url);
|
$db = \InfluxDB\Client::fromDSN($influxdb_conn.'://'.$influxdb_url);
|
||||||
|
|||||||
Reference in New Issue
Block a user