Displaying 1 result from an estimated 1 matches for "is_ups_crit".
2023 May 16
1
Synthesize low batt (LB) fron SNMP UPS which does not support this?
...status, MINSUPPLY will never truly be considered a usable threshold
and thus I'm left with a machine which would not shutdown.
Thus, what would e the best way forward here?
* Try to patch the server to synthesize LB there? If so, any suggestion
how to do this?
* Try to patch upsmon.c's is_ups_critical method to also include extra
criteria, e.g. remaining run time/battery charge?
* Keep nut unpatched but use our own NOTIFYCMD or CMDSCRIPT to pull the
values from the server and implement our logic there?
* Another way, I've overlooked?
Cheers and thanks a ton in advance for suggestion...