Extended sensor Raspberry


what’s the best way to add a new sensor?!

We extend our snmpd file to have this:

pass . /usr/bin/python3 /etc/snmp/DHT-temp-snmp.py
pass . /usr/bin/python3 /etc/snmp/DHT-hum-snmp.py

extend temp /etc/snmp/DHT-hum-snmp.py
extend hum /etc/snmp/DHT-temp-snmp.py

This is 2 new values, one for Temperature and also Humidity provided by an external wired sensor (DHT22) on the raspberry.

I would like to add them inside librenms under the Health tab maybe…

Check here -> https://docs.librenms.org/Developing/os/Health-Information/

interesting… but how to deal with that with only a specific host ? Don’t want to apply this 2 new sensors on all our raspberry/linux devices…