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
pollonly
serial = "IS1309001213"
desc = "BOTAPC"
upsd.conf
LISTEN 127.0.0.1 3493
LISTEN 172.16.1.158 3493
upsd.users
[admin]
password = XXXXXXXXX
actions = SET
instcmds = ALL
[user]
password = XXXXXXXXX
instcmds = ALL
[upsmon]
password = XXXXXXXXX
upsmon master
[upsmonslave]
password = XXXXXXXXX
upsmonslave slave
[geaaetst01]
password = XXXXXXXXX
geaaetst01 slave
[pdxvhtst02]
password = XXXXXXXXX
pdxvhtst02 slave
upsmon.conf
MONITOR TOPAPC@localhost 1 upsmon pass master
MONITOR MIDAPC@localhost 1 upsmon pass master
MONITOR BOTAPC@localhost 1 upsmon pass master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h now"
NOTIFYCMD /bin/notifynetadmins
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
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"
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 - shutdown impossible"
NOTIFYFLAG ONLINE EXEC+SYSLOG+WALL
NOTIFYFLAG ONBATT EXEC+SYSLOG+WALL
NOTIFYFLAG LOWBATT EXEC+SYSLOG+WALL
NOTIFYFLAG FSD EXEC+SYSLOG+WALL
NOTIFYFLAG COMMOK EXEC+SYSLOG+WALL
NOTIFYFLAG COMMBAD EXEC+SYSLOG+WALL
NOTIFYFLAG SHUTDOWN EXEC+SYSLOG+WALL
NOTIFYFLAG REPLBATT EXEC+SYSLOG+WALL
NOTIFYFLAG NOCOMM EXEC+SYSLOG+WALL
NOTIFYFLAG NOPARENT EXEC+SYSLOG+WALL
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
upssched.conf
CMDSCRIPT /bin/upssched-cmd
SLAVE SYSTEM (1)
nut.conf
MODE=netclient
upsmon.conf
MONITOR [email protected] 1 geaaetst01 pass slave
MONITOR [email protected] 1 geaaetst01 pass slave
MONITOR [email protected] 1 geaaetst01 pass slave
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h now"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 1
upssched.conf
CMDSCRIPT /bin/upssched-cmd
SLAVE SYSTEM (2)
nut.conf
MODE=netclient
upsmon.conf
MONITOR [email protected] 1 pdxvhtst02 pass slave
MONITOR [email protected] 1 pdxvhtst02 pass slave
MONITOR [email protected] 1 pdxvhtst02 pass slave
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h now"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 1
upssched.conf
CMDSCRIPT /bin/upssched-cmd
Drew Plaster | Systems Administrator
808 SW 3rd Avenue, Suite 300 | Portland, OR 97204
o: 503.415.2385 | c: 503.484.0168 | f: 503.415.2498
www.otak.com
at Otak, we consider the environment before printing emails.
Disclaimer:
The information transmitted in this e-mail message and attachments, if any, may
contain confidential material, and is intended only for the use of the
individual or entity named above. Distribution to, or review by, unauthorized
persons is prohibited. In the event of the unauthorized use of any material in
this transmission, neither Otak nor the sender shall have any liability and the
recipient shall defend, indemnify and hold harmless the sender, Otak and its
principals, agents, employees and subconsultants from all related claims and
damages. The recipient understands and agrees that any use or distribution of
the material in this transmission is conditioned upon the acceptance of the
terms stated in this disclaimer. If you have received this transmission in
error, immediately notify the sender and permanently delete this transmission
including attachments, if any.
-----Original Message-----
From: Nut-upsuser
[mailto:nut-upsuser-bounces+drew.plaster=otak....@lists.alioth.debian.org] On
Behalf Of Roger Price
Sent: Wednesday, October 18, 2017 12:54 PM
To: nut-upsuser Mailing List
Subject: Re: [Nut-upsuser] debian 8 "jessie" nut 2.7.2 slaves not shutting down
On Wed, 18 Oct 2017, Drew Plaster wrote:
> there are three APC smart ups connected via usb cables
> to the master system, the master system shuts down as expected but the
> slave systems never shutdown eventhough I believe that all the configs
> are properly set the slaves should either shutdown when there is only
> one ups and it is running low on battery power offline or worst case
> shutdown after they cannot communicate with the master for longer than
> the HOSTSYNC 15 or UPS for longer than the DEADTIME 15
Hi, Could you show us your NUT configuration files? Please omit the comments,
and double spacing will not be needed.
Roger
> Disclaimer: The information transmitted in this e-mail message and
> attachments, if any, may contain confidential material, and is
> intended only for the use of the individual or entity named above....
It's probably best not to send such a disclaimer to a public mailing list with
hundreds of subscribers.
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser