On this page
UPS and power: Problems
Find what is wrong with UPS and power, then follow the numbered answer.
The chart in words
Start: UPS and power is not working as it should
- Then: What does its card say?
- Cannot read it or Last reading failed: What does it say after NUT or PeaNUT?
- Nothing is listening at that address and port: 1. Check the address
- It could not be reached: go to 1. Check the address
- It did not answer in time: go to 1. Check the address
- It refused the user name or password: 2. Check the sign-in
- NUT has no UPS called: 6. Check the UPS name
- On battery or Low battery: 3. Read what the UPS says
- Needs setting up: 4. Enter the address
- On mains power, but I expected an alert: 5. Check the alerts
- Cannot read it or Last reading failed: What does it say after NUT or PeaNUT?
1 Check the address
- For NUT, check the address and port (3493 unless you changed it) from another computer:
upsc ups@192.0.2.10lists the variables when it works. - NUT must listen on an address other computers can reach: in
upsd.conf,LISTEN 0.0.0.0 3493(or your server's address), then restartupsd. Where Starboard and NUT run on the same computer, use the computer's own address on your network, notlocalhost: UPS and power runs in its own container. - For PeaNUT, open its address in a browser on another computer. It shows its page.
- Check Read the UPS through matches the program at that address.
2 Check the sign-in
PeaNUT only. In UPS and power's settings, enter the user name and password again and select Save. The password is never shown again, so enter it afresh. Select Check now.
3 Read what the UPS says
- On battery means the UPS says the mains power is gone. Check the plug, the socket and the breaker.
- The alert clears by itself when the UPS reports mains power again.
- A UPS that is charging after a cut shows On mains power at once, with a battery under 100%.
4 Enter the address
Open UPS and power's tab, choose how to read the UPS, enter its address and select Save, then Activate.
5 Check the alerts
- Alerts are on by default: check Send alerts through Starboard is activated.
- Check Starboard's own alerts are on in Settings, then Alerts. UPS and power uses the same place.
- It asks once a minute: a cut shorter than a minute may pass unseen.
- Starboard before 0.26.0 does not take alerts from plug-ins: the card then says so, and updating Starboard fixes it.
6 Check the UPS name
NUT lists each UPS by the name in ups.conf. Leave UPS name empty to use the first one, or enter the name exactly as upsc -l shows it.
Things this version does not do
- Pause heavy jobs on battery: not possible yet. A plug-in cannot pause Starboard's own jobs. The card and the alert tell you; NUT's
upsmonshuts the server down. - Tried against a real UPS: not yet. This version was tested with a made-up NUT server that follows NUT's text protocol and with recorded PeaNUT answers that follow its README. If your setup answers differently, the card says "Cannot read it" or shows no figures: tell us on the Discord support server or in an issue.
Find out more
This page on GitHub, where the help is written.