Skip to main content

Questions tagged [nut]

Network UPS Tools (NUT) is project which provide support for power devices.

Filter by
Sorted by
Tagged with
2 votes
1 answer
154 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
1 answer
305 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
107 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
1 vote
1 answer
803 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
1 vote
1 answer
504 views

rc.local - script message suppression

I am working on a Raspberry Pi project; it includes NUT server configuration and making the OS Image read-only. I have completed the required steps and configured the NUT server. I uninstalled the ...
Kunal Sonone's user avatar
2 votes
1 answer
4k views

How to monitor multiple USB UPS with Network UPS Tools

I'm currently running NUT on my RaspberryPi (using Raspbian), I have managed to connect my Mecer USB UPS to NUT using the blazer_USB driver. Recently I got another UPS (same model) and would like to ...
Jonathan Lewis's user avatar
0 votes
1 answer
416 views

Stopping phony service/daemon in Ubuntu 16.04

I have problems with the nut (network UPS tools) package. So I started digging in and making some experiments. How can I create a fake service that is just called with a stop parameter at some ...
Sap's user avatar
  • 239
3 votes
2 answers
4k 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
4 votes
0 answers
436 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
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
961 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
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
  • 547
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
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.7k
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