Displaying 20 results from an estimated 126 matches for "commbad".
Did you mean:
commabd
2008 Dec 08
1
Exclude COMMBAD status as a shutdown event?
Hi,
As my subject says, I am struggling with the shutdown behaviour of my
NUT slaves, when the communication to the master is bad (COMMBAD).
From upsmon.conf:
#
--------------------------------------------------------------------------
# SHUTDOWNCMD "<command>"
#
# upsmon runs this command when the system needs to be brought down.
Ok.... obviously, in the default configuration upsmon decides to brin...
2018 Feb 12
1
Notification delay (COMMBAD)
...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.
Thanks
Michal
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...
2023 Jun 10
1
Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
...EQ 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...
2023 May 27
2
unable to connect to APC UPS Connection Refused
...file /etc/killpower
May 27 09:15:17 RaspBerry-Pi-3 nut-monitor[2953]: upscli_init called but SSL wasn't compiled in
May 27 09:15:17 RaspBerry-Pi-3 nut-monitor[2953]: UPS [ups at localhost]: connect failed: Connection failure: Connection refused
May 27 09:15:17 RaspBerry-Pi-3 nut-monitor[2953]: commbad
May 27 09:15:17 RaspBerry-Pi-3 upsched-cmd.sh:: upsched-cmd.sh running
May 27 09:15:17 RaspBerry-Pi-3 upssched:: commbad
May 27 09:15:17 RaspBerry-Pi-3 nut-monitor[2954]: Network UPS Tools upsmon 2.8.0.1
May 27 09:15:22 RaspBerry-Pi-3 nut-monitor[2953]: UPS [ups at localhost]: connect failed: Conne...
2013 Sep 01
0
System Shutting Down Shortly After Boot, COMMBAD, "Writing Error", "Data Receiving Error"
I've been having a problem with my system during boot, which results in a
upsd/upsmon COMMBAD event shutting the system down shortly after it is
started. The shutdown is dependent upon the number of processes started at
boot time, and their load. Fewer processes and lighter load, and there is
no shutdown. More processes and heavy load cause upsd/upsmon to shut the
system down shortly aft...
2015 Mar 31
3
Tripplite SNMPwebcard communication lost and established randomly
...>
> I will also mention that even when not setting pollfreq (leave as default) the issue still occurs.
>
It looks like the default for pollfreq is actually 30 on snmp-ups, which means you would want DEADTIME to be at least 2x that in order for a single stale data event to not trigger the COMMBAD message, and the default is only 15. As you can imagine, choosing default values that work across all the UPS models is somewhat tricky.
> FreeNAS has an additional parameters area to add to the upsmon.conf. I verified it does actually write to the config file.
>
Good to know.
> The messa...
2024 Feb 23
0
Getting two notifications of nocomm-timer expired when USB cable is pulled from the UPS
...chment.htm>
-------------- next part --------------
Feb 23 09:41:25 windows10production kernel: [66939.326838] usb 1-1.2: USB disconnect, device number 5
Feb 23 09:41:29 windows10production upssched-cmd:: 2024-02-23_09.41.29 upssched-cmd running
Feb 23 09:41:29 windows10production upssched-cmd:: commbad
Feb 23 09:42:07 windows10production upssched-cmd:: 2024-02-23_09.42.07 upssched-cmd running
Feb 23 09:42:07 windows10production upssched-cmd:: nocomm-timer-expired
Feb 23 09:42:11 windows10production kernel: [66985.190489] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
Feb 23 09:42:11...
2013 Mar 08
0
HowTo use upssched right.
...pssched
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 upssched.conf:
CMDSCRIPT /etc/nut/upssched/upssched.sh
PIPEFN /etc/nu...
2023 Jun 16
1
Dummy-ups cycles between online and onbatt every 5 minutes. (Nut 2.8.0)
...REQ 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
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG...
2012 Sep 13
2
Early shutdowns and 2.6.5-1 package for Windows
...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"
PIPEFN "C:\\NUT\\pipefn.lock"
LOCKFN "C:\\NUT\...
2006 Jul 11
2
notifycmd problem
...y"
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
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
NOTI...
2015 Mar 31
0
Tripplite SNMPwebcard communication lost and established randomly
...h an lacp lagg.
I will also mention that even when not setting pollfreq (leave as default) the issue still occurs.
It looks like the default for pollfreq is actually 30 on snmp-ups, which means you would want DEADTIME to be at least 2x that in order for a single stale data event to not trigger the COMMBAD message, and the default is only 15. As you can imagine, choosing default values that work across all the UPS models is somewhat tricky.
FreeNAS has an additional parameters area to add to the upsmon.conf. I verified it does actually write to the config file.
Good to know.
The messages I posted a...
2012 Sep 11
1
Back UPS ES and data stale with disconnected device
...NIED]
0.031200 Current power value: 1
0.046800 Minimum power value: 1
5.054409 pollups: upsa at 192.168.10.200
5.054409 get_var: upsa at 192.168.10.200 / status
5.054409 Poll UPS [upsa at 192.168.10.200] failed - Data stale
5.070009 do_notify: ntype 0x0005 (COMMBAD)
5.070009 Communications with UPS upsa at 192.168.10.200 lost
5.085609 Current power value: 1
5.085609 Minimum power value: 1
10.097895 pollups: upsa at 192.168.10.200
10.097895 get_var: upsa at 192.168.10.200 / status
10.097895 Poll UPS [upsa at 192.168.10.20...
2024 Mar 08
1
NUT 2.8.1 (source build) Pi OS bookworm 32 bit - nut-monitor trying to connect to UPS - Connection Refused
...[D1] Trying to connect to UPS [ups at localhost]
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.319633 UPS [ups at localhost]: connect failed: Connection failure: Connection refused
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.319693 [D2] do_notify: ntype 0x0005 (COMMBAD)
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.319707 commbad
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.320094 [D1] Trying to connect to UPS [heartbeat at localhost]
Mar 08 07:49:09 WiringCloset nut-monitor[6542]: 0.328471 UPS [heartbeat at localhost]: conn...
2020 Mar 10
2
Fwd: Windows upssched does not work
...G 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 unavailable"
NOTIFYMSG NOPARENT "upsmon parent process died - s...
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
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)
...uot;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 unavailable"
NOTIFYMSG NOPARENT "upsmon parent pro...
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/gu...