Jump to content
volume

UPS Settings (network UPS server on synology)

18 posts in this topic Last Reply

Recommended Posts

Hello

 

I have a APC smart UPS connected through USB to my synology nas and i will like also to connect my unRAID.

Could you please help me to set it up correctly, and in the case of power failure, i need the unraid to close safely and then shut down the synology nas if the battery is drained.

the unraid ip will be 192.168.1.200

 

thanks

 

594d1a043dd58_1syno.png.45083e61e5d6468e2fcbc5c47dfb6c78.png594d1a20bd978_2syno.png.f4a9fa97d7924a7ae3a74f31891ef6dc.png594d1a315a9d1_UPSunRAID.thumb.png.fb9bfb6d4446c25b1c156df326e9c3cc.png

Edited by volume

Share this post


Link to post

According to Help (toggle help on the Menu bar):

  • net - hostname:port. Hostname is the IP address of the NIS server. The deafult port is 3551

 

So you have to put the port in front of the host ip.

Share this post


Link to post

I am trying to setup the same configuration but I am getting lost connection?

 

The synology UPS server is running on 192.168.0.10

And I have added the Unraid IP to the UPS server list

So what am I missing?

 

image.thumb.png.47c7ec9b0cd6600b712cae82b61cf932.png

Share this post


Link to post
Posted (edited)

You need install plugin nut ups and disable buildin APCUPSD. Then google Synology access UPS default login password.

Edited by Benson

Share this post


Link to post
Posted (edited)

I can't remember the login password and in fact no any Synology at my network, btw do you success by setting as URL info. provide ?

Edited by Benson

Share this post


Link to post

I am still struggeling to get this working...

Anyone with at Synology NAS and the plugin above have this working?

And if they do please tell me how? 👍

Share this post


Link to post
Posted (edited)

Working the principlal of trying all the possible combination of things, have you tried entering the port number here? 

image.png.579cb61af78de48ee09e8ce8c6626f17.png

EDIT:  have you google to verify what port your Synology box is using for this service?  

Edited by Frank1940

Share this post


Link to post

I did get this working by installing the NUT (Network UPS Tools) plugin as mentioned by @casperse configuring the UPS Mode (Settings > NUT) to be a "Slave" and setting the UPS IP Address to the Synology NAS (no port number required) - I left all other values as default and started the UPS Tools Service.

 

On the Synology NAS I simply entered the IP Address of the unRAID box in the Permitted DiskStation devices and checked the "Enable network UPS server" in the UPS tab of the Hardware & Power Control Panel.

 

The NUT plugin displayed all the settings from the UPS and seems to be up and running just fine :)

Share this post


Link to post
13 hours ago, petecemi said:

I did get this working by installing the NUT (Network UPS Tools) plugin as mentioned by @casperse configuring the UPS Mode (Settings > NUT) to be a "Slave" and setting the UPS IP Address to the Synology NAS (no port number required) - I left all other values as default and started the UPS Tools Service.

 

On the Synology NAS I simply entered the IP Address of the unRAID box in the Permitted DiskStation devices and checked the "Enable network UPS server" in the UPS tab of the Hardware & Power Control Panel.

 

The NUT plugin displayed all the settings from the UPS and seems to be up and running just fine :)

Can you share your configuration/Settings I never got this working.....

Share this post


Link to post

My unRaid box is 192.168.1.3 and my Synology NAS is 192.168.1.4

 

As mentioned, I changed nothing else other than the UPS Mode in the NUT Settings.

 

Hope it helps!

image.thumb.png.2395a65da9e068eadbc327b591c00de5.pngimage.thumb.png.a98404b41b2eb654ac0bfbe8912aa353.png

Share this post


Link to post

Thanks @petecemi I can not see any difference between your setup and mine...

What passwords are you using for mouser and slaveuser? (Standard ones?)

 

image.png.9bba17c436fbcd73d73860f185825c7f.png

 

Status never changes:

image.thumb.png.c1ecd74df207eef8a9fab0c0695c84b4.png

 

UPDATE: I found that my Synology was using another IP for the UPS server? not my main "Bond" IP...

[monuser]
password = secret
upsmon master
[monuser2]
password = mylittlesecret
upsmon slave

 

Looks like its connected now... THANKS for all your help!

 

 

Edited by casperse

Share this post


Link to post

Try this @casperse, it should allow you to telnet in to the NUT port:

telnet 192.168.0.10 3493

... if connected try the following commands (USERNAME, PASSWORD, etc) does it respond with OK? like on mine?

telnet 192.168.1.4 3493
Trying 192.168.1.4...
Connected to 192.168.1.4.
Escape character is '^]'.
USERNAME monuser
OK
PASSWORD mypass
OK
LIST UPS
BEGIN LIST UPS
UPS ups "Description unavailable"
END LIST UPS
GET UPSDESC ups
UPSDESC ups "Unavailable"

If it returns ERR ACCESS-DENIED or won't let you connect, then it maybe something to do with the "Permitted DiskStation devices" IP address list on the SynologyNAS.

I did not change any of the usernames or passwords for my config, left everything as default.

Share this post


Link to post
6 minutes ago, petecemi said:

Try this @casperse, it should allow you to telnet in to the NUT port:


telnet 192.168.0.10 3493

... if connected try the following commands (USERNAME, PASSWORD, etc) does it respond with OK? like on mine?


telnet 192.168.1.4 3493
Trying 192.168.1.4...
Connected to 192.168.1.4.
Escape character is '^]'.
USERNAME monuser
OK
PASSWORD mypass
OK
LIST UPS
BEGIN LIST UPS
UPS ups "Description unavailable"
END LIST UPS
GET UPSDESC ups
UPSDESC ups "Unavailable"

If it returns ERR ACCESS-DENIED or won't let you connect, then it maybe something to do with the "Permitted DiskStation devices" IP address list on the SynologyNAS.

I did not change any of the usernames or passwords for my config, left everything as default.

Thats really cool! didn't know that was possible found it used another IP than my primary "bonded" IP with Thrunk?

Changing the IP and it works! THANKS

Share this post


Link to post

Awesome!

 

I didn't know about these things either, just discovered them, small correction to my output above, the default password for monuser is secret:

telnet 192.168.1.4 3493
Trying 192.168.1.4...
Connected to 192.168.1.4.
Escape character is '^]'.
username monuser
OK
password secret
OK
login ups
OK

 

Share this post


Link to post

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.