[Nut-upsuser] cannot update battery.date value of APC ups battery

Charles Lepple clepple at gmail.com
Sat Jun 8 02:50:23 UTC 2013


On Jun 7, 2013, at 4:43 AM, Vieri wrote:

> # upsrw -s "battery.date=2013Jun7" -u ups-mon-IT "IT-APC-BOTTOMRIGHT at 127.0.0.1"

Have you tried using the DD/MM/YY format? On APC UPS models with USB ports, the date is stored as a packed integer, so if the firmware does support changing the date, it might expect it to be in the same format.

On the other hand, there has been discussion in the past that it is not possible to change this through the NUT interfaces, e.g.: http://thread.gmane.org/gmane.comp.monitoring.nut.user/7786

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list