mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Support for InfluxDB V2 API (#15861)
* Addition of influxdb-client-php to Composer. * Addtion of InfluxDBv2 support. * Addition of front-end options. * Addition of documentation. * Addition of the acknowledgement of the PHP library used. * Fixed a unneeded bracket. * Addition of a basic datastore test. * StyleCI fixes. * StyleCI fixes. * StyleCI fixes. * Fixed exception class. * Revert accidental change. * Fix to composer lock to not update all packages. * Fix to composer lock to not update all packages, but still include the new Influx lib. * Another attempt at getting Composer to behave the way I think it should work. * Fixed merge-conflict in Composer due to #15869. * Update composer.json * Update composer.lock * Update composer.json * Update composer.lock --------- Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -34,6 +34,7 @@ class DevicePoll extends LnmsCommand
|
||||
if ($this->option('no-data')) {
|
||||
Config::set('rrd.enable', false);
|
||||
Config::set('influxdb.enable', false);
|
||||
Config::set('influxdbv2.enable', false);
|
||||
Config::set('prometheus.enable', false);
|
||||
Config::set('graphite.enable', false);
|
||||
}
|
||||
|
@@ -36,6 +36,7 @@ class DatastoreServiceProvider extends ServiceProvider
|
||||
protected $stores = [
|
||||
'LibreNMS\Data\Store\Graphite',
|
||||
'LibreNMS\Data\Store\InfluxDB',
|
||||
'LibreNMS\Data\Store\InfluxDBv2',
|
||||
'LibreNMS\Data\Store\OpenTSDB',
|
||||
'LibreNMS\Data\Store\Prometheus',
|
||||
'LibreNMS\Data\Store\Rrd',
|
||||
|
Reference in New Issue
Block a user