Displaying 20 results from an estimated 40 matches for "upsmast".
Did you mean:
upsmart
2017 Jun 08
3
Apple Mac slave
On Jun 7, 2017, at 1:14 PM, Roger Price wrote:
>
> 2. On the NAS, use command
>
> upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS
Robbie,
The "upsrw" command contacts upsd, so it sounds like you should be able to add a user to upsd.users on the NAS, and then run something like this on the Mac:
upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS at synology
Per http://networkupstools.org/...
2017 Jun 07
3
Apple Mac slave
>> I am running NUT on a Synology NAS with attached a USB APC UPS.
>
> Do you have upsd and upsmon running as daemons on the Synology DSM?
>
Yes I have them both running on the Synology DSM:
root 7236 1 0 Jun01 ? 00:00:16 /usr/sbin/upsd
root 7741 1 0 Jun01 ? 00:00:00 /usr/sbin/upsmon
root 7744 7741 0 Jun01 ? 00:00:12
2023 Jun 11
1
Upssched 100% CPU after updating Debian 12
...mmy-ups
mode=dummy-loop
port = heartbeat.conf
desc = "Watch over NUT"
---------------------------------------------------
upsd.conf
LISTEN 0.0.0.0 3493
---------------------------------------------------
upsmon.conf
RUN_AS_USER root
MONITOR eaton5s at localhost 1 upsmaster xxx primary
MONITOR heartbeat at localhost 0 upsmaster xxx primary
MINSUPPLIES 1
NOTIFYCMD /sbin/upssched
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
NOTIFYMSG ONLINE...
2017 Jun 08
0
Apple Mac slave
> The "upsrw" command contacts upsd, so it sounds like you should be able to add a user to upsd.users on the NAS, and then run something like this on the Mac:
>
> upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS at synology
>
> Per http://networkupstools.org/docs/man/upsd.users.html <http://networkupstools.org/docs/man/upsd.users.html> , the "upsmaster" user would need at least "actions = SET". You will need to reload upsd after changing upsd.users.
I man...
2006 Aug 25
2
suse linux and nut
...th lsmod, i can see
usbhid 43296 0
/etc/ups/ups.conf
i tried powercom and newhidups
driver = newhidups
port = /dev/hiddev0
desc = "Local UPS"
/etc/ups/upsd.conf
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
/etc/ups/upsmon.conf
MONITOR myups@localhost 1 upsmaster okeefe master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h now"
NOTIFYCMD /usr/lib/powersave/powersave-notify
POLLFREQ 5
POLLFREQALERT 5
DEADTIME 15
POWERDOWNFLAG /etc/killpower
NOTIFYFLAG ONLINE SYSLOG
NOTIFYFLAG COMMOK SYSLOG
NOTIFYFLAG SHUTDOWN SYSLOG
NOTIFYFLAG ONBATT SYSLOG+W...
2017 Jun 08
1
Apple Mac slave
...uot;/sbin/shutdown -h +0? which was before SHUTDOWNCMD ""
SHUTDOWNCMD ?? Didn?t make sense to me.
> You will need the utility programs upsrw and upscom which are part of NUT, but they should be available in the Mac.
upsrw is available on the Mac:
upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS
I suppose I have to use -u for user? Which user? and -p for password?
What does -s sekret UPS means? -s means variable to be changed but I don?t know which variable this is, sekret.
Kind regards,
Rob
> On 8 Jun 2017, at 11:30, Roger Price <roger at rogerprice....
2017 Jun 07
0
Apple Mac slave
...e
> dataport of the APC UPS is connected via USB with the Synology NAS.?
Apart from these points, it looks as if NUT is running correctly on the
Synology NAS.
Now for the Mac: You will need to have upsmon running on the Mac
with a MONITOR declaration of the form
MONITOR UPS at NAS 1 <upsmaster> <password> slave
Setting "slave" says that upsmon on the Mac is to shutdown the Mac as soon
as LB is detected in the NAS.
I suggest
1. Shutting down on LB rather than on a timer since it's easier to set
up.
2. On the NAS, use command
upsrw -s battery.charge....
2018 Jul 07
0
Invalid directive CERTFILE /etc/nut/keys/gold.pem on Debian stretch
.../etc/nut/keys/gold.pem
I tried again with openSUSE 42.3 and could not reproduce this error. All went
well and I saw the desired SSL/TLS activation:
● nut-server.service - Network UPS Tools - power devices information server
Jul 07 11:01:40 titan upsd[2926]: User upsmaster at 127.0.0.1 logged into UPS [Eaton] (SSL)
Jul 07 11:01:40 titan upsd[2926]: User upsmaster at 127.0.0.1 logged into UPS [heartbeat] (SSL)
● nut-monitor.service - Network UPS Tools - power device monitor and shutdow controller
Jul 07 11:01:40 titan upsmon[2931]: Connected to localhost in S...
2015 Oct 26
2
The system doesn't shutdown
Hello,
I have been following the details in this article to configure my UPS:
http://rogerprice.org/NUT.html
However the system won't shutdown although file permissions look ok:
ls -alF /usr/sbin/ups*
-rwxr--r-- 1 upsd daemon 64984 Oct 15 2014 /usr/sbin/upsd*
-rwxr--r-- 1 upsd daemon 48584 Oct 15 2014 /usr/sbin/upsmon*
-rwxr--r-- 1 upsd daemon 31536 Oct 15 2014 /usr/sbin/upssched*
2017 Jun 07
2
Apple Mac slave
...er the delay?
ups.delay.shutdown Interval to wait after shutdown with delay command (seconds). Shutdown of what? I don?t know what is means.
> Now for the Mac: You will need to have upsmon running on the Mac
> with a MONITOR declaration of the form
>
> MONITOR UPS at NAS 1 <upsmaster> <password> slave
>
> Setting "slave" says that upsmon on the Mac is to shutdown the Mac as soon as LB is detected in the NAS.
On the Mac I have in upsmon.conf
MONITOR ups@<ip address> 1 <user> <password> slave
2. On the NAS, use command
upsrw -s...
2017 Apr 17
3
Two UPS via SNMP at one ubunut box
...192.168.1.3
mibs = ietf
community = snmp
snmp_version = v1
desc "NetMan"
pollfreq = 15
/etc/nut/upsd.conf=====================
LISTEN 127.0.0.1
LISTEN 192.168.1.200
/etc/nut/upsd.users ==============================
[admin]
password = password
actions = SET
instcmds = ALL
[upsmaster]
password = mAster
upsmon master
/etc/nut/upsmon.conf ===========================
RUN_AS_USER nut
MONITOR buildingA at localhost 1 upsmaster *** master
MONITOR buildingB at localhost 1 upsmaster *** master
MINSUPPLIES 1
NOTIFYCMD /etc/nut/notify_cmd
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC...
2015 Oct 26
2
The system doesn't shutdown
...3
Oct 26 21:02:56 i7 upsd[2226]: Connected to UPS [myups]: usbhid-ups-myups
Oct 26 21:02:56 i7 upsd[2227]: Startup successful
Oct 26 21:02:56 i7 upsmon[2228]: fopen /var/run/upsmon.pid: No such file or
directory
Oct 26 21:02:56 i7 upsmon[2229]: Startup successful
Oct 26 21:02:56 i7 upsd[2227]: User upsmaster@::1 logged into UPS [myups]
Oct 26 21:02:56 i7 upsmon[2228]: UPS: myups at localhost (master) (power value
1)
Oct 26 21:02:56 i7 upsmon[2228]: Using power down flag file
/etc/ups/killpower
Oct 26 21:04:51 i7 upsmon[2230]: UPS myups at localhost on battery
Oct 26 21:05:11 i7 upsmon[2230]: UPS myup...
2018 Jul 04
2
Invalid directive CERTFILE /etc/nut/keys/gold.pem on Debian stretch
I tried adding SSL/TLS support to NUT following the User Manual chapter 9.5
"Configuring SSL". I got as far as generating a self-signed private key and a
certificate (public key) in a single file gold.pem which has the form
-----BEGIN CERTIFICATE-----
MIID3DCCA...
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
MIIEvQIBA...
-----END PRIVATE KEY-----
I updated
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...mode=dummy-loop
port = heartbeat.conf
desc = "Watch over NUT"
---------------------------------------------------
upsd.conf
LISTEN 0.0.0.0 3493
---------------------------------------------------
upsmon.conf
RUN_AS_USER root
MONITOR eaton5s at localhost 1 upsmaster xxx primary
MONITOR heartbeat at localhost 0 upsmaster xxx primary
MINSUPPLIES 1
NOTIFYCMD /sbin/upssched
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
NOTI...
2023 Jun 13
1
Upssched 100% CPU after updating Debian 12
...mode=dummy-loop
port = heartbeat.conf
desc = "Watch over NUT"
---------------------------------------------------
upsd.conf
LISTEN 0.0.0.0 3493
---------------------------------------------------
upsmon.conf
RUN_AS_USER root
MONITOR eaton5s at localhost 1 upsmaster xxx primary
MONITOR heartbeat at localhost 0 upsmaster xxx primary
MINSUPPLIES 1
NOTIFYCMD /sbin/upssched
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
NOTI...
2015 Oct 27
2
The system doesn't shutdown
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:
http://www.filehosting.org/file/details/518300/NUT.report
---
George Anchev
On Tue, Oct 27,
2007 Oct 18
1
problems with nut - openSUSE 10.3
...s below (except the annotations)
ups.conf:
[myups]
driver = megatec
port = /dev/ttyS3
desc = "first UPS device"
-
upsd.conf (for testing allowed all, but port not reachable from the
internet):
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT all
-
upsd.users:
[upsmaster]
password = admin
allowfrom = localhost
upsmon master
[upsslave]
password = 82576d5d89
allowfrom = localhost
upsmon slave
-
upsmon.conf:
RUN_AS_USER upsd
MONITOR myups at localhost 1 upsmaster admin master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shut...
2017 Jun 08
5
Apple Mac slave
On Thu, 8 Jun 2017, Robbie van der Walle wrote:
> The "upsrw" command contacts upsd, so it sounds like you should be able to add a user to upsd.users on the NAS, and then run something like
> this on the Mac:
>
> ??upsrw -s battery.charge.low=80 -u upsmaster -s sekret UPS at synology
>
> Per?http://networkupstools.org/docs/man/upsd.users.html?, the "upsmaster" user would need at least "actions = SET". You will need to reload
> upsd after changing upsd.users.
>
> I managed to do this, upsc reports:?
>...
2020 Feb 18
2
UPS shuts down after restart
Hi Roger, Hi all,
> Does upsmon.conf specify a shutdown on LB?
I think so. You mean SHUTDOWNCMD?
The relevant parts of my upsmon.conf (notifications removed):
MONITOR ups at localhost 1 upsmaster secret master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 2
HOSTSYNC 15
DEADTIME 40
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 1800
FINALDELAY 1
> What happens if you let the battery power the system until LB is reached?
It's the...
2015 Jul 14
1
New questions
...ery.voltage.low = 10.4default.battery.voltage.nominal = 13.1[CODE]
Now, on to the ?'upsmon.conf' ?file. ?I am a bit lost as to what all is required in this file. ?Lookingat just the first part of the example from Price, I see :
[CODE]# /etc/ups/upsmon.conf?MONITOR Eaton-66781 at localhost 1 upsmaster sekret master?MINSUPPLIES 1?SHUTDOWNCMD "/sbin/shutdown -h +0"?NOTIFYCMD /usr/sbin/upssched?POLLFREQ 5?POLLFREQALERT 5?HOSTSYNC 15?DEADTIME 15?POWERDOWNFLAG /etc/killpower[CODE]
I have modified the MONITOR line as appropriate for my system but wonder about a coupleof entries. ?The refer...