Tag Archive for nut

Disabling UPS beep under Linux

But it will take about 3-5 minutes to make all the setup under Linux properly. We need to run a upscmd at last, but there are a few steps before that.

  • First of all, install nut package:

  • Append following lines to /etc/nut/ups.conf according to your ups device (descparameter not important, you don’t need to give correct brand name either but the given section name will be used later to identify configured ups device, we’re using eaton as config section name here):

  • Now start the upsdriver with upsdrvctl:

  • Run upsc command the get beeper status:

  • We’re so close, now append following lines to /etc/nut/upsd.users, change the username admin or password as you want:

  • Reload upsd with the new users config:

  • You can query the list of the commands which will be supported by your ups device with the upscmd:

  • As you can see, there is a command named beeper.disable and we’ll be execute this command (give the username and password which we configured just before):

  • Now check the beeper status again:

That’s it. It takes some time but your ears will be happy.

 

src: https://linux-tips.com/t/disabling-ups-beep-under-linux/592