search for: nocommwarntim

Displaying 20 results from an estimated 124 matches for "nocommwarntim".

Did you mean: nocommwarntime
2015 Aug 29
2
Loses connection after a month or so
Hi, I have a Liebert UPS which I have connected to a FreeNAS Box. I had all sorts of issues making FreeNAS (FreeBSD based) talk to the UPS over USB. My solution seemed to be to buy a Raspberry Pi then connect it to the UPS (works fine), then make my NAS read the UPS status from the Pi over a TCP/IP connection. Convoluted I know, but it works well...for about a month, then it just loses
2015 Oct 21
2
Quiet upsmon /var/log/messages chatter
...testing implementation of NUT features with APC and Tripp-Lite USB UPS interfaces. Things are going reasonably well. However, I'm seeing many more messages than I would like in /var/log/messages when I boot the system without the UPS connected (testing a failure scenario). I have configured NOCOMMWARNTIME 3600, which takes care to only broadcast to logged in terminals and send me emails once an hour. However, /var/log/messages is being filled with "upsmon[2391]: Poll UPS [tripplite at localhost] failed - Driver not connected" messages every five seconds. I cannot seem to find a way to r...
2015 Aug 31
0
Loses connection after a month or so
...http://www.networkupstools.org/docs/man/upsmon.html#_notify_events There is a similar event, "NOCOMM", which is probably closer to what you are looking for. The `upsmon` daemon checks to see if it has been in the lost-comms state for a certain amount of time (controlled by the "NOCOMMWARNTIME" variable in upsmon.conf; defaults to five minutes), and if so, upsmon triggers the NOCOMM event periodically. In your case, you wouldn't care about the periodic nature, but the NOCOMMWARNTIME delay prevents the Pi from rebooting immediately upon an error. You would then set up the NOCOM...
2015 Oct 22
0
Quiet upsmon /var/log/messages chatter
...testing implementation of NUT features with APC and Tripp-Lite USB UPS interfaces. Things are going reasonably well. However, I'm seeing many more messages than I would like in /var/log/messages when I boot the system without the UPS connected (testing a failure scenario). I have configured NOCOMMWARNTIME 3600, which takes care to only broadcast to logged in terminals and send me emails once an hour. However, /var/log/messages is being filled with "upsmon[2391]: Poll UPS [tripplite at localhost] failed - Driver not connected" messages every five seconds. I cannot seem to find a way to r...
2011 Jul 19
2
KIN-1500AP RM + Windows 2008 64-bit Standard R2 SP1 (nut 2.6.1)
...NCMD "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 AT ONLINE * CANCEL-TIMER onbattwarn AT LOWBATT * EXECUTE lowbattwarn AT ONBATT * START-TIMER timeshutdown 100 AT ONLINE * CANCEL-TIMER timeshutdown After start I can see couple neu...
2016 Oct 26
2
setting up CYBERPOWER CP1500PFCLCD
...OLLFREQALERT 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: FINALDELAY set to 5 Level CRITICAL 10/26/2016 10:46:17 Fatal error: insufficient power configured! Level CRITICAL 10/26/2016 10:46:17 Sum of power values........: 0 Level CRITICAL 10/26/2016 10:46:17 Minimum value (...
2016 Feb 08
1
UPS Socomec is unavailable appears in the logs
...run upsmon in the daemon or debug mode: Running upsc socomec at ip_socomec returns a list of all required values. OTOH, we find on all clients the folloging logs: upsmon[1608]: UPS socomec at ip_socomec is unavailable This appears regularly each little bit more than 300s and corresponds to the NOCOMMWARNTIME in the upsmon.conf. The log entry appears only for the Socomec UPS, not for the Galaxy. The process list shows that /sbin/upsmon is forking occasionally, generating a child in the Z state root 3294 0.0 0.0 10448 704 ? Ss 14:02 0:00 /sbin/upsmon nut 3295 0.0 0.0 1...
2012 Apr 11
1
NOTIFYCMD doesn't work from Windows service
...IFYMSG 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 NOTIFYFLAG FSD SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 I also tried NOTIFYCMD C:\\NUT\\shutdown.bat NOTIFYCMD "\"C:\\NUT\\shutdown.bat"" with no success. NUT 2.6.1-1 with replaced upsmon.exe from here: http://fbohe.free.fr/upsmon.exe. Windows 2003 R2 x64 Rusian. Master server is Debian Squeeze. Regards, Dmitry
2011 Jun 08
2
Misconfiguration of Windows MSI installer 2.6.0-1 with my Powerware 5115 connected via USB port
...xxxx 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 * CANCEL-TIMER onbattwarn AT LOWBATT * EXECUTE lowbattwarn AT ONBATT * START-TIMER timeshutdown 100 AT ONLINE * CANCEL-TIMER timeshutdown There are huge count of windows eve...
2020 Jan 01
2
Belkin USB UPS Not Turning Off
...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> ########### Cannot access <scriptname> ########### /etc/hosts.allow ########### ########### ps aux ########### nut 2333 0.0 0...
2006 Feb 14
3
Master privileges unavailable on UPS
...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 NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 What am I missing? Thanks! -- David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/
2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
OS name and version, MASTER SYSTEM has three APC smart UPS 3000 UPS connected via USB debian 8 "jessie" Linux pdxvhtst01 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux SLAVE SYSTEMS monitoring MASTER via IP debian 8 "jessie" Linux geaaetst01
2018 Sep 04
2
WinNUT Client Logs
...gs: 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 Upper McKinley Hill, Fort Bonifacio Taguig City, Philippines 1634 Direct +1-716-633-3...
2013 Jun 19
1
Cannot connect to a Eaton Ellipse Pulsar ASR/6000VA usbs
...orcing UPS shutdown on the master system POWERDOWNFLAG /etc/killpower # -------------------------------------------------------------------------- # RBWARNTIME - replace battery warning time in seconds RBWARNTIME 43200 # -------------------------------------------------------------------------- # NOCOMMWARNTIME - no communications warning time in seconds NOCOMMWARNTIME 300 # -------------------------------------------------------------------------- # FINALDELAY - last sleep interval before shutting down the system FINALDELAY 5 This is the output from the debug of usbhid-ups louis at b3:/dev/bus/usb/...
2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
...ALL NOTIFYFLAG FSD EXEC+SYSLOG+WALL NOTIFYFLAG COMMOK EXEC+SYSLOG+WALL NOTIFYFLAG COMMBAD EXEC+SYSLOG+WALL NOTIFYFLAG SHUTDOWN EXEC+SYSLOG+WALL NOTIFYFLAG REPLBATT EXEC+SYSLOG+WALL NOTIFYFLAG NOCOMM EXEC+SYSLOG+WALL NOTIFYFLAG NOPARENT EXEC+SYSLOG+WALL RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 upssched.conf CMDSCRIPT /bin/upssched-cmd SLAVE SYSTEM (1) nut.conf MODE=netclient upsmon.conf MONITOR TOPAPC at 172.16.1.158 1 geaaetst01 pass slave MONITOR MIDAPC at 172.16.1.158 1 geaaetst01 pass slave MONITOR BOTAPC at 171.16.1.158 1 geaaetst01 pass slave MINSUPPLIE...
2010 Jan 09
2
problem with mailing (nut 2.4.1 and a powermust650 -> megatec_usb)
...FYFLAG FSD SYSLOG+WALL+EXEC NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC NOTIFYFLAG NOPARENT SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 INALDELAY 5 the /root/upsmailer is just a simple shell script that mails the events, it looks like: #!/bin/bash RECIPIENT="controller at xxx" SCRIPTNAME=`basename $0` [ `echo $UPSNAME | wc -w` -eq "0" ] && UPSNAME="unknown" [ `echo $NOTIFYTYPE | wc...
2014 Sep 03
2
howto force shutdown if nut-snmp Communications lost
...$waitdownup; echo "`date +%m\ %d\ %H:%M:%S` exec ifconfig $eth up"; ifconfig $eth up; route add default gw $defaultrouter; ) & tail -f $syslog | egrep -v "CRON|snmp_ups_walk" ## send ^C if done ------------------------------------------------------ - test1 - DEADTIME=90, NOCOMMWARNTIME=130 - nut-2.2 nut-2.4 testvm:~# grep "^[A-Z]" /etc/nut/upsmon.conf MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 90 POWERDOWNFLAG /etc/killpower RBWARNTIME 43200 NOCOMMWARNTIME 130 FINALDELAY 5 MONITOR usv2-216 at localhost...
2006 Aug 08
1
2.0.1 upsmon memory leak
..._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 /sbin/upsmon (of course the process is erroring again) Aug 8 11:38:03 compa...
2020 Feb 18
2
UPS shuts down after restart
...nk 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 before with the 2.7.4 Raspbian package but havn't found the time to fix it....
2012 Oct 09
1
network-ups-tools won't shutdown my PC
...alhost 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 ups-on-battery AT ONLINE * EXECUTE ups-back-on-line When I unplug my UPS from power, I have a broadcast message saying so : fine. When I...