Displaying 20 results from an estimated 700 matches similar to: "Bug: upssched and 3+ UPSes"
2017 Dec 04
2
SNMPv3 fails when more than one UPS is configured in ups.conf
Hi Charles,
Running upsdrvctl -D start on the host with all three configured to
SNMPv3 kicks out 56 different "unhandled ASN 0x81 from ..." lines on all
three but importantly they all start up and keep running.
I'm starting to suspect the startup is taking so long that systemd is
timing out and killing it. time -p reports real time of 133.27. I'm not
a fan of systemd but
2013 Mar 08
0
HowTo use upssched right.
Hi,
I want to test the events off my 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"
2010 Jun 07
3
Patch: upssched puts UPS name in the command line
Dear folks,
The patch in attachment allows upssched to put actual UPS name
into command line even if configuration contains wildcard (*).
E.g.
AT LOWBATT * EXECUTE "LOWBATT %s"
AT ONLINE ups3 EXECUTE "ONLINE %s"
where %s is replaced with UPS name before logging and execution.
A possible further enhancement could be if regular expressions
are also acceptable in place of
2012 Mar 04
2
NUT Two Apc UPSes on Windows
Hi,
I've got a question about managing two UPSes under NUT.
I have two similar model APC usb-connected UPSes to work with, but don't
know how to manage them simultaneously from under Windows. Long story
short, my ups.conf looks like this:
--- ups.conf ---
[ups1]
driver= usbhid-ups
port= auto
serial=AS1054340323
[ups2]
driver= usbhid-ups
port= auto
serial=AS1026662626
---
2019 Dec 25
1
NUT not shutting down one of three UPSs (sometimes none of them shut down)
I have three APC SmartUPS 5000s. Two of them are AP9617 and one is AP9619.
I have a RS-232 connections from my monitor host to all three. All three
report status and give information.
One of the two AP9617 - ups3-1 - does not shut down when FSD is sent. It
did when I first set this system up a year or two ago but it's stopped
doing so since then. Resetting the management interface does not
2008 Sep 17
0
FW: Setup of upssched on opensuse 11 - examined pipefn ad lockfm
On 9/16/08 3:35 PM, "Arjen de Korte" <nut+users at de-korte.org> wrote:
> Citeren tarbeite <tarbeite at fit.edu>:
>
>> Running opensuse 11 with two ups that can be seen via web interface and post
>> messages on the console.
>
> Please post the contents of /etc/ups/upssched.conf here. Also make
> sure that the directory mentioned in PIPEFN and
2005 Dec 24
1
Regular expressions in upssched.conf?
Hi,
I didn't found an answer for my question in NUT documentation/FAQ or
this mailing list archive so I?m posting it here.
I want to start a timer only if both of my UPSes remain on battery. Not
just one, both.
My UPSes are:
- ups1@host-a
- ups2@host-b
Is it possible to use something like this in upssched.conf?
AT ONBATT ups1.* && ups2.* START-TIMER onbattwarn 180
Thanks,
2007 Jun 24
1
upssched. Again.
Hi everyone,
Here I am with my second attempt to persuade upssched to do things; for some
reasons it just won't! Or if it runs, it never runs the script.
OK, the story first: 2.0.3 (conveniently comes as RPMs by default on FC6)
running on FC6; APC Smart-UPS 750 via serial connection all working fine.
Here are the main files:
/etc/sysconfig/ups
SERVER=yes
MODEL=apcsmart
DEVICE=/dev/ttyS0
2006 Nov 21
1
MGE Nova 1100 AVR + upssched
Hi, I'm having problems to configure upssched in order to notify me only
when the disconnection exceeds the 30 seconds.
Now, I'm getting a mail if it is disconnected just for a second, or even
worse, when I got low tension.
So, mail notifications are well configured, I guess...
I think the problem is in upssched.
I'm new to this, so it could be a stupid thing that I'm missing...
2017 Nov 30
2
SNMPv3 fails when more than one UPS is configured in ups.conf
New NUT install dealing with three APC Smart-UPS 5000s, two of which
have AP9617 and the third has a AP9619 card.
The SNMPv3 configurations on all three are exactly the same. This is
confirmed by snmpget calls that work just fine:
snmpget -Cf -v3 -u [...] -l authPriv -A '[...]' -X '[...]' -a
MD5 -x DES [upsname] .1.3.6.1.4.1.318.1.1.1.1.1.1.0
snmp-ups can query all three
2012 Jun 25
1
upssched script doesn't start on event
Dear list,
Can't make upssched notify me on event occured.
OS: Debian, 2.6.26-1-amd64
Nut: 2.4.3-1.1squeeze1
UPS: Ippon Smart Winner 3000 connected via COM
On event ( plug out the cord from UPS ) upsmon detect's status change to
OB and gives WALL and syslog notify, but no script starting. In syslog
no errors and no upssched process occured, just upsmon. There're no
PIPE and LOCK
2013 Jan 04
2
UPSSCHED and FreeBSD 8.3?
Group:
The Background:
I maintain the network hardware for a county government building that is un-
occupied except for weekday dayshift. The building is located in an older
section of town and the electric service has components that are nearing
their 100 year lifetime. The building has UPS for all computer and network
hardware and an autostart generator that starts when utilitity service
2015 Apr 27
0
upssched setup
Hi,
The exec is returning 126 - "Command invoked cannot execute. A
permission or command not executable problem.".
Are you sure that the script is executable by the user running NUT? Do
you have SELinux enabled?
Regards,
Neil.
On 27/04/15 20:55, James Hammond wrote:
> Hi Roger,
>
> I get:
>
> Apr 27 20:50:05 unifi upsmon[1022]: UPS ups on battery
> Apr 27
2020 Mar 10
0
Fwd: Windows upssched does not work
On Tue, 10 Mar 2020, Radoslav Chovan wrote:
> I have problem with upssched on windows. Upssched is not executed. I
> have 2 scripts, 1 for notification in upsmon and second for scheduling
> in upssched. Monitoring is working fine, script write to log. I'm
> using binary windows installer 2.6.5-6 from NUT.
> --- upsmon.conf
> MONITOR ups_1000 at 192.168.3.95 1 <user>
2009 Aug 02
1
MGE Evolution mge-utalk Driver Not Connected error
Hi All,
I have an mge pulsar esv 14+ rackmount UPS connected via straight
through serial cable to a USB to serial adaptor (My motherboard does
not have a native RS232 port).
I am running Ubuntu Server 9.04 x64, and nut 2.4.1-2ubuntu4 installed via APT.
I am getting the error:
Poll UPS [ups1 at localhost] failed - Driver not connected
My conf files:
(ups.conf)
[ups1]
driver=mge-utalk
2006 May 09
4
upssched does not start the script when timer triggers
Hello,
I'm using nut with my MG Ellipse on serial port. No problem since one
year. Two days ago, I wanted to add a phone alert through my asterisk
box when power is down. Since then, upssched doesn't make his job
anymore. here is the "syslog" I get when the power cord is unplugged :
>
> May 9 11:39:34 serveur upsmon[6411]: UPS ellipse@localhost on battery
> May 9
2008 Dec 15
1
ubuntu 8.04 upssched CANCEL-TIMER ignored
hello,
every two weeks my system shutsdown because my apc ups does a self
test and nut is not picking up the cancel timer event.
according to me all settings are correct. in my upssched-cmd script i
execute a remote shutdown, because nut is running in a virtual machine
and i want the script to shutdown all hosts in my esx environment.
my upssched-cmd script
----
#!/bin/sh
# !! COPY THIS
2009 May 05
5
upsd flapping in the breeze
Hi,
I have had a long standing problem with NUT talking to 110V MGE UPSs on
FreeBSD, I was recently investigating again and noticed that upsd seems
overly noisy, eg..
May 5 03:50:36 egbert upsd[96662]: UPS [ups1] data is no longer stale
May 5 03:50:36 egbert upsd[96662]: Data for UPS [ups1] is stale - check driver
May 5 03:50:36 egbert upsd[96662]: UPS [ups1] data is no longer stale
May 5
2020 Mar 10
2
Fwd: Windows upssched does not work
Hi,
I have problem with upssched on windows. Upssched is not executed. I
have 2 scripts, 1 for notification in upsmon and second for scheduling
in upssched. Monitoring is working fine, script write to log. I'm
using binary windows installer 2.6.5-6 from NUT.
Here are my configs:
--- nut.conf
MODE=netclient
--- upsmon.conf
MONITOR ups_1000 at 192.168.3.95 1 <user> <password> slave
2020 Mar 11
1
Fwd: Windows upssched does not work
ut 10. 3. 2020 o 16:34 Roger Price <roger at rogerprice.org> napĂsal(a):
>
> On Tue, 10 Mar 2020, Radoslav Chovan wrote:
>
> > I have problem with upssched on windows. Upssched is not executed. I
> > have 2 scripts, 1 for notification in upsmon and second for scheduling
> > in upssched. Monitoring is working fine, script write to log. I'm
> > using binary