On Thu, 8 Jun 2017, Robbie van der Walle wrote:
I suppose I have to use -u for user? Which user? and -p for password?
Sorry, my typo, it should be upsrw -s battery.charge.low=80 -u upsmaster -p sekret UPS@NASupsmaster is the "user" declared in the NAS file upsd.users in square brackets. It has nothing to do with /etc/passwd. sekret is the password also declared in NAS file upsd.users. See man upsd.users and man upsrw.
Roger
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser