Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [ups]

Uninterruptible power supply

Filter by
Sorted by
Tagged with
2 votes
1 answer
117 views

NUT shutdown script does not run when UPS switches to battery power ("returned 1")

I am setting up a UPS on ubuntu for the first time. I have exactly followed the instructions here: https://www.sobyte.net/post/2023-03/ups-nut-configuration-tutorial/ My UPS is a PowerShield Defender ...
mob's user avatar
  • 121
1 vote
0 answers
61 views

How to prevent apctest from shutting down the UPS immediately when performing a battery calibration?

I am running an APC SMT1500RMI2U connected to a Linux server via serial cable. On the Linux server, the UPS is managed by apcupsd and the associated utilities. apcupsd communicates with the UPS using ...
Binarus's user avatar
  • 3,390
1 vote
1 answer
280 views

nut usbhid-ups loosing connection after some time

I have a CyperPower OR500LCDRM1U connected via USB to nut on Debian (proxmox). After some time (hours?), the connection to UPS is lost. Extremely frustrating because UPS is a critical component. It ...
divB's user avatar
  • 208
1 vote
0 answers
102 views

Why does NUT on a Pi report two different battery charge amounts for an APC UPS?

Why does NUT on a Pi report two different battery charge amounts for an APC UPS? This using NUT 2.7.4 on a Raspberry Pi4 running Buster connected via USB to an APC Back-UPS BX750MI-MS. I originally ...
Buadhai's user avatar
  • 237
0 votes
0 answers
516 views

raspberry pi 4 cannot detect usb signal from UPS

