InfluxDBv2 allow filter by group and disable debug by default (#16186)

* CHG: Dynamic debug flag and ability to exclude networks.

* Update config_definitions.json

* Update settings.php

* Update documentation.

* FIX: StyleCI Fixes.

* FIX: StyleCI Fixes.

* CHG: Changed excluding by network to by group membership

* Update settings.php

* Update config_definitions.json

* Update documentation.

* FIX: StyleCI Fixes.

* FIX: StyleCI Fixes.

* FIX: Fetch device data from cache.

* Add a check to see if we are trying to exclude by group before fetching groups.

* remove whitespace

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Walkablenormal
2024-07-15 01:17:02 +02:00
committed by GitHub
parent ac8a69fa3b
commit 99f72823bb
4 changed files with 52 additions and 8 deletions

View File

@@ -39,8 +39,12 @@ continue to function as normal.
lnms config:set influxdbv2.token 'admin'
lnms config:set influxdbv2.allow_redirect true
lmns config:set influxdbv2.organization 'librenms'
lmns config:set influxdbv2.debug false
lmns config:set influxdbv2.groups-exclude ["group_name_1","group_name_2"]
```
The same data stored within rrd will be sent to InfluxDB and
recorded. You can then create graphs within Grafana or InfluxDB to display the
information you need.
Please note that polling will slow down when the poller isn't able to reach or write data to InfluxDBv2.