UPS Settings (network UPS server on synology)


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
Link to comment
  • 1 year later...
  • 1 month later...
  • 1 month later...

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 :)

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

Link to comment
  • 2 weeks later...

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

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.

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

Link to comment

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

 

Link to comment

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.