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.

APCUPSD/NUT Synology and unRAID - Getting confused

Featured Replies

I have 2 synology diskstations that I would like to have communicate to the unRAID APC.

 

I'm running apcupsd on the unRAID with the clean powerdown package.

 

Synology utilizes NUT to communicate to an ups, while unRAID is using the apcupsd

http://www.networkupstools.org/

 

I have 2 options, but wonder if I am making this more complicated than need be.

 

1.  Setup Syno as the master, unRAID as the slave.  

http://lime-technology.com/forum/index.php?topic=13791.msg130563#msg130563

Would I have to install NUT on the unRAID? or should I just...

           

2.  Setup unRAID as the master, and install apcupsd on the Syno?

http://forum.synology.com/enu/viewtopic.php?f=27&t=19378

 

Or...can I just leave as is (doubtful)- setup the syno as master, modify the unRAID .conf file (SynoIP:3493) - and have unRAID monitor UPS status <See below>

 

 

 

06_Aug._25_11_50.jpg.10bfeabc9f8596022ed0df26a349bcdf.jpg

  • Author

:)Making progress....installed bootstrap, and the apcupsd ipkg on the synology, and configuring apcupsd.conf for slave service..  I'll post steps how to accomplish if I get it to successfully shutdown on command from the unRAID server.  Any suggestions or help is appreciated

 

 

btw:  only command line experience has been mounting drives via nfs, running screen for the pre-clear - I have never done any of this. (if you don't count machine language coding back when I was in 8th grade for simple games!)  Trying to be careful though.

  • 3 years later...

I am trying to do exactly the same thing (unraid and synology sharing a UPS). Did you have any luck?

I am trying to do exactly the same thing (unraid and synology sharing a UPS). Did you have any luck?

FYI, APCUPSD on unRAID is setup by default to be Master. If you can get APCUPSD installed on Synology you can set it to listen to unRAID by setting Device:unRAIDIP:3551  UPS type:Net  UPS cable:Ether

Thank you very much for the pointers! I tried to follow your advice, but got this from synology when running apctest

 

# ./apctest

 

 

2015-08-22 13:51:17 apctest 3.14.8 (16 January 2010) unknown

Checking configuration ...

Attached to driver: usb

sharenet.type = DISABLE

cable.type = USB_CABLE

 

You are using a USB cable type, so I'm entering USB test mode

mode.type = USB_UPS

Setting up the port ...

apctest FATAL ERROR in linux-usb.c at line 609

Cannot find UPS device --

For a link to detailed USB trouble shooting information,

please see <http://www.apcupsd.com/support.html>.

apctest error termination completed

 

Synology's own ups setting is working and communicating with the ups, so i am messing something up with the apcupsd settings. Any ideas?

 

btw this is my .conf file

https://dl.dropboxusercontent.com/u/3260689/apcupsd.conf

Thank you very much for the pointers! I tried to follow your advice, but got this from synology when running apctest

 

# ./apctest

 

 

2015-08-22 13:51:17 apctest 3.14.8 (16 January 2010) unknown

Checking configuration ...

Attached to driver: usb

sharenet.type = DISABLE

cable.type = USB_CABLE

 

You are using a USB cable type, so I'm entering USB test mode

mode.type = USB_UPS

Setting up the port ...

apctest FATAL ERROR in linux-usb.c at line 609

Cannot find UPS device --

For a link to detailed USB trouble shooting information,

please see <http://www.apcupsd.com/support.html>.

apctest error termination completed

 

Synology's own ups setting is working and communicating with the ups, so i am messing something up with the apcupsd settings. Any ideas?

 

btw this is my .conf file

https://dl.dropboxusercontent.com/u/3260689/apcupsd.conf

Have a look om the encl conf. I am using this one for a Windows VM but settings should be similar.

apcupsd.conf

I may have misunderstood, so I would like to clarify things. Your unraid machine is running the apc daemon as configured by the "apc settings" on the unraid ui, correct?  The .conf file you sent me is from the one running on the "slave" machine, correct?

 

I am doing the modifications to your .conf file (change the ip of the unraid box), but apctest show "getlink not up".  Am I supposed to activate the master mode from the unraid menu somehow or am I still doing something wrong in the .conf file of the synology?

I may have misunderstood, so I would like to clarify things. Your unraid machine is running the apc daemon as configured by the "apc settings" on the unraid ui, correct?  The .conf file you sent me is from the one running on the "slave" machine, correct?

 

I am doing the modifications to your .conf file (change the ip of the unraid box), but apctest show "getlink not up".  Am I supposed to activate the master mode from the unraid menu somehow or am I still doing something wrong in the .conf file of the synology?

Correct, there is nothing more on unRaid the do the settings in the GUI, unRAID is master as default (no conf file or anything else to change).

 

There is something in the conf for Synology missing, take a clean conf file for Linux (mine is for Windows) and look for differences and change the Linux conf file. It can be the case that a Linux system needs something slightly different so google it as well.

UPS_settings.png.8e7248ec8f50093a013d36ccfbd788d1.png

Thank you very much for all your help!

Check out the new v6 plugin for NUT -> [Plug-In] NUT - Network UPS Tools

 

It's a first version, so I don't know how well the master/slave stuff works yet, but he sounds very open to further development if needed.

Wow! thanks alot

  • 2 years later...
On 8/22/2015 at 3:29 PM, RobJ said:

Check out the new v6 plugin for NUT -> [Plug-In] NUT - Network UPS Tools

 

It's a first version, so I don't know how well the master/slave stuff works yet, but he sounds very open to further development if needed.

 

That one is abandoned now, but this one is maintained and is working for me.

 

Archived

This topic is now archived and is closed to further replies.

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.