Apply filters to existing nodes

Hi there,

When creating a new filter in config.php, for example:

$config[‘os’][‘iosxe’][‘disabled_sensors_regex’][‘temperature’] = “/Gi[0-9]//”;

It just works for new added nodes isn’t it? Or will the ‘not wanted’ objects be removed (rrd files and mysql entries)? It do not seems that this is the case. Or do I miss something?

Thanks in advance.



Component Version
LibreNMS 24.2.0-30-g8c4205c61 (2024-03-19T10:24:07+01:00)
DB Schema 2024_02_07_151845_custom_map_additions (290)
PHP 8.2.8
Python 3.9.2
Database MariaDB 10.5.19-MariaDB-0+deb11u2
RRDTool 1.7.2
SNMP 5.9

[OK] Composer Version: 2.7.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Distributed Polling setting is enabled globally
[OK] Connected to rrdcached
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] Python wrapper cron entry is not present
[OK] Redis is functional
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[OK] rrdtool version ok
[OK] Connected to rrdcached

Hi @gert-jan
It is applied to all devices detected as “iosxe”. But you have to wait until device is rediscovered.
You can trigger it manually or wait until the scheduler that runs discoveries automatically.

Thank you very much!