Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] NUT v2 - Network UPS Tools

Featured Replies

It's because @dmacias is using an icon (icon-ups) that only exists in 6.7 instead of a font-awesome icon

  • Replies 2.1k
  • Views 462k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I am stopping updates for my version of the plugin. Update to the latest version 2023.09.17 and then you can remove my version and install Rysz's from CA and it will retain your configs.   T

  • Released 2023.07.26, @ich777 is creating a new package for me to use, and I want to look to move to 2.8 as the default version but will need to check upgrade path works ok.

  • That APC BX series is known to suffer from this (what we believe to be) firmware issue and we've put patches in place to suppress this unwanted behaviour on the UPS side. Here's how you can set it up:

Posted Images

  • Author
It's because [mention=11874]dmacias[/mention] is using an icon (icon-ups) that only exists in 6.7 instead of a font-awesome icon
Opps didn't think of that
  • Author
Is it just my system, or has anyone else noticed that the Settings icon for NUT doesn’t display anymore since the January 24th update to fa font? I initially thought it was just a browser cache thing, but I’ve since tried multiple browsers, multiple computers, etc. The NUT icon in the plugins page loads fine, but I’m assuming that’s because it hasn’t been changed to be “awesome” [emoji14]
 
(Running 6.6.6 if that matters. I haven’t had a chance to try out the 6.7RC yet)
 
-A
Thanks. Fixed now

Yup, I noticed that there was an update to the plugin this morning. Looks good! Thanks.

 

-A

  • 2 weeks later...

@dmacias thank you for this great plugin it works brilliantly.

My mercer 2 KvA just recently died on me and I see talk of a lot of Eaton 5E's so went and purchased one, only to find out it's a surprisingly bare bones but well built UPS.

Please see attached my auto detect from your brilliant plugin and any advice from fellow Eaton users if I should make a change to the config?

 

Thanks for any feedback.

NUT.auto.png

Does this plugin only support USB connected UPS'?  I have an RMCARD203 network card in my Cyberpower OL1000RTXL2U UPS and was hoping there was a way to manage it through Unraid.

Edited by IamSpartacus

1 hour ago, dmacias said:
15 hours ago, IamSpartacus said:
Does this plugin only support USB connected UPS'?  I have an RMCARD203 network card in my Cyberpower OL1000RTXL2U UPS and was hoping there was a way to manage it through Unraid.

It might support it through snmp.

 

Should I be able to enter my UPS' IP where it shows 127.0.0.1?  My server doesn't seem to allow any input there.

  • Author
 
Should I be able to enter my UPS' IP where it shows 127.0.0.1?  My server doesn't seem to allow any input there.
That is the ip for the nut service. And if you have nut master server on a different computer, then that's the ip for the master server. I don't have any experience with setting up nut to use snmp. But everything is there for it.

 

Hi, I'm having trouble getting NUT to work! I tried autodetect and it finds my ups, a Riello rackmount 1100va AROS Dialog Vision, but doesn't fill in the settings! So I tried manual and copied the auto-detected settings to ups.conf, nothing happens and I see the following in the log!

 

Feb 21 16:34:17 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:22 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:27 Tower upsd[5905]: Can't connect to UPS [nutdev1] (riello_usb-nutdev1): No such file or directory
Feb 21 16:34:27 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:32 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:37 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
 

ups.conf

[nutdev1]
driver = "riello_usb"
port = "auto"
vendorid = "04B4"
productid = "5500"
product = "USB to Serial"
vendor = "Cypress Semiconductor"
bus = "001"

 

nut.conf

MODE=standalone

 

upsd.conf

LISTEN 0.0.0.0

 

upsd.users

[admin]
password=adminpass
actions=set
actions=fsd
instcmds=all
[monuser]
password=monpass
upsmon master
[slaveuser]
password=slavepass
upsmon slave

 

upsmon.conf

MONITOR [email protected] 1 monuser monpass master
SHUTDOWNCMD "/sbin/poweroff"
POWERDOWNFLAG /etc/nut/no_killpower
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYCMD "/usr/sbin/nut-notify"

 

upssched.conf

empty

 

Anything you can see that's wrong?

Cheers, Tim

 

 

  • Author
 
