On Sat, 8 Aug 2020, Roger Price wrote:

Better:

 SHUTDOWNCMD "logger -t upsmon.conf \"UPS status [$( upsc ups@192.168.1.70 ups.status 
)]:$( upsc ups@192.168.1.70 battery.charge )\" ; /sbin/shutdown -h +0"

I forgot the battery.charge.  Roger

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to