Hello,
We have this custom attribute monitoring in LibreNMS on many devices which checks the red levels on a monitor screen. If it drops to under 10 for 20 minutes then email me. Possible?
I can’t figure out how to monitor against a custom attribute/value like this:
Here is shows as healthy as it’s above 10.
This is the yaml file section I created to pull this value
I was looking at the SQL command but I’m useless at that:
SELECT * FROM devices,sensors WHERE (devices.device_id = ? AND devices.device_id = sensors.device_id) AND (sensors.sensor_oid = “.1.3.6.1.4.1.33762.7.8.2.12” AND sensors.sensor_current < 10);