On 2022-10-19, Alec <olp...@yahoo.ca> wrote:
>
>>However I think you could /probably/ already implement this yourself by
>>calling snmp(1) 'trap' from sensorsd if you wanted this now.
>
> Ah, for that we have wonderful swiss-knife called "ifstated" that can be 
> abused to do almost anything.
> Perhaps I might have to go to that route, I already abuse it for so many 
> other things. It's an awesome tool, imho.
> I guess I can add voltages there too and UPS state (onBattery/onAC, etc)

sensorsd monitors hw.sensors.* in a more lightweight way than is
possible with ifstated (which is, of course, optimized for monitoring
interface states), i.e. directly by sysctl(2) calls rather than by
shelling out to call sysctl(8). And already handles low/high etc.


Reply via email to