Hi, I'm having trouble getting NUT to work! I tried autodetect and it finds my ups, a Riello rackmount 1100va AROS Dialog Vision, but doesn't fill in the settings! So I tried manual and copied the auto-detected settings to ups.conf, nothing happens and I see the following in the log!
 
Feb 21 16:34:17 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:22 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:27 Tower upsd[5905]: Can't connect to UPS [nutdev1] (riello_usb-nutdev1): No such file or directory
Feb 21 16:34:27 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:32 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
Feb 21 16:34:37 Tower upsmon[5909]: Poll UPS [[email protected]] failed - [ups] does not exist on server 127.0.0.1
 
ups.conf
[nutdev1]
driver = "riello_usb"
port = "auto"
vendorid = "04B4"
productid = "5500"
product = "USB to Serial"
vendor = "Cypress Semiconductor"
bus = "001"
 
nut.conf
MODE=standalone
 
upsd.conf
LISTEN 0.0.0.0
 
upsd.users
[admin]
password=adminpass
actions=set
actions=fsd
instcmds=all
[monuser]
password=monpass
upsmon master
[slaveuser]
password=slavepass
upsmon slave
 
upsmon.conf
MONITOR [email protected] 1 monuser monpass master
SHUTDOWNCMD "/sbin/poweroff"
POWERDOWNFLAG /etc/nut/no_killpower
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYCMD "/usr/sbin/nut-notify"
 
upssched.conf
empty
 
Anything you can see that's wrong?
Cheers, Tim
 
 
What does autodetect show when you run it?

Autodetect shows this:

 

 

Scanning for UPS...

[nutdev1]
driver = "riello_usb"
port = "auto"
vendorid = "04B4"
productid = "5500"
product = "USB to Serial"
vendor = "Cypress Semiconductor"
bus = "001"

 

On 2/20/2019 at 12:17 AM, IamSpartacus said:

Does this plugin only support USB connected UPS'?  I have an RMCARD203 network card in my Cyberpower OL1000RTXL2U UPS and was hoping there was a way to manage it through Unraid.

Let me know if you get anywhere with this. I have a Cyberpower OL1500RTXL2UN, and would be interested in your findings. Currently have mine through the UPS port, but would switch.

20 minutes ago, cybrnook said:

Let me know if you get anywhere with this. I have a Cyberpower OL1500RTXL2UN, and would be interested in your findings. Currently have mine through the UPS port, but would switch.

 

I just wound up connecting via USB since my UPS is right next to my server anyway.  Wasn't worth the hassle.

Same as I am doing. But, it would be nice to be able to tell multiple devices to shutdown gracefully in the event a power outage comes along for an extended period of time. Might look into setting up the Nut Server to try and do that.

3 minutes ago, cybrnook said:

it would be nice to be able to tell multiple devices to shutdown gracefully in the event a power outage

You can do that with the stock apcupsd in unraid.

29 minutes ago, jonathanm said:

You can do that with the stock apcupsd in unraid.

Unfortunately our UPS's don't work with the stock apcupsd. Which is why we are using Nut.

On 2/25/2019 at 1:01 PM, MothyTim said:

Autodetect shows this:

 

 

Scanning for UPS...

[nutdev1]
driver = "riello_usb"
port = "auto"
vendorid = "04B4"
productid = "5500"
product = "USB to Serial"
vendor = "Cypress Semiconductor"
bus = "001"

 

Any help?

 

I have noticed that riello_usb is not listed in the gui driver drop down!

 

Cheers Tim

  • Author
Any help?
 
I have noticed that riello_usb is not listed in the gui driver drop down!
 
Cheers Tim
I think it's the name. Change nutdev1 to ups
18 minutes ago, dmacias said:
39 minutes ago, MothyTim said:
Any help?
 
I have noticed that riello_usb is not listed in the gui driver drop down!
 
Cheers Tim

I think it's the name. Change nutdev1 to ups

Hi, ok tried that, still get an error!


