[Plugin] NUT v2 - Network UPS Tools


dmacias

Recommended Posts

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”
 
(Running 6.6.6 if that matters. I haven’t had a chance to try out the 6.7RC yet)
 
-A
Thanks. Fixed now
  • Like 1
Link to comment
  • 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

Link to comment
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.

Link to comment
 
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.
Link to comment

 

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

 

 

Link to comment
 
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?
Link to comment
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.

Link to comment
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

Link to comment
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

Link to comment
  • Rysz featured this topic

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.