30 points · by AstroNoise58 · 5y ago · 5 comments
Speaking of prior art, I am only aware of this one: https://github.com/luizluca/nut-snmpagent I am not a fan of Ruby and I only trust software I wrote (a.k.a.: I prefer my own bugs in critical pieces of my infra), so here it is.
Posting in case someone else finds it useful, but will answer more general questions (should they come up) as well.
In which case, you might wanna double check these return values https://github.com/tomszilagyi/upsc-snmp-agent/blob/8f35379d...