Feb 28 12:49:43 Tower avahi-daemon[12301]: Joining mDNS multicast group on interface vetha995387.IPv6 with address fe80::4482:f5ff:feb4:145c.
Feb 28 12:49:43 Tower avahi-daemon[12301]: New relevant interface vetha995387.IPv6 for mDNS.
Feb 28 12:49:43 Tower avahi-daemon[12301]: Registering new address record for fe80::4482:f5ff:feb4:145c on vetha995387.*.
Feb 28 12:54:35 Tower ntpd[2019]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Feb 28 12:56:38 Tower emhttpd: req (1): cmd=/plugins/community.applications/scripts/pluginInstall.sh&arg1=install&arg2=https://raw.githubusercontent.com/bergware/dynamix/master/unRAIDv6/dynamix.system.stats.plg&csrf_token=****************
Feb 28 12:56:38 Tower emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.sh install https://raw.githubusercontent.com/bergware/dynamix/master/unRAIDv6/dynamix.system.stats.plg
Feb 28 12:56:38 Tower root: plugin: running: anonymous
Feb 28 12:56:38 Tower root: plugin: creating: /boot/config/plugins/dynamix.system.stats/dynamix.system.stats.txz - downloading from URL https://raw.githubusercontent.com/bergware/dynamix/master/archive/dynamix.system.stats.txz
Feb 28 12:56:39 Tower root: plugin: checking: /boot/config/plugins/dynamix.system.stats/dynamix.system.stats.txz - MD5
Feb 28 12:56:39 Tower root: plugin: running: /boot/config/plugins/dynamix.system.stats/dynamix.system.stats.txz
Feb 28 12:56:39 Tower root: plugin: running: anonymous
Feb 28 12:57:53 Tower emhttpd: req (2): cmd=/plugins/nut/scripts/nutscan&csrf_token=****************
Feb 28 12:57:53 Tower emhttpd: cmd: /usr/local/emhttp/plugins/nut/scripts/nutscan
Feb 28 12:58:56 Tower emhttpd: req (3): cmd=/plugins/nut/scripts/nutscan&csrf_token=****************
Feb 28 12:58:56 Tower emhttpd: cmd: /usr/local/emhttp/plugins/nut/scripts/nutscan
Feb 28 12:59:00 Tower root: Fix Common Problems Version 2019.02.18
Feb 28 12:59:45 Tower ool www[10647]: /usr/local/emhttp/plugins/nut/scripts/start
Feb 28 13:00:39 Tower ool www[10647]: /usr/local/emhttp/plugins/nut/scripts/start
Feb 28 13:00:42 Tower upsd[24302]: listening on 0.0.0.0 port 3493
Feb 28 13:00:42 Tower upsd[24302]: Can't connect to UPS [ups] (riello_usb-ups): No such file or directory
Feb 28 13:00:42 Tower upsd[24303]: Startup successful
Feb 28 13:00:42 Tower upsmon[24306]: Startup successful
Feb 28 13:00:42 Tower upsd[24303]: User [email protected] logged into UPS [ups]
Feb 28 13:00:42 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:00:42 Tower upsmon[24307]: Communications with UPS [email protected] lost
Feb 28 13:00:47 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:00:47 Tower upsmon[24307]: UPS [email protected] is unavailable
Feb 28 13:00:52 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:00:57 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:02 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:07 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:07 Tower ool www[10647]: /usr/local/emhttp/plugins/nut/scripts/reload
Feb 28 13:01:10 Tower upsd[24303]: mainloop: Interrupted system call
Feb 28 13:01:10 Tower upsd[24303]: SIGHUP: reloading configuration
Feb 28 13:01:10 Tower upsmon[24307]: Reloading configuration
Feb 28 13:01:10 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:15 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:20 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:25 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:30 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:35 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:40 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected
Feb 28 13:01:45 Tower upsmon[24307]: Poll UPS [[email protected]] failed - Driver not connected

  • Author

Maybe try just this in ups.conf in manual mode with the other confs the same. Also try a non usb3 port

[ups]driver = "riello_usb"port = "auto"

12 minutes ago, dmacias said:

Maybe try just this in ups.conf in manual mode with the other confs the same. Also try a non usb3 port


[ups]driver = "riello_usb"port = "auto"
 

 

That worked! Thank you! Been driving me nuts, trying to get this working! :)

  • Author

Next time I update the plugin I'll add that ups to the dropdown

6 hours ago, dmacias said:

Next time I update the plugin I'll add that ups to the dropdown

That’ll be great, thanks! :)

How does NUT handle a live array during a power outage shutdown? I assume it cleanly stops the array before issuing the shutdown command? Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.