Displaying 20 results from an estimated 113 matches for "commok".
Did you mean:
common
2023 Jul 14
1
frequent COMMBAD/COMMOK notifications (every 3-6 minutes)
I'm running nut-2.8.0-3.el8.x86_64 on CentOS Stream 8 talking with an
APC Smart-UPS RT 5000 RM XL via a Network Management Card AP9619 (version
A10). Up to today I would receive occasional COMMBAD messages, then 5
minutes later I'd see a COMMOK.Maybe 1 or two a day.
Today I updated the firmware on the AP9619 from 3.7.2 to SUMX 3.9.3 and AOX
3.9.4, the most recent releases available for the card.
Now I am seeing COMMBAD, then a minute later COMMOK, roughly every 3-6
minutes. I don't think it's a network problem:
1000 packets tra...
2023 Jun 10
1
Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
...uot;
NOTIFYCMD /etc/nut/upssched-cmd
POLLFREQ 10
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 30
POWERDOWNFLAG /etc/killpower
NOTIFYMSG ONLINE "online"
NOTIFYMSG ONBATT "onbatt"
NOTIFYMSG LOWBATT "lowbatt"
NOTIFYMSG FSD "fsd"
NOTIFYMSG COMMOK "commok"
NOTIFYMSG COMMBAD "commbad"
NOTIFYMSG SHUTDOWN "shutdown"
NOTIFYMSG REPLBATT "replacebatt"
NOTIFYMSG NOCOMM "nocomm"
NOTIFYMSG NOPARENT "noparent"
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
NOTIFYF...
2023 May 27
2
unable to connect to APC UPS Connection Refused
...smon.conf: SHUTDOWN CMD "
NOTIFYCMD /etc/nut/upssched-cmd.sh
POLLFREQ 10
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 30
POWERDOWNFLAG /etc/killpower
NOTIFYMSG ONLINE "online"
NOTIFYMSG ONBATT "onbatt"
NOTIFYMSG LOWBATT "lowbatt"
NOTIFYMSG FSD "fsd"
NOTIFYMSG COMMOK "commok"
NOTIFYMSG COMMBAD "commbad"
NOTIFYMSG SHUTDOWN "shutdown"
NOTIFYMSG REPLBATT "replacebatt"
NOTIFYMSG NOCOMM "nocomm"
NOTIFYMSG NOPARENT "noparent"
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG LO...
2024 Feb 23
0
Getting two notifications of nocomm-timer expired when USB cable is pulled from the UPS
NUT 2.8.01
When I pull the USB cable from the UPS, I get two notifications of the nocomm-timer expired. The first notification is in the proper sequence, the second notification occurs after 'commok' occurs. Seems somehow that upssched-cmd is getting a second nocomm-timer expired delayed.
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240223/6ddbbe12/attachment.htm>
--------------...
2023 Jun 16
1
Dummy-ups cycles between online and onbatt every 5 minutes. (Nut 2.8.0)
...10"
NOTIFYCMD /usr/sbin/upssched
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
NOTIFYMSG ONLINE "online"
NOTIFYMSG ONBATT "onbatt"
NOTIFYMSG LOWBATT "lowbatt"
NOTIFYMSG FSD "fsd"
NOTIFYMSG COMMOK "commok"
NOTIFYMSG COMMBAD "commbad"
NOTIFYMSG SHUTDOWN "shutdown"
NOTIFYMSG REPLBATT "replacebatt"
NOTIFYMSG NOCOMM "nocomm"
NOTIFYMSG NOPARENT "noparent"
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
NOTIFYF...
2013 Mar 08
0
HowTo use upssched right.
...y UPS.
I define
In upsmon.conf:
RUN_AS_USER root
NOTIFYCMD /sbin/upssched
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 "Communications with UPS %s established"
NOTIFYMSG COMMBAD "Communications with UPS %s lost"
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
# NOTIFYFLAG FSD SYSLOG+WALL
NOTIFYFLAG COMMOK SYSLOG+EXEC
NOTIFYFLAG COMMBAD SYSLOG+EXEC
In...
2006 Jul 11
2
notifycmd problem
...S %s is getting line power"
NOTIFYMSG ONBATT "UPS %s is on battery"
NOTIFYMSG REPLBATT "The UPS %s battery is bad and needs to be replaced"
NOTIFYMSG LOWBATT "UPS %s is being shutdown by the master"
NOTIFYMSG FSD "Someone pulled the plug on %s"
NOTIFYMSG COMMOK "Communications established with the UPS on %s"
NOTIFYMSG COMMBAD "Communications lost to the UPS %s"
NOTIFYMSG SHUTDOWN "The system is being shutdown on %s"
NOTIFYMSG NOCOMM "A UPS %s is unavailable, can' be contacted"
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC...
2012 Sep 13
2
Early shutdowns and 2.6.5-1 package for Windows
...:
upsmon.conf
RUN_AS_USER upsmon
MONITOR upsa at 192.168.10.200 1 upsmon pass master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD "upssched.exe"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG "C:\\NUT\\killpower"
NOTIFYMSG COMMOK "Communications with UPS %s established"
NOTIFYMSG COMMBAD "Communications with UPS %s lost"
NOTIFYFLAG COMMOK SYSLOG+EXEC+WALL
NOTIFYFLAG COMMBAD SYSLOG+EXEC+WALL
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
upssched.conf
CMDSCRIPT "cmd.exe -C C:\\NUT\\1.cmd...
2020 Mar 10
2
Fwd: Windows upssched does not work
...ERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG C:\\NUT\\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 COMMOK "Communications with UPS %s established"
NOTIFYMSG COMMBAD "Communications with UPS %s lost"
NOTIFYMSG SHUTDOWN "Auto logout and shutdown proceeding"
NOTIFYMSG REPLBATT "UPS %s battery needs to be replaced"
NOTIFYMSG NOCOMM "UPS %s is unav...
2017 Jun 09
2
Apple Mac slave
On Thu, 8 Jun 2017, Robbie van der Walle wrote:
> After the first test and the NAS is restarted I had to change the
> setting battery.charge.low again to 80?
Does the NAS DSM reset battery.charge.low to 10 or is it internal to the
UPS? You will have to experiment by disconnecting the UPS control lead
from the NAS and connecting it (if possible) to the Mac. After setting to
80 and a
2007 Nov 09
2
UPSSched UPSNAME env variable
Hi everybody,
i'm trying to use the UPSNAME environment variable within the script
launched by upssched, and although it is correctly written and thus read by
my script, it doesn't get updated when multiple UPSes are configured.
To be more precise i'm monitoring 2 UPSes and using AT *EVENT* * *OPERATION*
*handle *to manage events in upssched.conf.
Am i wrong somewhere?
I'm
2020 Jun 21
2
Server did not shut down
2010 Jan 09
2
problem with mailing (nut 2.4.1 and a powermust650 -> megatec_usb)
...SYNC 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 COMMOK "Communications with UPS %s established"
NOTIFYMSG COMMBAD "Communications with UPS %s lost"
NOTIFYMSG SHUTDOWN "Auto logout and shutdown proceeding"
NOTIFYMSG REPLBATT "UPS %s battery needs to be replaced"
NOTIFYMSG NOCOMM "...
2005 Sep 20
2
upssched-cmd wrong call
Hi,
i am running nut-2.0.0-5 on Fedora core 3.
I have the following Problem:
In my upssched.conf i have set the Following Parameter:
CMDSCRIPT /usr/local/guzman/sbin/upssched-cmd
...
AT COMMBAD * START-TIMER upsgone 10
AT COMMOK * CANCEL-TIMER upsgone
...
Now if I pull the serial Plug, in my log i see the following error:
Event: upsgone
Execute command failure: /usr/local/guzman/sbin/upssched-cmd upsgone: No
such file or directory
The script exists:
-rwxr-xr-x root root /usr/local/guzman/sbin/upssched-cmd
And the pat...
2012 May 15
2
Timer Daemon doesn't start
...g.
--- upssched.conf ---
AT ONBATT usv1 START-TIMER VERZ2 120
AT ONLINE usv1 CANCEL-TIMER VERZ2
AT ONBATT usv1 START-TIMER VERZ5 300
AT ONLINE usv1 CANCEL-TIMER VERZ5
AT ONBATT usv1 START-TIMER VERZ8 480
AT ONLINE usv1 CANCEL-TIMER VERZ8
AT ONBATT * EXECUTE ONBATT
AT ONLINE * EXECUTE ONLINE
AT COMMOK * EXECUTE COMMOK
AT COMMBAD * EXECUTE COMMBAD
AT FSD * EXECUTE FSD
AT LOWBATT * EXECUTE LOWBATT
AT NOCOMM * EXECUTE NOCOMM
AT REPLBATT * EXECUTE REPLBATT
AT SHUTDOWN * EXECUTE SHUTDOWN
Here are the 3 timers which should be started (VERZ2, VERZ5, VERZ8).
--- upssched-cmd ---
[...]
case $1 in
COMM...
2014 Feb 25
3
NUT on Windows, Wall->message.exe
If there is a next Windows release, perhaps the default NOTIFYFLAG's
should be adjusted?
NOTIFYFLAG ONLINE SYSLOG
NOTIFYFLAG ONBATT SYSLOG
NOTIFYFLAG LOWBATT SYSLOG
NOTIFYFLAG FSD SYSLOG
NOTIFYFLAG COMMOK SYSLOG
NOTIFYFLAG COMMBAD SYSLOG
NOTIFYFLAG SHUTDOWN SYSLOG
NOTIFYFLAG REPLBATT SYSLOG
NOTIFYFLAG NOCOMM SYSLOG
NOTIFYFLAG NOPARENT SYSLOG
The 'wall' messages (message.exe) don't pop-up and worst case, I had so
many message.exe's running that all memory was consu...
2020 Mar 11
1
Fwd: Windows upssched does not work
...t have .exe suffix, and original
binary upssched-cmd is not executed (monitored with procexp), so I've
copied original upssched-cmd to upssched-cmd.exe and modified
upsmon.conf to:
NOTIFYCMD C:\\NUT\\bin\\upssched-cmd.exe
output of sched.log:
[11.03.2020-09:08 AM] commbad
[11.03.2020-09:08 AM] commok
[11.03.2020-09:10 AM] commbad
[11.03.2020-09:11 AM] commok
[11.03.2020-09:12 AM] commbad
[11.03.2020-09:12 AM] commok
But now, when upssched is working, notification is not logged, I mean,
that I can't log notification to file, as I was able with my own
script. With upssched I have only comman...
2012 Sep 11
1
Back UPS ES and data stale with disconnected device
...e: 1
20.158188 pollups: upsa at 192.168.10.200
20.158188 get_var: upsa at 192.168.10.200 / status
20.158188 Poll UPS [upsa at 192.168.10.200] failed - Data stale
...
But if the cable is already connected when the service is starting, it catches COMMBAD (cable disconnected) and COMMOK (cable connected again) notifications:
Network UPS Tools upsmon 2.6.5-3691:3709M
0.000000 UPS: upsa at 192.168.10.200 (master) (power value 1)
0.015600 Using power down flag file C:\killpower
0.015600 debug level is '5'
0.031200 Trying to connect to UPS [upsa at...
2012 Jan 28
2
No shutdown on empty battery
...SYNC 15
DEADTIME 15
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 COMMOK "Communications with UPS %s established"
NOTIFYMSG COMMBAD "Communications with UPS %s lost"
NOTIFYMSG SHUTDOWN "Auto logout and shutdown proceeding"
NOTIFYMSG REPLBATT "UPS %s battery needs to be replaced"
NOTIFYMSG NOCOMM "...
2020 Jan 26
1
Timer doesn't appear to start
...RA1500 at localhost lost
90.162235 Current power value: 1
90.162541 Minimum power value: 1
95.162828 pollups: deltec-PRA1500 at localhost
95.163045 get_var: deltec-PRA1500 at localhost / status
95.164228 parse_status: [OB]
95.164385 do_notify: ntype 0x0004 (COMMOK)
95.164502 Communications with UPS deltec-PRA1500 at localhost established
160.214327 ups_on_line: deltec-PRA1500 at localhost (first time)
160.214426 do_notify: ntype 0x0000 (ONLINE)
160.214537 UPS deltec-PRA1500 at localhost on line power
I've checked to make sure PI...