This is a pretty simple thing to set up. The NUT-UPS service is provided by Rockstor. When power goes out, the UPS starts beeping. I don’t care if the power is out. If I’m home, I’ll know it. If I don’t know it, I’m most likely asleep. If I’m not home, the beeping will annoy my family or no one will be here to hear it.
I have a Cyber Power CP1350AVRLCD UPS. This should work on quite a few more than just mine. If you have NUT UPS working, you can see if your UPS can be de-beeped with the following command:
upscmd -l ups
You should get a list of supported commands. Here’s what I received:
beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
Note the first command that was listed as supported is beeper.disable
. This suggests that you should be able to turn the beeper off.
You’ll need to enable the ability to issues commands though…
sudo nano /etc/ups/upsd.users
- Scroll to the very bottom of the file.
- You should see a warning to not edit below the line, and a section titled
[monuser]
assuming you used the default username when setting up the NUT-UPS service. - Add the following lines to end of the file:
actions = SET
instcmds = beeper.disable
- Press <Ctrl>+<O> then to save the file
- Press <Ctrl>+<X> to Exit nano
- Reload the UPS NUT tools with
sudo upsd -c reload
- Disable the beeper with
upscmd ups beeper.disable
- You’ll be asked for a username and password. Enter the username and the password you entered when you set up the NUT-UPS service. Default username is
monuser
- Check the status of the beeper with either
upsc ups
orupsc ups ups.beeper.status
In step 4, you can set instcmds = ALL
to be able to send more than just the beeper disable command.
Edit: This is also working on an APC Back-UPS ES 750.