Displaying 20 results from an estimated 11000 matches similar to: "upsmon errors with /usr/sbin/pm-suspend as the shutdown command"
2016 Apr 29
0
upsmon errors with /usr/sbin/pm-suspend as the shutdown command
Is nobody using pm-suspend or pm-hibernate with upsmon? Or any other
shutdown command besides the default one?
Thanks,
Jan
On 22.4.2016 4:43, holomek at seznam.cz wrote:
> Hi,
>
> While using pm-suspend script as the SHUTDOWNCMD, upsmon does not
> correctly handle its returned values and leaves UPS in the
> "ups.status: FSD OL CHRG" state forever.
>
> This is
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
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 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
2015 Sep 15
0
"upsmon -c fsd" cause system shutdown
[please keep the list CC'd - use "Reply All".]
On Sep 14, 2015, at 10:29 PM, d tbsky <tbskyd at gmail.com> wrote:
>
> 2015-09-14 20:28 GMT+08:00 Charles Lepple <clepple at gmail.com>:
>> "upsmon -c fsd" sets the FSD flag on all of the UPSes attached to upsd.
>
> my nut version is 2.7.3. as I said, "upsmon -c fsd" not only set
2020 Jan 02
0
upsmon -c fsd command in pfsense master does not shutdown Synology slave
I have pfsense set as the NUT master and my Synology NAS as a slave client.
I tried recreating a shutdown sequence by issuing a /usr/local/sbin/upsmon
-c fsd command in pfsense (so as to preserve battery lifetime while testing
all these) but the weird thing is that my Syno doesn't seem to get a hold of
the FSD event. My pfsense master and UPS shuts down properly though. As soon
as I issue the
2018 Sep 01
2
upsmon fails to start
On Saturday, 1 September 2018 17:50:13 BST Charles Lepple wrote:
> I don’t have the code in front of me at the moment, but my guess is that the
> config parser stopped parsing at the “#” character.
I suspected a rogue character was being interpreted and used `backticks`,
'single quotes' and then "double quotes", but all failed. I ended up removing
the offending #
2013 Dec 01
3
upsmon error: Unable to call shutdown command
In my "upsmon.conf" I've setted this option for shutdown command:
SHUTDOWNCMD "/usr/sbin/pm-hibernate"
but when I pull the plug on my ups in way to test if this command works,
I obtain this error (in /var/log/syslog):
Dec 1 13:39:03 ubux upsmon[4561]: parent: Unable to call shutdown command: /usr/sbin/pm-hibernate
Instead if I set this shutdown command:
2012 Jan 06
1
upsmon+snmp-ups does not shut down system
I've googled and RTFM'ed, but still can't solve this one. I hope you folks can.
This affects my entire computer cluster, but let's start simple: I've got a
computer running NUT; OS is Scientific Linux 5.5; kernel 2.6.18-274.12.1.el5xen.
It connects to an APC SMART-UPS via an APC SmartCard using the snmp-ups driver.
It generally works: upsmon will detect if the battery is low
2018 Sep 20
3
Upssched not getting called from UPSMON
Hi, I cant seem to get my upssched to get called by upsmon. Upsmon -c fsd just shuts down without the message I set or the one in upssched-cmd
/etc/ups/upsmon.conf:
MONITOR ups6 at localhost 1 <user> <pass> master
MONITOR ups8 at localhost 1 <user> <pass> master
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/sbin/upssched
NOTIFYMSG
2013 Dec 01
1
upsmon error: Unable to call shutdown command
> If you call "/usr/sbin/pm-hibernate" from the command line, does it
> execute correctly?
>
> Roger
Obviously.
Also thi command doesn't works with upsmon (but works from command line):
/usr/sbin/hibernate
2008 Feb 20
2
MGE pulsar evolution 3000 discharges without nut noticing
I'm running nut 2.0.1 with an MGE pulsar evolution 3000 with the
mge-utalk (serial) driver on NetBSD 3.1 .
I had a very strange occurance in my basement datacenter this early AM.
the following was logged by upslog:
20080219 023452 100.0 123.0 049.0 [OL CHRG] NA 60.00
20080219 023522 100.0 122.8 049.0 [OL CHRG] NA 60.00
20080219 023552 098.0 123.0 049.0 [OL DISCHRG] NA 60.00
20080219 023622
2016 Jul 12
3
Best practice to shutdown hosts which has not NUT via upssched
Hi
?? I need to shutdown a number of hosts which has not NUT from one which has it.
?? I tried to do it from upssched script (after upssched's timer) like this:
case $1 in
??????? earlyshutdown)
??????????????? logger -t upssched-cmd "Early shutdown is started"
??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh
??????????????? /usr/local/sbin/upsmon -c fsd
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
2015 Oct 28
5
The system doesn't shutdown
>
> Did you see a line in the journal similar to this ?
> Oct 06 22:49:54 pinta nut-delayed-ups-shutdown[1854]:
> nut-delayed-ups-shudown.service calling
> upsdrvctl to shut down UPS unit
Never after I disabled the service. I pasted the whole journal section of
the successful shutdown from last email. However I have been thinking about
this line
2013 Dec 01
0
upsmon error: Unable to call shutdown command
On Sun, 1 Dec 2013, Roberto Martelli wrote:
> In my "upsmon.conf" I've setted this option for shutdown command:
> SHUTDOWNCMD "/usr/sbin/pm-hibernate"
> but when I pull the plug on my ups in way to test if this command works,
> I obtain this error (in /var/log/syslog):
> Dec 1 13:39:03 ubux upsmon[4561]: parent: Unable to call shutdown command:
>
2005 Jun 28
1
upsmon/upssched on ups temperature
Hi All,
I was wondering what people are doing to shutdown their equipment based
on the temperature NUT grabs from a UPS? It doesn't appear that
upsmon(8) has an appropriate notify event for temperature levels.
For the time being, it looks like I'll write a simple perl wrapper
around upsc to get ups.temperature, but would love to use something
natively from NUT, if possible.
Also,
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,
2020 Sep 29
5
Question about hardware failures / FSD
Hello,
The UPS I am developing a driver to is able to report several flags for
critical hardware conditions, like overheat, overload, inverter failure,
output short etc. What should be the correct policy of operation when such
a condition occurs? I think that the an UPS in such a condition is not
reliable and therefore a system shutdown should be called. However, the
developer's manual and
2018 Sep 01
2
upsmon fails to start
Hi All,
I have noticed these messages in my logs:
=========================================
Sep 01 13:14:22 osmc upsd[1450]: listening on 127.0.0.1 port 3493
Sep 01 13:14:22 osmc upsd[1450]: listening on ::1 port 3493
Sep 01 13:14:22 osmc upsd[1450]: listening on 127.0.0.1 port 3493
Sep 01 13:14:22 osmc upsd[1450]: listening on ::1 port 3493
Sep 01 13:14:22 osmc upsd[1450]: Connected to UPS