How to set low temp limits for Linux

I’m getting low temp alerts because temp low temp settings are too high.

I’ve done some research and I would have to add this to OS yaml

One example of a sensors is:

sensor_id, sensor_deleted, sensor_class, device_id, poller_type, sensor_oid, sensor_index, sensor_type, sensor_descr, group, sensor_divisor, sensor_multiplier, sensor_current, sensor_limit, sensor_limit_warn, sensor_limit_low, sensor_limit_low_warn, sensor_alert, sensor_custom, entPhysicalIndex, entPhysicalIndex_measured, lastupdate, sensor_prev, user_func 1932, 0, temperature, 77, snmp, .1.3.6.1.4.1.2021.13.16.2.1.3.1, 1, lmsensors, loc1, , 1000, 1, 63, 88, , 58, , 1, No, , , 2022-08-24 13:25:07, 62,

Also the Core0 and different cpu cores have different low limits

sensor_id, sensor_deleted, sensor_class, device_id, poller_type, sensor_oid, sensor_index, sensor_type, sensor_descr, group, sensor_divisor, sensor_multiplier, sensor_current, sensor_limit, sensor_limit_warn, sensor_limit_low, sensor_limit_low_warn, sensor_alert, sensor_custom, entPhysicalIndex, entPhysicalIndex_measured, lastupdate, sensor_prev, user_func 1932, 0, temperature, 77, snmp, .1.3.6.1.4.1.2021.13.16.2.1.3.1, 1, lmsensors, loc1, , 1000, 1, 63, 88, , 58, , 1, No, , , 2022-08-24 13:25:07, 62,

I’ve found two files where this could be set:
/opt/librenms/includes/discovery/sensors/temperature/linux.inc.php
and
/opt/librenms/includes/definitions/discovery/linux.yaml

The sensors all have same OID.

How would I add low and high temp limit for Core0 and loc1 sensor in linux.yaml

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.