Beta test of new NUT UPS package
-
I have "tecnoware" UPS, some ERA series but not the same as listed in NUT supported devices. It have similar behavior to yours, johnabbot
Playing with driver options not helped, strange… but UPSilon 2000 works under windows environment at least. -
John, it looks like the usb information for the ups doesn't match. I would recommend dumping the usb information on the device and heading over to the NUT forums with it. You can dump the usb information with the following command on the console:
usbconfig dump_device_desc
-
I've sent out beta 3. You do not need to remove the beta 1/2 package before installing the beta 3 package. Note that it is normal that the nut service is stopped during the install–you will need to restart the service after the install completes.
Again, thank you for all your help!
-
w0w, with the beta 3 release you should be able to address the SNMP unreachable on startup issue issue. Add the following lines to ups.conf in the advanced section:
maxretry=60
retrydelay=60This will result in a retry every minute for an hour. Be careful how you use this.
See the ups.conf man page for more information.
-
I believe NUT already handles this. Have a look at the man page for the apcsmart driver. Pretty rich configuration options for power handling in there.
@w0w:
It would be good to kill UPS power, sending command to shutdown UPS, like APCUPSD doing it.
-
Hey John, just wondering if you had a chance to dump the usb config to check the vendor and product id?
driver=blazer_usb
port=auto
langid_fix=0x4095
subdriver=krauler
productid=1234
vendorid=0925 -
dennypage
Thanks, looks like b3 works. UPS reconnects if no connection at startup or if it lost.I believe NUT already handles this. Have a look at the man page for the apcsmart driver. Pretty rich configuration options for power handling in there.
@w0w:
It would be good to kill UPS power, sending command to shutdown UPS, like APCUPSD doing it.
I don't use apcsmart driver, I use SNMP. I think I'll try
something like " /usr/local/ups/sbin/upsdrvctl shutdown" later to check if this works.
Thanks again about tip for ups.conf, shame on me. :)
-
w0w
If that works to kill the UPS, you can add this to rc.shutdown and it will send the command if NUT shuts down the system
I use the system patches package to keep it there across updates.if (test -f /etc/killpower) then echo "Shutting down UPS power..." /usr/local/sbin/upsdrvctl shutdown fi
-
Glad it works. No shame btw, it wasn't possible to do in beta 2. Both config and script changes were needed to support it.
@w0w:
Thanks, looks like b3 works. UPS reconnects if no connection at startup or if it lost.
Thanks again about tip for ups.conf, shame on me. :)
-
Pull request created: https://github.com/pfsense/FreeBSD-ports/pull/155
-
Hey John, just wondering if you had a chance to dump the usb config to check the vendor and product id?
Hi Denny,
There was an attempt to reverse engineer this back in 3013 that seems to have come to nothing.
http://lists.alioth.debian.org/pipermail/nut-upsdev/2013-January/006390.html
my understanding is they won't do any more work on supporting it. I've wasted enough time on getting it to work I think I will wait to see what works well with NUT on the pfsense and buy one of those.
John
driver=blazer_usb
port=auto
langid_fix=0x4095
subdriver=krauler
productid=1234
vendorid=0925 -
If you are looking for a new UPS, pretty much anything that is supported by NUT 2.7.4 should work fine with the new nut package under pfSense. To ensure compatibility with NUT, it would be a good idea to choose a ups that operates with a publicly available protocol. You can find these on the NUT hardware compatibility list by selecting "***" as the minimum Support Level.
-
sorry, wrong thread
-
I got a Eaton 5E2000iUSB and it seems to work perfectly.
I still have to add the Nut Clients (debian servers & a NAS) and test it properly but looking good.
Thanks a million for your work, this is one thing about Pfsense that has been really bugging me.
-
Thanks John. I'm glad it worked for you. I really appreciate your help with testing the new package.
-
let me know if I can test for you too.
Does this NUT update support reporting on enviromentals via an APC 9631 and sensors? -
The UPS Detail section on the Status page will display all variables reported by the NUT driver, however I don't personally know what variables are reported by the driver for the 9631 card.
If you would like a copy of the beta package, please pm me with an email address. Thanks.
@irj972:
Does this NUT update support reporting on enviromentals via an APC 9631 and sensors?
-
Does the Beta package properly support the connection to Apcupsd ? Now I use a workaround with the old package, but I'd rather use something that can be configured through the pfsense webui.
-
Yes, the package supports configuration of remote apcupsd.
-
Thanks for letting me join the Beta Phase.
Here's my feedback:
I use a remote APC UPS which is hooked up on one of my Synology NAS.
After removing the current package i installed the beta via cmdline and was very happy that my Config Data has been found :)
I had to re-enable these by saving them and i got every value from the APC now shown in pfSense. That's cool!
There is also a new widget. The new one seems to be a little bigger. There i have to say, that i liked the older one a little more.
As i remember there where colored texts in it and it was, yes smaller.I keep up looking if there is any bug left :)
Thank you!