Just to add that I was able to set the following settings in this APC, by:
Extra Arguments to driver (optional):
offdelay=60
ondelay=180
waitbeforereconnect=30
Note: waitbeforereconnect=30 is important since the driver sometimes loses connectivity with NUT.
Additional configuration lines for ups.conf
maxretry=3
retrydelay=10
Shell:
Check the admin password: (You don't need to set an admin user in upsd.users file), the password changes, so you need to check every time you are going to make a change.
cat /usr/local/etc/nut/upsd.users
Checking defaults:
upsrw -l ups
Changing values:
upsrw -s battery.charge.low ups
Username (root): admin
Password:
Enter new value for battery.charge.low: 50
OK
upsrw -s battery.runtime.low ups
Username (root): admin
Password:
Enter new value for battery.runtime.low: 1500
OK
If you receive the following error after boot, with or without user=root in ups.conf :
UPS [ups]: connect failed: Connection failure: Connection refused
Then, install shellcmd and use the following script as shellcmd:
#!/bin/sh
sleep 60
/usr/local/sbin/pfSsh.php playback svc stop nut
sleep 20
/usr/local/sbin/pfSsh.php playback svc start nut
sleep 5
exit 1
done