search for: hostsync

Displaying 20 results from an estimated 141 matches for "hostsync".

2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
...pected but the slave systems never shutdown eventhough I believe that all the configs are properly set the slaves should either shutdown when there is only one ups and it is running low on battery power offline or worst case shutdown after they cannot communicate with the master for longer than the HOSTSYNC 15 or UPS for longer than the DEADTIME 15 [otakHG_sigLogo] Drew Plaster | Systems Administrator 808 SW 3rd Avenue, Suite 300 | Portland, OR 97204 o: 503.415.2385 | c: 503.484.0168 | f: 503.415.2498 www.otak.com<http://www.otak.com> P at Otak, we consider the environment before printing em...
2020 Aug 14
8
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
So I finally got a test in after I changed my RPi to the master and everything else (including my Synology) to slaves.  Before I did that though, I timed the shutdown of my Synology since it is the slowest slave to shutdown.  It took 40 seconds to shutdown, so I changed HOSTSYNC in upsmon.conf on the master (“Proton”) to 60.  I then did a test ("sudo upsmon -c fsd”). The slaves shutdown, then eventually the master, but the Synology never powered down and the UPS powered off which cut the power to it while it was still on.  Anyone know what the heck is going on?  I’m f...
2012 Oct 09
1
network-ups-tools won't shutdown my PC
...esc = <<EATON Ellipse ASR USBS 1600>> upsd.conf : MAXAGE 15 LISTEN 127.0.0.1 3493 MAXCONN 32 ACL all 0.0.0.0/0 ACL localhost 127.0.0.1/27 ACCEPT localhost REJECT all upsd.users : [ups] password = ups upsmon.conf MONITOR ellipse at localhost 1 ups ups master MINSUPPLIES 1 FINALDELAY 5 HOSTSYNC 15 SHUTDOWNCMD "usr/bin/systemctl poweroff" POWERDOWNFLAG /etc/killpower POLLFREQ 5 POLLFREQALERT 5 DEADTIME 15 NOCOMMWARNTIME 300 RBWARNTIME 43200 upssched.conf : CMDSCRIPT /opt/bin/upssched-cmd PIPEFN /var/run/nut/upssched.pipe LOCKFN /var/run/nut/upssched.lock AT ONBATT * EXECUTE up...
2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
...pdxvhtst02 slave upsmon.conf MONITOR TOPAPC at localhost 1 upsmon pass master MONITOR MIDAPC at localhost 1 upsmon pass master MONITOR BOTAPC at localhost 1 upsmon pass master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h now" NOTIFYCMD /bin/notifynetadmins POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 NOTIFYMSG ONLINE "UPS %s on line power" NOTIFYMSG ONBATT "UPS %s on battery" NOTIFYMSG LOWBATT "UPS %s battery is low" NOTIFYMSG FSD "UPS %s: forced shutdown in progress" NOTIFYMSG COMMOK "Communication...
2011 Jul 19
2
KIN-1500AP RM + Windows 2008 64-bit Standard R2 SP1 (nut 2.6.1)
...psd.users: * * [monuser] password = xxxxxxxx upsmon master upsmon.conf: * * MONITOR KIN1500 at 192.168.1.2 1 monuser xxxxxxxx master MINSUPPLIES 1 SHUTDOWNCMD "C:\\WINDOWS\\system32\\shutdown.exe -s -t 0" NOTIFYCMD /sbin/upssched POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG "C:\\killpower" NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 upssched.conf: * * CMDSCRIPT /bin/upssched-cmd AT ONBATT * START-TIMER onbattwarn 10...
2016 Oct 26
2
setting up CYBERPOWER CP1500PFCLCD
...016 10:46:17 Config Load: NOTIFYCMD set to "c:\Program Files\WinNUT\alertPopup.exe" Level INFO 10/26/2016 10:46:17 Config Load: POLLFREQ set to 5 Level INFO 10/26/2016 10:46:17 Config Load: POLLFREQALERT set to 5 Level INFO 10/26/2016 10:46:17 Config Load: HOSTSYNC set to 15 Level INFO 10/26/2016 10:46:17 Config Load: DEADTIME set to 15 Level INFO 10/26/2016 10:46:17 Config Load: RBWARNTIME set to 43200 Level INFO 10/26/2016 10:46:17 Config Load: NOCOMMWARNTIME set to 300 Level INFO 10/26/2016 10:46:17 Config Load: FINA...
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 contain: #!/bin/bash if (test -f /etc/killpower) then echo "Killing the power, bye!" /sbin/upsdrvctl shutdown sleep 120 # uh oh... the UPS powerof...
2010 Nov 16
2
Shutdown script does not trigger
...sd.conf : LISTEN 127.0.0.1 3493 /etc/nut/upsd.users : [admin] password = **** actions = SET instcmds = ALL [upsmon] password = **** upsmon master /etc/nut/upsmon.conf : RUN_AS_USER nut MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower RBWARNTIME 43200 FINALDELAY 5 MONITOR dell at localhost 1 upsmon **** master /etc/nut/upssched.conf : CMDSCRIPT /etc/nut/sched/upssched.sh (this script exists but seems never to be executed...) PIPEFN /etc/nut/sched/upssched.pipe LOCKFN /etc/nut/sched/u...
2012 Apr 11
1
NOTIFYCMD doesn't work from Windows service
...esn'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 "C:\\NUT\\shutdown.bat" NOTIFYCMD "C:\\NUT\\shutdown.bat" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG "C:\\killpower" NOTIFYMSG ONLINE ONLINE NOTIFYMSG ONBATT ONBATT NOTIFYMSG LOWBATT LOWBATT NOTIFYMSG FSD FSD NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC...
2011 Jun 08
2
Misconfiguration of Windows MSI installer 2.6.0-1 with my Powerware 5115 connected via USB port
...STEN 192.168.1.12 3493 *upsd.users:* [monuser] password = xxxxxxxx upsmon master *upsmon.conf:* MONITOR PW5115 at 192.168.1.12 1 monuser xxxxxxxx master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /sbin/upssched POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 *upssched.conf:* CMDSCRIPT /bin/upssched-cmd AT ONBATT * START-TIMER onbattwarn 10 AT ONLINE * C...
2020 Jan 01
2
Belkin USB UPS Not Turning Off
...s ########### [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 ########### <scriptname> #######...
2006 Feb 14
3
Master privileges unavailable on UPS
...llowfrom = localhost actions = SET instcmds = ALL # Network UPS Tools: example upsmon configuration RUN_AS_USER nutmon MONITOR lupin1500AVR@localhost 1 monmaster * master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /usr/local/ups/bin/notifyme POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC NOTIFYFLAG FSD SYSLOG+WALL+EXEC NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC NOTIFYFLA...
2018 Sep 04
2
WinNUT Client Logs
...to configure it for the first time and I cannot make it to work. Here are my settings: Nut.conf MODE=netclient Upsmon.conf MONITOR ups at pfsense 1 <username> <password> slave MINSUPPLIES 1 SHUTDOWNCMD "C:\\WINDOWS\\system32\\shutdown.exe -s -t 0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /usr/local/ups/etc/killpower RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 Thank you. Regards, Kevin Mychal M. Ong Sr Infrastructure Engineer, Microsoft Technology Services - Messaging Global Infrastructure Operations Ingram Micro Inc. 4F Three World Square, 22 U...
2013 Jun 19
1
Cannot connect to a Eaton Ellipse Pulsar ASR/6000VA usbs
...------------------------------------------------------------------- # POLLFREQ <n> POLLFREQ 5 # -------------------------------------------------------------------------- # POLLFREQALERT <n> POLLFREQALERT 5 # -------------------------------------------------------------------------- # HOSTSYNC - How long upsmon will wait before giving up on another upsmon HOSTSYNC 15 # -------------------------------------------------------------------------- DEADTIME 15 # -------------------------------------------------------------------------- # POWERDOWNFLAG - Flag file for forcing UPS shutdown on...
2020 Sep 17
3
Shutdown order for servers
Hello to All! It might be not exactly NUT question but implementation. I have a rack with one UPS and several servers getting power from this device. One server is a master and other are slaves. All systems are running Debian 4.15.3 kernel and APC UPS. Everything works fine but what I need is to make an order for shutting down servers as they have different roles. Is it possible to configure SQL
2023 Oct 27
2
FSD sequence: Waiting for bigger and slower clients before cutting power
...oop, for the INT/TERM/QUIT signal (it would still be necessary to configure the service manager such that upsmon is terminated as late as possible). The primary could start shutting down its services in the meantime, but upsmon would hold the poweroff until the secondaries have disconnected (or HOSTSYNC expires). Surely this would be better than cranking up FINALDELAY on the primary and always waiting for a fixed period of time, as suggested in https://alioth-lists.debian.net/pipermail/nut-upsuser/2012-April/007550.html? I guess I could try writing a SHUTDOWNCMD script that doesn't exit unt...
2010 Jan 09
2
problem with mailing (nut 2.4.1 and a powermust650 -> megatec_usb)
...ng the megatec_usb driver. Everything works fine except for the mailing when something happens. My upsmon looks like this: MONITOR powermust650 at localhost 1 local controller master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /root/upsmailer POLLFREQ 10 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 45 POWERDOWNFLAG /etc/killpower NOTIFYMSG ONLINE "UPS %s on line power" NOTIFYMSG ONBATT "UPS %s on battery" NOTIFYMSG LOWBATT "UPS %s battery is low" NOTIFYMSG FSD "UPS %s: forced shutdown in progress" NOTIFYMSG COMM...
2006 Aug 08
1
2.0.1 upsmon memory leak
...re: Connection refused Using the configuration file of: MONITOR sm700_0@192.168.1.21 1 monitoruser password slave MONITOR rm3000_0@192.168.1.22 0 monitoruser password slave MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" # NOTIFYCMD /usr/local/ups/bin/notifyme POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 Upsmon is: companyfs1:/var/log# /sbin/upsmon -V Network UPS Tools upsmon 2.0.1 Rehupping the process companyfs1:/tmp# ps aux | grep [n]ut nut 30369 0.0 0.1 1720 756 ? S 11:31 0:00 /s...
2020 Feb 18
2
UPS shuts down after restart
...oger, Hi all,   > Does upsmon.conf specify a shutdown on LB? I think so. You mean SHUTDOWNCMD? The relevant parts of my upsmon.conf (notifications removed): MONITOR ups at localhost 1 upsmaster secret master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" POLLFREQ 5 POLLFREQALERT 2 HOSTSYNC 15 DEADTIME 40 POWERDOWNFLAG /etc/killpower RBWARNTIME 43200 NOCOMMWARNTIME 1800 FINALDELAY 1 > What happens if you let the battery power the system until LB is reached? It's the same :-( > How old is this battery? About half a year. But I already went into this issue some months befo...
2015 Jul 14
1
New questions
...all is required in this file. ?Lookingat just the first part of the example from Price, I see : [CODE]# /etc/ups/upsmon.conf?MONITOR Eaton-66781 at localhost 1 upsmaster sekret master?MINSUPPLIES 1?SHUTDOWNCMD "/sbin/shutdown -h +0"?NOTIFYCMD /usr/sbin/upssched?POLLFREQ 5?POLLFREQALERT 5?HOSTSYNC 15?DEADTIME 15?POWERDOWNFLAG /etc/killpower[CODE] I have modified the MONITOR line as appropriate for my system but wonder about a coupleof entries. ?The referenced binary '/usr/sbin/upssched' appears to be in '/sbin' not '/usr/sbin' .Is that the '/sbin/upssched' the...