Need help eliminating sensor alerts that are not relevant on Cumulus Linux switches

Hi there, running this version at present, but it’s not really a version-specific question:

bash-4.4$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS  | 26.3.1 (2026-03-17T05:25:34-04:00)
DB Schema | 2026_03_05_112733_ospfv3_instances_nullable (374)
PHP       | 8.2.28
Python    | 3.6.8
Database  | MariaDB 10.3.39-MariaDB
RRDTool   | 1.7.0
SNMP      | 5.8
===========================================

[OK]    Composer Version: 2.9.5
[OK]    Dependencies up-to-date.
[OK]    Database Connected
[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
[OK]    rrdtool version ok
[OK]    Connected to rrdcached
[WARN]  Your local git contains modified files, this could prevent automatic updates.
        [FIX]:
        You can fix this with ./scripts/github-remove
        Modified Files:
         resources/definitions/os_discovery/dell-os10.yaml

Output of discovery.php for an example device is: https://paste.rs/z6wYn
Output of poller.php for an example device is: https://paste.rs/zfSCO

My switches, running Cumulus Linux 5.12.1, have a lot of extraneous sensor OIDs being picked up by LibreNMS that are all alerting, since they’re using default values that don’t match the values that are showing up on the switch. I asked Lenovo about it, who provides support for these of our switches, and their response was:

These come from net-snmp UCD-SNMP extensions, not from ENTITY-SENSOR-MIB, hwmon, or smon; these “front panel” sensors are logical placeholders generated by the SNMP agent. They do not usually map to fixed physical sensors and are not used by the switch’s own health monitoring. Their presence and index assignment can change between boots and software updates, which is why their values move or disappear. Monitoring should be based on smon-validated sensors only.

You should not use UCD-SNMP for physical sensors.

The UCD-SNMP-MIB should only be used for System memory, load, CPU, disk IO monitoring.
For Physical sensor information (temperature, fan, and power supply) from RFC 3433 you should use ENTITY-SENSOR-MIB, which will expose the physical sensors, the ones you can monitor on the switch using “sensors” and “smonctl” commands.

You can use the below OIDs

Sensor values 1.3.6.1.2.1.99.1.1.1.4
Sensor names 1.3.6.1.2.1.47.1.1.1.1.2
Sensor class 1.3.6.1.2.1.99.1.1.1.1

Supported MIBs | Cumulus Linux 5.12

I am unfortunately a bit of a novice at LibreNMS, and somewhat rusty on SNMP, but I am a relatively expert Linux HPC sysadmin. I really don’t have any idea where to look for how to do something like this in the documentation. Nothing really seems relevant, or seems to assume knowledge I don’t have.

One thing I know I can do is to go into Device Settings→Health for every single device and turn off the whopping 56 of these sensors that are created, but I have 22 of these switches, and I have not even found a place to do this on the command line (clicking 1,232 times, competing with the popup box after each one which also blocks these toggles is not a real option).

What is the right way to do this? Happy to RTFM but I’m really having a hard time figuring out where to look, and ideally I’d fix this in such a way that was contributable back so that it “just works” for others that want to monitor these.

Thanks much.