Displaying 20 results from an estimated 4000 matches similar to: "NUT Windows port questions"
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
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
2017 Jul 03
2
Help with Elite 800VA usb UPS
Ok, I am running NUT in dummy mode.
I have added a new ups in ups.conf
[dummy]
driver = dummy-ups
port = upsc.dev
desc = "dummy ups for testing purposes"
upsc.dev has been generated by exporting the Elit configuration.
I have added the monitor line in upsmon.conf and the "exec" flags (all the
events)
MONITOR dummy at artu 1 user pass master
SHUTDOWNCMD
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 Jun 29
2
Help with Elite 800VA usb UPS
On Jun 29, 2017, at 6:52 AM, Andrea de Lutti wrote:
>>> Anyway I still not receive any email on any test (power cord disconnected and/or reconnected for example)
>>
>> Oh, I misinterpreted "working script" as a script that was sending email, rather than work-in-progress. Does that same command work from the command line? Can you add something like "logger"
2017 Jun 10
1
Apple Mac slave
On Fri, 9 Jun 2017, Robbie van der Walle wrote:
> ... and also still open is the notification on the Mac.
If notify-send is available on the Mac, then perhaps this will work:
In upsmon.conf on the Mac you need
NOTIFYCMD /usr/sbin/upssched (or wherever this goes on a Mac)
NOTIFYFLAG ONBATT SYSLOG+EXEC
In upssched.conf you need
CMDSCRIPT /usr/sbin/upssched-cmd (or wherever this
2012 Sep 13
2
Early shutdowns and 2.6.5-1 package for Windows
Hello NUT Team!
I am testing the early shutdowns in NUT 2.6.5-1 package for Windows (Windows
7 x64).
My configuration files:
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
2005 Sep 13
3
timers and their usage
Hi everyone,
new to the list but a long time nut user.
I've tried a couple of times to set up a timer to avoid getting annoying
messages when the system goes on battery for only a few seconds.
in uppsched.conf I added this at the bottom:
AT ONBATT * START-TIMER onbattwarn 60
AT ONLINE * CANCEL-TIMER onbattwarn
What am I missing? it still doesn't wait before alerting me.
2023 Jan 12
1
NUT & UPS, how to shut down client after 2 min on battery?
Now I have this in /etc/nut/upsmon.conf (my QNAP NAS wants admin and 123456 or not working)
RUN_AS_USER root
MONITOR qnapups at localhost 1 admin 123456 master
MONITOR qnapups at 192.168.222.252 3493 admin 123456 slave
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
NOTIFYFLAG ONLINE SYSLOG+EXEC
2022 Dec 22
3
NUT & UPS, how to shut down client after 2 min on battery?
Hi!
Some systems I have take some time to shut down, so I would like them to shut down if the UPS have been on battery for 2 minutes.
Internet has told me that SHUTDOWNCMD ?/sbin/shutdown -h +0? in /etc/nut/upsmon.conf will execute when the UPS is both OB (on battery) and LB (Low battery). Like in wiki.ipfire.org - Detailed NUT Configuration<https://wiki.ipfire.org/addons/nut/detailed>
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
2017 May 11
2
Good Day NUT
Good Day nut
Many thanks for your reading
==> AA. I confront an issue that can't shutdown the ups
With the nut, I can get the ups status(upsc) and shutdown the linux-ubuntu when power failure occurs(upsmon)
But don't know which configuration I ignore to setup for ups shutdown
==> BB. I want to check that with the command "upsdrvctl shutdown" and
2014 Jan 21
3
Shutdown when both (all) UPS on battery / low battery
On Jan 21, 2014, at 3:16 AM, Rafa? Oleszek wrote:
> I would like to mention that MINSUPPLIES manipulation doesn't work. My nut version is : 2.2.2-4 (RHEL 5)
What do your configuration files look like? Setting MINSUPPLIES to 2 should work. You can run upsmon with a debug level of 3 or greater, and it will print the current and minimum "power value", which is what determines
2015 Apr 27
3
upssched setup
Hi Roger,
I get:
Apr 27 20:50:05 unifi upsmon[1022]: UPS ups on batteryApr 27 20:50:05 unifi upssched[2688]: Timer daemon startedApr 27 20:50:06 unifi upssched[2688]: New timer: onbatt (20 seconds)Apr 27 20:50:26 unifi upssched[2688]: Event: onbattApr 27 20:50:26 unifi upssched[2688]: exec_cmd(/sbin/upssched-cmd.sh onbatt) returned 126Apr 27 20:50:41 unifi upssched[2688]: Timer queue empty,
2011 Jul 19
2
KIN-1500AP RM + Windows 2008 64-bit Standard R2 SP1 (nut 2.6.1)
I have only RS-232 on the box (meanwhile, it was manufactured on march of
2011)
Here is my configs:
nut.conf:
*
*
MODE = netserver
ups.conf:
*
*
[KIN1500]
driver = powercom
port = notUsed
desc = "Powercom KING PRO KIN-1500AP RM"
upsd.conf:
*
*
LISTEN 192.168.1.2 3493
upsd.users:
*
*
[monuser]
password = xxxxxxxx
upsmon master
2011 Jun 08
2
Misconfiguration of Windows MSI installer 2.6.0-1 with my Powerware 5115 connected via USB port
Hello.
I've tried to configure Windows (complete port, Beta): Windows MSI installer
2.6.0-1 with my Powerware 5115 connected via USB port but have no luck.
Here is my config files:
*nut.conf:*
MODE = netserver
*ups.conf:*
[PW5115]
driver = bcmxcp_usb
port = notUsed
desc = "PowerWare 5115"
*upsd.conf:*
LISTEN 192.168.1.12 3493
*upsd.users:*
[monuser]
2009 Dec 28
4
Megatec driver floods logs #2 & mail notifications
Hi there!
I'm a n00b NUT user trying to get it running on RHEL5 and actually do
something useful for me. Few questions:
1) I want it to notify me by email on power loss and power back events.
I can't find any sample scripts for this purpose... Where shall I look
for them?
2) So far, I've backported the package from Fedora and got my Ablerex
running (previously used with Upsilon /
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
2008 Sep 16
2
Setup of upssched on opensuse 11
Hi all
I?m not sure if this is the right place to post but I?m at wits end. So here
we go.
Running opensuse 11 with two ups that can be seen via web interface and post
messages on the console.
My issue lies in trying to get the upssched and upsmon to work correctly.
Currently I have the exec flags denoted in the upsmon and ?NOTIFYCMD
/usr/sbin/upssched? is specified as the NOTIFYCMD flag as
2017 Mar 21
2
Is a timer a file?
On Tue, 21 Mar 2017, Arnaud Quette wrote:
> Hi Roger,
>
> reviving this discussion, since we have a Github ticket for 2.7.5:
> https://github.com/networkupstools/nut/issues/293
...
> I've made some additions to clarify things on the timer, and complete the script:
> https://github.com/networkupstools/nut/compare/upssched-doc?expand=1
Hi Arnaud, Your change to the