search for: nutshutdown

Displaying 20 results from an estimated 43 matches for "nutshutdown".

2016 May 08
2
cyberpower ups need to manully turn on the switch
...when the main electrical power is >> back. >> > > It sounds as if you are not sending a delayed command to the UPS to turn > it off. Are you using a GNU/Linux distribution with systemd? Which > version of nut are you using? Do you have > /usr/lib/systemd/system-shutdown/nutshutdown enabled? > > Roger > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser > -------------- next part -------------- An HTML attachment was scrubb...
2020 Jan 01
2
Belkin USB UPS Not Turning Off
...24 ########### /etc/nut/upsd.users ########### [local_mon] password = ********* upsmon master ########### /etc/nut/upsmon.conf ########### MONITOR belkinusb at localhost 1 local_mon ********* master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /home/android/nutShutdown.sh POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower NOTIFYMSG ONBATT "UPS %s on battery" NOTIFYFLAG ONBATT WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 ########### /etc/nut/upssched.conf ########### CMDSCRIPT /bin/upssched-cmd...
2018 Feb 01
2
CentOS 7, systemd, nut-monitor, and failing to shut down the UPS
...d, and The Right and True Thing to Do<tm>. However, the default scripts provided in the EPEL RPM aren't actually doing it. The host halts as expected but the UPS never gets the message. After a lot of false leads and frustration I narrowed it down to the /usr/lib/systemd/system-shutdown/nutshutdown script. It _appears_ that the calls to "upsmon -K" and "upsdrvctl shutdown" can't actually do anything because the USB device is in use. This _implies_ to me that nut-driver is still running, even this late in the shutdown process. I've "fixed" this problem by...
2013 Aug 15
2
NUT on openSUSE 12.3 requires additional systemd service unit
...t; What exactly is this supposed to do? The proposed service unit fixes an openSUSE 12.3 problem, in which the UPS is not powered off on system shutdown. > When system is shutting down because of power failure (and low battery) > ups should be powered off with /lib/systemd/system-shutdown/nutshutdown > script. In openSUSE 12.3 there is no directory /lib/systemd/system-shutdown, and no script "nutshutdown". I am guessing that you use Fedora. > That's also the correct location for ups shutdown script. My original script was in /lib/systemd and I was told in the systemd-d...
2019 Jul 18
2
Another New User Question - Notify Script Not Running
2020 Jan 01
0
Belkin USB UPS Not Turning Off
...ings improperly configured? Any suggestions? Thanks and > happy new year! > ########### /etc/nut/upsmon.conf ########### > MONITOR belkinusb at localhost 1 local_mon ********* master > MINSUPPLIES 1 > SHUTDOWNCMD "/sbin/shutdown -h +0" > NOTIFYCMD /home/android/nutShutdown.sh > POLLFREQ 5 > POLLFREQALERT 5 > HOSTSYNC 15 > DEADTIME 15 > POWERDOWNFLAG /etc/killpower > NOTIFYMSG ONBATT "UPS %s on battery" > NOTIFYFLAG ONBATT WALL+EXEC > RBWARNTIME 43200 > NOCOMMWARNTIME 300 > FINALDELAY 5 > ########### /et...
2013 Aug 14
0
NUT on openSUSE 12.3 requires additional systemd service unit
...SR 1500 USBS. 9 seconds after server poweroff, the > UPS powers off. When wall power returns the server restarts correctly. What exactly is this supposed to do? When system is shutting down because of power failure (and low battery) ups should be powered off with /lib/systemd/system-shutdown/nutshutdown script. That's also the correct location for ups shutdown script. It's executed after everything else. Using Before=umount.target is especially bad bad idea. It's not guaranteed that umount sync can finish in time, so you can have power down during filesystem sync with all the conseq...
2013 Aug 16
0
NUT on openSUSE 12.3 requires additional systemd service unit
...n openSUSE 12.3 problem, in which the > UPS is not powered off on system shutdown. you mean regular shutdown or power failure shutdown? >> When system is shutting down because of power failure (and low >> battery) ups should be powered off with >> /lib/systemd/system-shutdown/nutshutdown script. > > In openSUSE 12.3 there is no directory /lib/systemd/system-shutdown, and > no script "nutshutdown". I am guessing that you use Fedora. That's odd, nutshutdown is part of upstream tarball and should be in place when nut is configured to use systemd http://anons...
2016 May 09
2
cyberpower ups need to manully turn on the switch
Hi centos 6.3 uses traditional SysV script ( not systemctl) here is the /etc/init.d/ups ( script) assuming it similar to nutshutdown # more /etc/init.d/ups #! /bin/bash # # ups: Starts the Network UPS Tools # # chkconfig: - 26 74 # description: Network UPS Tools is a collection of programs which provide a common \ # interface for monitoring and administering UPS hardware. # processname: upsd # config: /etc/ups/ # config: /etc/...
2017 May 15
1
Fw: [Nut-upsdev] POWERCOM-UPS-USB : UPS Shutdown
...gt; CC. Do you have a script in a systemd system-shutdown directory which calls > "upsdrvctl shutdown" ? > > ==> No Once the command "upsdrvctl shutdown" works, you will need to incorporate it in your shutdown process. NUT 2.7.4 includes file .../scripts/systemd/nutshutdown . Does Ubunti install this? > 5. File = notifycmd > #!/bin/bash > # > # NUT NOTIFYCMD script > PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin > trap "exit 0" SIGTERM > if [ "$NOTIFYTYPE" = "ONLINE" ]...
2016 May 08
0
cyberpower ups need to manully turn on the switch
...when power returns. To stop the UPS from beeping, you must turn it off. > ups.delay.shutdown: 20 > ups.delay.start: 30 > > is it something related? Yes, they are related: the two ups.delay values are used by the program which turns off the UPS. This program is called by by script nutshutdown which is part of the nut package. Do you have this script installed? What does command "systemctl status nutshutdown" report? Roger
2018 Feb 02
0
CentOS 7, systemd, nut-monitor, and failing to shut down the UPS
On Thu, 1 Feb 2018, Lee Damon wrote: > I've "fixed" this problem by modifying the nutshutdown script: > #!/bin/sh > # stop nut driver to free up access to the device > /sbin/systemctl stop nut-driver > # make sure it has time to die > sleep 2 > # check to see if we need to actually shutdown the UPS then do it > /usr/sbin/upsmon -K >/dev/null 2>&1 &&...
2019 Jul 18
0
Another New User Question - Notify Script Not Running
On Thu, 18 Jul 2019, David White wrote: > NOTIFYCMD? /home/android/nutShutdown.sh > NOTIFYMSG? ONBATT? "USP %s on battery" > NOTIFYFLAG? ONBATT? EXEC Perhaps before plunging into upsmon debugging, and debugging your own custom NOTIFYCMD script, you could get the basic notifications of upsmon working using more complete NOTIFYFLAG and NOTIFYMSG declarations...
2013 Aug 10
4
NUT on openSUSE 12.3 requires additional systemd service unit
OpenSUSE 12.3 has fully embraced systemd, but to get NUT working correctly now requires some further systemd engineering in addition to the usual NUT configuration files. A new systemd service unit is needed to power off the UPS. The service unit consists of a new file /etc/systemd/system/ups-delayed-shutdown.service [Unit] Description=Initiate delayed UPS shutdown
2017 May 17
1
Fw: [Nut-upsdev] POWERCOM-UPS-USB : UPS Shutdown
Good Day Roger AA. notice that during the test, you have little or no load, since despite being in state OB DISCHRG the battery.charge is still 100. It's best to perform such tests with a dummy load such as a table lamp and an old fashioned incandescent 100 watt bulb. ==> Yes. I got it and try to ascend load as below results dinow-All-Series:~# upsc pcmups Init SSL without
2020 Jan 01
2
Belkin USB UPS Not Turning Off
...Any suggestions? >> Thanks and happy new year! > >> ########### /etc/nut/upsmon.conf ########### >> MONITOR belkinusb at localhost 1 local_mon ********* master >> MINSUPPLIES 1 >> SHUTDOWNCMD "/sbin/shutdown -h +0" >> NOTIFYCMD /home/android/nutShutdown.sh >> POLLFREQ 5 >> POLLFREQALERT 5 >> HOSTSYNC 15 >> DEADTIME 15 >> POWERDOWNFLAG /etc/killpower >> NOTIFYMSG ONBATT "UPS %s on battery" >> NOTIFYFLAG ONBATT WALL+EXEC >> RBWARNTIME 43200 >> NOCOMMWARNTIME 300 >> FI...
2019 Jul 20
2
Another New User Question - Notify Script Not Running
...wbie I was simply following the documented "simple" way described here <https://networkupstools.org/docs/user-manual.chunked/ar01s07.html>. Thanks to all! On 7/18/2019 3:38 PM, Roger Price wrote: > On Thu, 18 Jul 2019, David White wrote: > >> NOTIFYCMD? /home/android/nutShutdown.sh >> NOTIFYMSG? ONBATT? "USP %s on battery" >> NOTIFYFLAG? ONBATT? EXEC > > Perhaps before plunging into upsmon debugging, and debugging your own > custom NOTIFYCMD script, you could get the basic notifications of upsmon > working using more complete NOTIFYFLAG an...
2016 May 07
2
cyberpower ups need to manully turn on the switch
Hi I have CP825AVR-G UPS. sometimes the UPS is shutdown due to whatever reason. But the annoying thing is even if the electrical power is back, that UPS will continue to beep, and I have to manually turn on the switch button in order for it to supply the load/power. I am wondering if there is any setting in the UPS I need to config? I just want the UPS to supply the power when the main
2017 May 16
2
Fw: [Nut-upsdev] POWERCOM-UPS-USB : UPS Shutdown
...tart: 755760 ups.vendorid: 0d9f ----------------------------------------------------------------------------------- CC. Once the command "upsdrvctl shutdown" works, you will need to incorporate it in your shutdown process. ==> I got it NUT 2.7.4 includes file .../scripts/systemd/nutshutdown . Does Ubunti install this? ==> Yes. Ubuntu haved installed this as below contents dinow-All-Series:/lib/systemd/system-shutdown$ cat nutshutdown #!/bin/sh /sbin/upsmon -K >/dev/null 2>&1 && /sbin/upsdrvctl shutdown ---------------------------------------------------------...
2018 Jan 25
0
HCL Zinto 800 supported by blazer_ser and blazer_usb
...t: 180 ups.firmware: 01986.01 ups.load: 11 ups.mfr: ups.model: ZINTO 800 ups.status: OL ups.temperature: 21.0 ups.type: offline / line interactive The shutdownsequence stops first the VMs an finally we need shutdown -h +0 Additional in the systemshutdown is "/usr/lib/systemd/system-shutdown/nutshutdown" needed. Produtpage: https://www.online-usv.de/de/produkte/z/bilder.php -- best regards Guido Schubach ---------------------------------------------------------------------- Dipl.-Ing. Guido Schubach, BRAIN GmbH Telefon: +49 89 179104-112 Fax: +49 89 179104-212 E-Mail:...