Questions tagged [nut]

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

The primary goal of the Network UPS Tools (NUT) project is to provide support for Power Devices, such as Uninterruptible Power Supplies, Power Distribution Units, Automatic Transfer Switch, Power Supply Units and Solar Controllers.

Homepage of the project.
The project on GitHub.

17 questions
6
votes
2 answers

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 part of or run from /etc/rc.local - would tell init…
SlySven
  • 517
  • 4
  • 16
6
votes
2 answers

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 happens when a power outage occurs yet. This UPS…
CDuv
  • 362
  • 2
  • 5
  • 12
4
votes
0 answers

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 ups.delay.shutdown: 30 However when I try to…
TheLovelySausage
  • 4,183
  • 9
  • 30
  • 49
4
votes
1 answer

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
  • 200
  • 1
  • 2
  • 13
4
votes
0 answers

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 different from the nut.conf I have inherited.…
l0b0
  • 50,672
  • 41
  • 197
  • 360
2
votes
1 answer

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 connect it to the same Pi via USB. The second UPS…
2
votes
1 answer

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) notifications when there is power failure and my…
patryk.beza
  • 1,179
  • 1
  • 13
  • 25
2
votes
4 answers

String Manipulation Shell Script

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 example #!/bin/bash status='upsc myups' # command…
Kunal Sonone
  • 65
  • 1
  • 9
1
vote
0 answers

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 set this up last January when I bought the UPS.…
Buadhai
  • 237
  • 4
  • 11
1
vote
1 answer

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 following messages from upsmon in syslog: Aug 19…
DJacobson
  • 15
  • 2
1
vote
1 answer

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 cron and required a alternate method to launch my…
Kunal Sonone
  • 65
  • 1
  • 9
1
vote
1 answer

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 the UPS USB is connected to? The Linux is CentOS 6…
TheLovelySausage
  • 4,183
  • 9
  • 30
  • 49
1
vote
1 answer

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, upsc again shows the corresponding status. But…
Gluttton
  • 330
  • 5
  • 17
1
vote
0 answers

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 so I need the server to shutdown when the UPS…
TheLovelySausage
  • 4,183
  • 9
  • 30
  • 49
0
votes
0 answers

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 might be that USB reinitializes, temporarily device…
divB
  • 168
  • 1
  • 8
1
2