Displaying 20 results from an estimated 11000 matches similar to: "Three wishes for upsmon"
2018 Jun 19
2
upsmon Can not initialize SSL context (letsencrypt) #563
those mails list are from last century but i give it a try !
created : https://github.com/networkupstools/nut/issues/563
Hello all,
Trying to run an EATON 850pro via USB on a Debian Stretch Stable.
I have letsencrypt certificate installed and working.
When trying to manage the EATON device, i got:
upsmon Can not initialize SSL context
When 850pro is connected via USB, i can:
lsusb
Bus 009
2023 Jun 10
1
Fopen upsmon.pid - no such file or directory - Nut 2.8.0 built from source
I've built NUT 2.8.0 from source. When the nut-monitor runs: fopen upsmon.pid fails. I'm running as root, upsmon has root:root permissions as well as the other daemons and .conf files. I've tried configuring with and without --prefixpath --prefixaltpath.
Is there something I am missing?
Please see attached.
Dan
-------------- next part --------------
An HTML attachment was
2018 Sep 20
3
Upssched not getting called from UPSMON
Hi, I cant seem to get my upssched to get called by upsmon. Upsmon -c fsd just shuts down without the message I set or the one in upssched-cmd
/etc/ups/upsmon.conf:
MONITOR ups6 at localhost 1 <user> <pass> master
MONITOR ups8 at localhost 1 <user> <pass> master
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/sbin/upssched
NOTIFYMSG
2005 Aug 10
1
/var/state not accessible
Hi,
I was trying to hack the /etc/rc.d/init.d/halt script under RH 9.0 in a
way to achieve a clean shutdown:
- commanding the RAID arrays to readonly mode
- turning off my hardware watchdog,
... etc. See details below.
At the end of all this preparation, and very close to the last lines of
the halt script, I would then issue:
1. /usr/bin/belkinunv -x wait /dev/ttyS0
2. (OR, with a smart ups:
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
2023 Jun 16
1
Dummy-ups cycles between online and onbatt every 5 minutes. (Nut 2.8.0)
Now that upsstats.cgi works, I've noticed that dummy-ups changes state every 5 minutes between OL and OB (probably when the 300 second timer expires). The UPS state stays online.
Also "online" and "onbatt" are broadcast to the console probably via WALL. (The state changes don't seem to be form the ups as upsshed-cmd doesn't run). Upssched-cmd does run when the UPS
2016 May 09
2
cyberpower ups need to manully turn on the switch
HI
in centos: C="/usr/bin/upssched-cmd"
here is the output of that file:
# more /tmp/NUT.report
NUT configuration 2016-05-10 03:02:20 UTC
########### /etc/ups/nut.conf ###########
MODE=netserver
########### /etc/ups/ups.conf ###########
[cyberpower]
#driver = powerpanel
#port = auto
driver = usbhid-ups
port = auto
vendorid = 0764
desc = " My main
2023 Jun 11
1
Upssched 100% CPU after updating Debian 12
Hi,
I have been running nut successfully for a long time with my Debian 11 server. I upgraded my server to Debian 12 today, which upgraded nut also from 2.7.4-13 to 2.8.0-7. I noticed that after upgrade there was a upssched process running and taking 100% cpu time.
I checked if there were any changes to configuration file formats with nut upgrade and only differences I noticed were a terminology
2016 Feb 08
1
UPS Socomec is unavailable appears in the logs
Hello,
we have two UPSes - one Galaxy and one from Socomec, both monitored by the NUT server.
The NUT server runs the version 2.7.2.
We have roughly 3500 clients running upsmon, reading the status of both
UPSes. They run mainly the version 2.6.4 and some 2.7.2.
We observed the following on both client versions, regardless whether
we run upsmon in the daemon or debug mode:
Running
upsc socomec
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"
2015 Oct 27
0
The system doesn't shutdown
On Tue, 27 Oct 2015, George Anchev wrote:
> Yes, that was the power off test. However the upssched-cmd script gave
> absolutely no signs of activity. Even it's logger lines don't show up in
> journalctl. No any permission error messages - nothing. Only the 2
> messages from upsmon - on battery and then on line power.
>
> Here is the nut-report:
>
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Hi,
I ran the strace command while upssched was 100% CPU hungry. This is what I got:
1686633611.702798 read(7, "", 1) = 0 <0.000004>
1686633611.702816 read(7, "", 1) = 0 <0.000004>
1686633611.702834 pselect6(11, [7 10], NULL, NULL, {tv_sec=1, tv_nsec=0}, NULL) = 1 (in [7], left {tv_sec=0, tv_nsec=999998800}) <0.000006>
1686633611.702862 read(7,
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
Hi,
I ran the strace command while upssched was 100% CPU hungry. This is what I got:
1686633611.702798 read(7, "", 1) = 0 <0.000004>
1686633611.702816 read(7, "", 1) = 0 <0.000004>
1686633611.702834 pselect6(11, [7 10], NULL, NULL, {tv_sec=1, tv_nsec=0}, NULL) = 1 (in [7], left {tv_sec=0, tv_nsec=999998800}) <0.000006>
1686633611.702862 read(7,
2017 Oct 31
0
Email Alerts for Multiple UPSs with upssched
There's supposedly another way with a custom upsmon.conf:
NOTIFYMSG type message
upsmon comes with a set of stock messages for various events. You can change them if you like.
NOTIFYMSG ONLINE "UPS %s is getting line power"
NOTIFYMSG ONBATT "Someone pulled the plug on %s"
Note that %s is replaced with the identifier of the UPS in question.
The message must be one
2020 Jun 21
2
Server did not shut down
2017 Oct 18
2
debian 8 "jessie" nut 2.7.2 slaves not shutting down
MASTER SYSTEM
nut.conf
MODE=netserver
ups.conf
[TOPAPC]
driver = usbhid-ups
port = auto
pollonly
serial = "IS1309002707"
desc = "TOPAPC"
[MIDAPC]
driver = usbhid-ups
port = auto
pollonly
serial = "IS1309001233"
desc = "MIDAPC"
[BOTAPC]
driver = usbhid-ups
port = auto
2023 May 27
2
unable to connect to APC UPS Connection Refused
I've not been able to connect to my ups using NUT 2.7.4 or NUT 2.8.0.
2.7.4 was installed as a package, 2.8.O was compiled from source.
I've messed with permissons, everything is root:root and has the approprate read/execute permissons. I've tried two differnt UPS(es) APC & CyperPower. I'm running PI OS (Raspbian) on a Raspberry Pi3 model B. The port 3493 is open (UFW). I can
2016 Jun 14
5
Besoin d’aide pour upssched
Bonjour
je n?arrive pas ? configurer convenablement NUT pour qu?il m?adresse
des SMS en cas de coupure de courant.
C?est important pour moi car dans ma maison les coupures sont tr?s fr?quentes.
Voici ma configuration :
******************************************************************
1/ dans /etc/nut/upsmon.conf
MONITOR eaton at localhost 1 admin motdepasse master
MINSUPPLIES 1
SHUTDOWNCMD
2019 Jul 20
2
Another New User Question - Notify Script Not Running
Roger,
Thanks for the idea to add additional items to the notifyflag. That
proved the monitor was indeed working as expected and led me to find
that my script had myriad issues when run under the nut user. All
remedied now.
As I progress, I may well end up migrating to the upssched. As a newbie
I was simply following the documented "simple" way described here
2017 Jul 03
0
Help with Elite 800VA usb UPS
On Mon, 3 Jul 2017, Andrea de Lutti wrote:
> MONITOR dummy at artu 1 user pass master
> SHUTDOWNCMD "/sbin/shutdown -h +0"
> NOTIFYCMD /usr/local/bin/upssched-script
Hi, As far as I can see, what you are getting in syslog corresponds
correctly to what you have specified. You have specified that upsmon is
to call upssched-script _directly_. This means that the argument to