mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Allow filtering of Health sensor discovery (#10485)
* Filter sensor types or by regexp * codeclimate * codeclimate
This commit is contained in:
@@ -721,6 +721,35 @@ these are not provided by the vendor, the guess method can be disabled:
|
||||
$config['sensors']['guess_limits'] = false;
|
||||
```
|
||||
|
||||
# Ignoring Health Sensors
|
||||
|
||||
It is possible to filter some sensors from the configuration:
|
||||
|
||||
- Ignore all temperature sensors
|
||||
|
||||
```php
|
||||
$config['disabled_sensors']['current'] = true;
|
||||
```
|
||||
|
||||
- Filter all sensors matching regexp ``` '/PEM Iout/' ```.
|
||||
|
||||
```php
|
||||
$config['disabled_sensors_regex'][] = '/PEM Iout/';
|
||||
```
|
||||
|
||||
- Filter all 'current' sensors for Operating System 'vrp'.
|
||||
|
||||
```php
|
||||
$config['os']['vrp']['disabled_sensors']['current'] = true;
|
||||
```
|
||||
|
||||
- Filter all sensors matching regexp ``` '/PEM Iout/' ``` for
|
||||
Operating System iosxe.
|
||||
|
||||
```php
|
||||
$config['os']['iosxe']['disabled_sensors_regex'][] = '/PEM Iout/';
|
||||
```
|
||||
|
||||
# Storage configuration
|
||||
|
||||
Mounted storage / mount points to ignore in discovery and polling.
|
||||
|
Reference in New Issue
Block a user