Displaying 20 results from an estimated 128 matches for "rbwarntime".
2018 Feb 12
1
Notification delay (COMMBAD)
Hello
Is it possible to limit the frequency of specific notifications? In 2.7.4
it seems to be possible only for REPLBATT via RBWARNTIME, but that's it.
My specific problem is that the UPS got disconnected and before I got hold
of the server to turn the upsmon off my mailbox got flooded with hundreds
of messages.
It probably doesn't make sense for all notification types, but for COMMBAD
it would be fairly useful.
Thank...
2011 Jul 19
2
KIN-1500AP RM + Windows 2008 64-bit Standard R2 SP1 (nut 2.6.1)
...UPPLIES 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
AT ONLINE * CANCEL-TIMER onbattwarn
AT LOWBATT * EXECUTE lowbattwarn
AT ONBATT * START-TIMER timeshutdown 100
AT ONLINE * CANCEL-TIMER timeshutdown
After start...
2016 Oct 26
2
setting up CYBERPOWER CP1500PFCLCD
...oad: 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: 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...
2010 Nov 16
2
Shutdown script does not trigger
...:
[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/upssched.lock
# the timers, here 30 sec after the ONBAT...
2012 Apr 11
1
NOTIFYCMD doesn't work from Windows service
...llpower"
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
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...
2011 Jun 08
2
Misconfiguration of Windows MSI installer 2.6.0-1 with my Powerware 5115 connected via USB port
...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 * CANCEL-TIMER onbattwarn
AT LOWBATT * EXECUTE lowbattwarn
AT ONBATT * START-TIMER timeshutdown 100
AT ONLINE * CANCEL-TIMER timeshutdown
There are huge...
2020 Jan 01
2
Belkin USB UPS Not Turning Off
...nusb 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> ###########
Cannot access <scriptname>
########### /etc/hosts.allow ###########
########### ps aux ###########
nu...
2006 Feb 14
3
Master privileges unavailable on UPS
...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
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
...ere 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 Upper McKinley Hill, Fort Bonifacio
Taguig City, Philippines 1634
Dir...
2013 Jun 19
1
Cannot connect to a Eaton Ellipse Pulsar ASR/6000VA usbs
...--------------------------
DEADTIME 15
# --------------------------------------------------------------------------
# POWERDOWNFLAG - Flag file for forcing 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
# --------------------------------------------------------------------------
# FI...
2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
...EXEC+SYSLOG+WALL
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 p...
2010 Jan 09
2
problem with mailing (nut 2.4.1 and a powermust650 -> megatec_usb)
...OG+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
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"
[ `ec...
2006 Aug 08
1
2.0.1 upsmon memory leak
...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 /sbin/upsmon
(of course the process is erroring again)
A...
2020 Feb 18
2
UPS shuts down after restart
...own 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 before with the 2.7.4 Raspbian package but havn't found...
2012 Oct 09
1
network-ups-tools won't shutdown my PC
...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 replug my UPS to...
2006 Aug 25
2
suse linux and nut
...E 15
POWERDOWNFLAG /etc/killpower
NOTIFYFLAG ONLINE SYSLOG
NOTIFYFLAG COMMOK SYSLOG
NOTIFYFLAG SHUTDOWN SYSLOG
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
NOTIFYFLAG FSD SYSLOG+WALL+EXEC
NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
/etc/ups/upsd.users
[upsmaster]
password = okeefe
allowfrom = localhost
upsmon master
[upsslave]
password = okeefe
allowfrom = localhost
upsmon slave
i tried:
/usr/lib/ups/driver/powercom -DD -u root -x vend...
2013 Jun 11
0
several problems with Powercom BNT-500AP
...Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x0a, Offset: 6, Size: 1, Value: 1
> It happened for 9 times, but the message appeared only on first.
Correct, upsmon throttles the REPLBATT event:
http://www.networkupstools.org/docs/man/upsmon.conf.html (search for RBWARNTIME)
> Broadcast Message from nut at rasp
> (somewhere) at 17:33 ...
>
> UPS BNT500AP at localhost on battery
> occurred when UPS.PowerSummary.PresentStatus.ACPresent turned to 0 on this line:
> 10921.069403 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportI...
2006 Nov 16
6
FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups & upsd
...allowfrom = localhost
upsmon master
# Network UPS Tools: example upsmon configuration
RUN_AS_USER root
MONITOR mge@localhost 1 monuser monuser master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -p now"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
Any idea, anyone ?
Regards
2006 Jan 09
2
Master privileges unavailable
...IFYCMD /etc/nut/notifyme_cmd.sh
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
NOTIFYFLAG FSD SYSLOG+EXEC
NOTIFYFLAG COMMOK SYSLOG+EXEC
NOTIFYFLAG COMMBAD SYSLOG
NOTIFYFLAG SHUTDOWN SYSLOG+EXEC
NOTIFYFLAG REPLBATT SYSLOG+EXEC
NOTIFYFLAG NOCOMM SYSLOG+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
DEADTIME 15
HOSTSYNC 15
POLLFREQ 15
POLLFREQALERT 5
</upsmon.conf>
I got two problems:
1. Master privileges unavailable.
Jan 9 16:53:15 localhost upsd[5066]: upsd.conf: invalid directive MAXAGE=25
Jan 9 16:53:15 localhost upsd[5066]: Connected to UPS...