[Nut-upsuser] upsdrvctl shutdown isn't powering down UPS

2021-12-07 Thread Ken Brubacher
Working to get NUT setup in XCP NG v8 dom0 Everything is working except my UPS won't power down after the system shuts down. I've tried two different shutdown scripts in my init shutdown and neither seems to be working. cat /etc/ups/upsmon.conf MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NO

Re: [Nut-upsuser] install SNMP APC SMART UPS 2000 in XCP-NG dom0

2021-12-06 Thread Ken Brubacher
Wow, I feel famous I needed to whitelist the IP of my XCP NG host in the APC UPS for SNMP access to work. -Original Message- From: Manuel Wolfshant Sent: Saturday, December 4, 2021 2:55 PM To: Ken Brubacher ; Jim Klimov Cc: Arnaud Quette via Nut-upsuser Subject: Re: [Nut-upsuser

Re: [Nut-upsuser] install SNMP APC SMART UPS 2000 in XCP-NG dom0

2021-12-04 Thread Ken Brubacher
UPS01 0.000660 1 remaining attempts 0.000705 exec: /usr/sbin/snmp-ups -a MILLRACKUPS01 Network UPS Tools - Generic SNMP UPS driver 0.97 (2.7.4) Unknown mibs value: apcc 6.041714 Driver failed to start (exit status=1) -Original Message----- From: Manuel Wolfshant

Re: [Nut-upsuser] install SNMP APC SMART UPS 2000 in XCP-NG dom0

2021-12-04 Thread Ken Brubacher
Klimov Sent: Saturday, December 4, 2021 10:32 AM To: Ken Brubacher Cc: Arnaud Quette via Nut-upsuser Subject: Re: [Nut-upsuser] install SNMP APC SMART UPS 2000 in XCP-NG dom0 Given how driver says it has version 2.7.2, I have doubts about it being the "latest version" (latest offici

[Nut-upsuser] install SNMP APC SMART UPS 2000 in XCP-NG dom0

2021-12-04 Thread Ken Brubacher
A few days ago I configured Network UPS Tools in a Ubuntu VM on a XCP-NG VM. The driver installed flawlessly, and I was able to scan and find the UPS using nut-scanner -S -s 192.168.0.1 -e 192.168.0.254 It returned the UPS configuration below from the network, and I configured ups.conf without

[Nut-upsuser] issue SHUTDOWNCMD from a slave

2021-11-29 Thread Ken Brubacher
I have a basic NUT server / client configuration setup and working. Is it possible to issue a SHUTDOWNCMD command from a slave or only from a master? The scenario is a Dell R740 hypervisor, and I'd like NUT server to run as a virtual machine on it, and shut down the host from the virtual machine