mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit e5dad7a64e.
This commit is contained in:
@@ -37,4 +37,14 @@ if (isset($options['g'])) {
|
||||
$groups = [];
|
||||
}
|
||||
|
||||
if (Config::get('base_url') !== true && \LibreNMS\Config::get('influxdb.enable') === true) {
|
||||
$influxdb = influxdb_connect();
|
||||
} else {
|
||||
$influxdb = false;
|
||||
}
|
||||
|
||||
rrdtool_initialize();
|
||||
|
||||
PingCheck::dispatch($groups);
|
||||
|
||||
rrdtool_close();
|
||||
|
||||
Reference in New Issue
Block a user