for the status's:
I didn't know about the ng version, so we can probly use that.
I did make a distinction about warning/alert level, like a battery is old is not a immediate action.
I made the xupsBatteryNotPresent a alert since no battery means i have not working UPS.
for sensors:
I notices if i played around with the oid part i will break RRD file mapping on other UPS. so it probly need a "rename_rrd" to update the rrd to new.
For current I was thinking of using the same oid, so the RRD file stayed the same.
For current i think it was redundant to have the auto limite enable, duo the change load we have on ours UPS day vs night, and it was creating a lot of false alerts. for overload we have the load and the power that is more accurate.
The reason for not controlling for
&& $entry['xupsBypassCurrentHighPrecision'] != 0)
|
was that Bypass current is only active then UPS is in bypass mode.
Improved in r12419.