Extend REGEX filtering option by sensor_class (#13066)

This commit is contained in:
O Palivan
2021-07-23 23:46:12 +02:00
committed by GitHub
parent dcb9f3c1d5
commit 754276ba89
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -33,6 +33,12 @@ $config['os']['vrp']['disabled_sensors']['current'] = true;
$config['os']['iosxe']['disabled_sensors_regex'][] = '/PEM Iout/';
```
- Filter all 'power' sensors with description matching regexp ```'/ Power [TR]x /'``` for Operating System iosxr.
```php
$config['os']['iosxr']['disabled_sensors_regex']['power'][] = '/ Power [TR]x /';
```
- Ignore all temperature sensors
```php