Displaying 20 results from an estimated 10000 matches similar to: "NUT 2.0.4-4 - Debian stable - /etc/killpower not created?"
2020 Apr 28
2
Tripp-Lite SMART1500LCD: powers off with /etc/killpower...then powers back on...
Hi Everyone,
I recently bought a Tripp-Lite SMART1500LCD for my Linux Mint 19.3 machine,
connected via a USB cable. I installed Nut 2.7.4 from the Mint package
repository via sudo apt update && sudo apt install nut. Everything works
great: NUT issues low battery warning when it reaches the set low
battery point and then issues shutdown commands...computer shuts
down..then the UPS shuts
2007 Aug 15
2
suspend to ram
hello
i think i found a bug i wanted nut to suspend to ram instead of powering off so i made a script that runs the commands but i ran into a problem i changed the shutdown command in upsmon.conf to my suspend script and i tested with upsmon -c fsd everything worked fine system went into suspend and i woke it backup by pressing the power button, now here is where i noticed some problems first one
2006 Sep 13
2
POWERDOWNFLAG (/etc/killpower) does not contain the upsmon magic string!!!
Hi to all, i install nut and it's work perfectly but when i start upsmon i recive the message:
POWERDOWNFLAG (/etc/killpower) does not contain the upsmon magic string
My upmon.conf contain:
MONITOR myups@theseo 1 orion91 carlos81 master
SHUTDOWNCMD "/sbin/shutdown -h +0"
HOSTSYNC 15
POWERDOWNFLAG /etc/killpower
FINALDELAY 5
My killpower scrit in /etc/killpower
2019 Jun 08
3
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
On Jun 8, 2019, at 4:16 PM, Roger Price wrote:
>
> Is your System Shutdown Plan to shut down using upsmon or using the script upsched-cmd? In upssched.conf you do not have a line
>
> AT LOWBATT ups at ... EXECUTE lowbatt
>
> and in upssched-cmd there is nothing to shut down the system.
Joe,
Roger has a good point - the SHUTDOWNCMD should work as long as the master system
2009 Jun 19
1
UPS does not want to power off itself
Greetings!
I have successfully installed and configured nut package. All i want now
is to power off ups. If i run upsmon -c fsd as root - everything goes
fine, system and ups gracefully shutting down. If i unplug power cable
from an ups, then system is down, but ups still on load. Any help would
be appreciated.
Debian Lenny x86
ups.conf
[ippon]
driver = megatec
port = /dev/ttyS0
2015 Sep 11
3
"upsmon -c fsd" cause system shutdown
hi:
my testing server has two power supply and attach to two ups. one
of the ups is connect to the server with usb.
my upsmon.conf like below:
# for two ups
MONITOR ftups at localhost 1 monmaster nutmaster master
MONITOR ftups at 10.1.1.2 1 monslave nutslave slave
MINSUPPLIES 1
# for early shutdown
NOTIFYFLAG ONBATT EXEC+WALL+SYSLOG
NOTIFYFLAG ONLINE EXEC+WALL+SYSLOG
NOTIFYCMD
2020 Jan 11
4
System with MGE UPS shuts down too early
Hello,
I'm experiencing a strange early shutdown behavior with the following
system:
* */OS/*: Slackware Linux 14.2 x86_64
* */NUT/*: 2.7.4 (from my own package
<https://sotirov-bg.net/slackpack/pack.cgi?id=4083>)
* */UPS/*: MGE Ellipse PRO 1600
<powerquality.eaton.com/Products-services/Backup-Power-UPS/Ellipse-PRO.aspx>
(bought in September 2017)
*/Problem
2006 Aug 17
1
powercom issues
And something else, that previously eluded from my thoughts:my "notifyme" script,i.e the script that is executed at an ups.status="OB" event, is:
echo `date` >> /root/upsLog
echo " No power, shutting down the system!" >> /root/upsLog
sleep 30
control=`/usr/local/ups/bin/upsc Inform@localhost ups.status`
if [ $control != OL ]
then
2023 Oct 27
2
FSD sequence: Waiting for bigger and slower clients before cutting power
Hi, this does sound like a useful idea - although for the principle of
least surprise and for variation in deployments, I'd rather have it as a
(non-default state of a) configuration toggle that can be set via
`upsmon.conf`: whether this particular client exits after processing FSD or
not. The onus for the rest would be on general systems integration - e.g.
ensure that init scripts `K*`ill the
2018 Sep 07
2
WinNUT Client Logs
On Fri, 7 Sep 2018, Ong, Kevin wrote:
> Any comments here?
I am not a WinNUT user, but in general NUT clients do not produce their own log
files. If you want more detail, you have to set the debug options and then look
in your system logs.
Upsmon.conf
MONITOR ups at pfsense 1 <username> <password> slave
...
POWERDOWNFLAG /usr/local/ups/etc/killpower
My
2009 May 20
2
upsmon shutdown based on Time since power fail.
For various reasons - I have been trying to get my Desktops and/or
servers to shut-down a fixed time after a power fail - or better still a
fixed time - or a low battery whichever comes first.
I note in my upsc:
*> upsc belkinusb*
battery.charge: 100
battery.charge.low: 30
battery.charge.warning: 30
battery.runtime: 120
battery.type: PbAc
battery.voltage: 27.3
battery.voltage.nominal: 24
2015 Jan 31
0
Start up script fails [/etc/killpower]
On Jan 31, 2015, at 3:09 PM, Melvin Call <melvincall979 at gmail.com> wrote:
> One last question if you don't mind. I noticed the "default" POWERDOWNFLAG is
> set to /etc/killpower, but I changed that to /tmp and modified my umountroot
> script to mount it read only too, because I know it gets wiped on reboot. Is
> there anything that removes /etc/killpower on
2012 Apr 11
1
NOTIFYCMD doesn't work from Windows service
Hello dear all,
I try to use NUT for windows (not WinNUT), and stuck with launching NOTIFYCMD.
On any event marked as SYSLOG+WALL+EXEC syslog entry appears, popup
window appears, but NOTIFYCMD script doesn't run.
If I run upsmon.exe in cmd (i. e. not as a service) everything works fine.
Here is my upsmon.conf:
MONITOR central at 10.35.0.180 1 user password slave
MINSUPPLIES 1
SHUTDOWNCMD
2007 Oct 24
4
MGE Ellipse 800 shutdown problems - using upsmon NOTIFYCMD
upsmon.conf using NOTIFCMD and NOTIFYFLG is working well, it is calling my
script "notify" on requested events (ONBATTERY,LOWBATTERY and ONLINE).
Command
#upsmon -c fsd -u monmaster myups at localhost
gracefully shutdown my box and after several seconds switch off the ups's
load.
Two problems:
- notify script is called and executed as user "nut" (as it used to be
2012 Jan 04
3
NUT Windows port questions
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120104/34be491b/attachment.html>
2023 Oct 31
1
FSD sequence: Waiting for bigger and slower clients before cutting power
fredag 27 oktober 2023 20:07:58 CET skrev Jim Klimov:
> Hi, this does sound like a useful idea - although for the principle of
> least surprise and for variation in deployments, I'd rather have it as a
> (non-default state of a) configuration toggle that can be set via
> `upsmon.conf`: whether this particular client exits after processing FSD or
> not. The onus for the rest
2012 Jan 28
2
No shutdown on empty battery
Hello,
I set up a FreeBSD 8.2 system with nut 2.6.1 and a Powerware 5115
connected by RS-232. I expected this setup to shut down before running
out of battery power, but I either missed some important configuration
or something else went wrong:
The syslog says:
Jan 9 05:03:42 b1 upsmon[67752]: UPS upsb1 at localhost on battery
Jan 9 05:04:42 b1 upsmon[67752]: UPS upsb1 at localhost on line
2015 Oct 27
2
The system doesn't shutdown
Yes, that was the power off test. However the upssched-cmd script gave
absolutely no signs of activity. Even it's logger lines don't show up in
journalctl. No any permission error messages - nothing. Only the 2 messages
from upsmon - on battery and then on line power.
Here is the nut-report:
http://www.filehosting.org/file/details/518300/NUT.report
---
George Anchev
On Tue, Oct 27,
2024 Feb 21
1
System keeps going into FSD mode after power on
Hello,
I am a new user of NUT and trying to wrap my ahead around a couple of
things. I installed NUT 2.7.4-13 from package on RasPi 4, running Raspbian
Linux 11 (bullseye). I have Cyberpower SL700U connected to it. For testing
I set battery.charge.low to 90, so I wouldn't have to wait a long time. See
all relevant config below.
First of all, what seems to happen is that UPS gets to the low
2019 Jun 09
2
How to shutdown macOS / mac OSX from Network UPS Tools client - NUT
On Sun, 9 Jun 2019, Joe Gervasio wrote:
> This question undermines my reading of the documentation. I had thought that
> these were separate things:
>
> SHUTDOWNCMD "/sbin/shutdown -u -h +1"
> NOTIFYCMD /opt/local/sbin/upssched
>
> I had assumed that the SHUTDOWNCMD would be used by the Nut client (upsmon) to
> shutdown the slave system, and that