I am trying to connect a Vultech UPS1050VA-PRO to my new raspberry pi 4 via the usb cable provided, but it does not show up in the lsusb output (I tried connecting it with both usb 2.0 and 3.0 ports ...
sigmud's user avatar
  • 156
0 votes
0 answers
279 views

What is a default generic app in CentOS 7 to monitor UPS battery over USB?

I installed an UPS battery that is not a well known brand, but it has an USB; Other generic UPS monitoring apps on windows can find it and read battery level and other data even without manually ...
adrianTNT's user avatar
  • 573
1 vote
1 answer
783 views

NUT and immediate notifications

I would like to configure NUT UPS monitoring software under Linux to simply page me when the UPS goes onto battery power, and then when it returns to line power. For example, when I receive the ...
DJacobson's user avatar
11 votes
1 answer
2k views

Is it safe to boot computer that lost power while suspending to disk?

I have computer with battery power supply that allows running the computer for approximately one minute after power loss. I want to trigger suspend-to-disk immediately after power loss so it can be ...
jiwopene's user avatar
  • 1,071
1 vote
0 answers
558 views

how to run apcupsd on Debian testing having systemd instead of sysv

There is a Debian wiki page which tells what needs to be configured in order for apcupsd to run nicely. But as the page says in the first para itself, it runs or works only on sysv and now everything ...
shirish's user avatar
  • 12.5k
9 votes
2 answers
8k views

Apcupsd on Debian stretch 9 no connection to UPS?

I'm trying to get apcupsd to work with my Ups (APC Back-UPS 700VA) with my server running Debian 9 stretch but can't connect to ups and get this when I run: rene@odroidxu4-share:~$ sudo apcaccess ...
Rene Mortensen's user avatar
1 vote
1 answer
1k views

How can I ensure a complete system shutdown on FreeNAS/FreeBSD?

upsmon is configured to automatically shutdown the system upon power failure. However, the shutdown seems to fail halfway, leaving me without remote access to the system: Feb 2 12:21:54 the_host ...
user569825's user avatar
3 votes
1 answer
3k views

Setup NUT power failure notifications when running computer on UPS battery

Description of the problem I have UPS Orvaldi KC2000 (its capacity: 2000VA/1400W) and I want to setup configuration of my Debian 10 (Buster which is currently testing) to: get GUI (preferably GNOME) ...
patryk.beza's user avatar
  • 1,189
0 votes
0 answers
44 views

How to safely discharge UPS using workstation (prevent filesystem damage)

I'm using quite big UPS comparing to hardware attached to it in order to achieve longer uptime on UPS (up to 1h). However as maintenance practice it's advised to discharge it at least every 3 months. ...
Lapsio's user avatar
  • 1,323
4 votes
0 answers
431 views

NUT upsrw ERR READONLY

I am using NUT to shutdown the ups powering my CentOS 6 server but it has a 30 second delay when executing the shutdown. When I run upsc I can see that the 30 seconds is controlled by the variable ...
TheLovelySausage's user avatar
1 vote
1 answer
1k views

CentOS 6 NUT COmmunicate with UPS

I am trying to configure NUT for my Mecer UPS and it is asking me for the port that the UPS is connected to, in the NUT ups.conf example it shows port = /dev/ttyS1 How can I determine the port that ...
TheLovelySausage's user avatar
1 vote
1 answer
3k views

Unexpected system shutdown with low battery UPS status

I have nut which installed on Debian 8 host. The host is connected with UPS. In general everything works as expected. If UPS works on line, upsc shows the corresponding status. If UPS works on battery,...
Gluttton's user avatar
  • 329
2 votes
0 answers
274 views

Configure UPower to recognize PowerWare 9130 UPS (Ubuntu Xenial)

I just installed Ubuntu Xenial Desktop (16.04.1) on my HP ProDesk 600 G2 and there is a red (empty) battery icon at the upper right. The PC is plugged into a UPS which I know works (Powerware 9130) ...
K. McGregor's user avatar
1 vote
1 answer
495 views

/proc/bus/usb in /etc/fstab prevents my PC to start the graphic session

I bought a UPS this week and it came with the WinPower software that lets my PC (Linux Mint 18 XFCE) to communicate with the UPS, monitor it, and receive a shutdown signal in case the UPS battery is ...
juankvillegas's user avatar
0 votes
0 answers
1k views

How to read the battery on a Banana Pi R1 router with OpenWRT?

Model: BPI R1 Firmware Version: OpenWrt Chaos Calmer 15.05-rc3 / LuCI Master (git-15.233.47308-791ca8b) Kernel Version: 3.18.19 Other images on this same hardware had various methods to monitor the ...
AaronD's user avatar
  • 153
0 votes
1 answer
174 views

Memory Issue: Raspberry Pi [closed]

I am working on one project required to monitor the UPS using NUT server. For monitoring and data logging I am using the minibian OS (JESSIE). In order to monitor the ETON UPS I have wrote a shell ...
Kunal Sonone's user avatar
2 votes
4 answers
959 views

String Manipulation Shell Script [duplicate]

I am working on a UPS Monitoring project using NUT Server. My objective is to make a shell script which sends one command and in response receives the status and other parameters from the UPS. for ...
Kunal Sonone's user avatar
4 votes
2 answers
3k views

Detect power loss

Is it possible to detect loss of power on a laptop/desktop without an UPS? Obviously a computer without an UPS will shutdown at least almost immediately after being unplugged/having its battery ...
Alec's user avatar
  • 163
6 votes
2 answers
3k views

Does anything USE /dev/initctl or /run/initctl

I have been investigating code for a UPS for a Raspberry Pi that is using sysv init rather than systemd (personal preference and familiarity). I was looking into how a privileged script - possibly ...
SlySven's user avatar
  • 537
1 vote
2 answers
11k views

How-to for ViewPower UPS Management on Linux?

Even when I use to prefer Linux over Windows, I must admit that the ViewPower suite for UPS management is a pain to configure on Linux, and extremely easy on Windows (just install and go). Isn't ...
Sopalajo de Arrierez's user avatar
4 votes
1 answer
2k views

Is it possible to expose a USB UPS via SNMPD?

I have a Rack Mount Cyberpower UPS I'd like to be able to monitor with LibreNMS. It only connects via USB. Is it possible to have the Ubuntu Server running SNMPD expose the UPS MIBs?
Jonathan S. Fisher's user avatar
0 votes
1 answer
538 views

CentOS 6 apcupsd Trouble Shooting

I'm having issues with the recommended UPS monitoring software apcupsd. It installed ok but when I run it and check the error messages it is getting spammed with all these messages and doesn't seem ...
TheLovelySausage's user avatar
1 vote
0 answers
183 views

Linux Network UPS Tools Setup

Power failures have been wrecking my server, so I recently plugged it into a USB UPS (MEISSNER XT1200 (1200VA) UPS). The problem is that the power failures last longer than the UPS battery can handle ...
TheLovelySausage's user avatar
4 votes
0 answers
1k views

How to simulate power outage for a single NUT client?

I've changed the behaviour of a single server (configured as netclient) when on UPS, but I'm not sure how to test it in isolation. dummy-ups seems related, but even the configuration looks completely ...
l0b0's user avatar
  • 51.5k
2 votes
1 answer
4k views

How to configure apcupsd to leave UPS running after server shutdown?

My server that runs apcupsd is the largest load on my UPS, and whenever the power goes out I want to have the server shutdown and leave the UPS to run until the UPS shuts itself down on low battery ...
Paul's user avatar
  • 517
7 votes
2 answers
15k views

Run various shell commands when NUT reports a low UPS battery

On a Debian server I've successfully installed the nut package so that my Ellipse PRO 1200 UPS's status can be fetched via USB (upsc my-ups returns battery level). Note: I haven't tested what will ...
CDuv's user avatar
  • 372
4 votes
0 answers
2k views

How to get notification from upower when UPS is on battery

I have a Fedora Core 19 system powered via a desk-side UPS. I've connected the UPS' USP port to the FC19 system, and it was apparently recognized, as upower -d now reports its presence: ups ...
TomG's user avatar
  • 249
1 vote
0 answers
253 views

Why surt1000xli APC UPS recognised by NUT apcsmart driver as "old"?

So I have this UPS connected to machine with a RS232/USB cable. ups.conf contains [apc1] driver = apcsmart port = /dev/ttyUSB0 desc = "APC USB" And I get the following output: $ sudo ...
user1685095's user avatar
8 votes
2 answers
8k views

Make system robust against unexpected power loss

Are there any common or standard ways to make a system more robust against unexpected power loss (I.e., without proper shutdown)? I was using a UPS but the battery is dying and I haven't had a chance ...
brianmearns's user avatar