[UPS] QNAP and Synology don't communicate

Printers, HDDs, USB/eSATA drives, 3rd-party programs
Locked
qnappekop
Getting the hang of things
Posts: 53
Joined: Fri Dec 04, 2009 6:23 am
Location: The Netherlands

[UPS] QNAP and Synology don't communicate

Post by qnappekop »

Hi,

I have 2 Synology's (DS710+, DS212+) and one Qnap TS 239Pro. All with the latest firmware.

I tried to connect a APC Smart-UPS 750 to QNAP and Synology by USB which works great. The problem is that the UPS server-function is not communicating with the other brand NAS.

For example:
Synology DS212+ Master <--> Synology DS710+ Slave = OK
Synology DS212+ Master <--> QNAP TS239Pro Slave = NOT OK
QNAP TS239Pro Master <--> Synology DS710+ Slave = NOT OK
QNAP TS239Pro Master <--> Synology DS212+ Slave = NOT OK

Is there a way to get this working using UPS-Server functions?
I have connected all NAS to the UPS and I need this function badly... :?
Note: English is not my native language.....
qnappekop
Getting the hang of things
Posts: 53
Joined: Fri Dec 04, 2009 6:23 am
Location: The Netherlands

Re: [UPS] QNAP and Synology don't communicate

Post by qnappekop »

After some searching in the hart of the QNAP, I found that the user(name) of /mnt/HDA_ROOT/.config/ups/ups.conf on the QNAP-NAS and on the Synology /usr/syno/etc/ups/ups.conf are different:

Synology (Slave):
[ups]
driver = usbhid-ups
port = auto

QNAP (Master):
[qnapups]
driver = usbhid-ups
port = /dev/ttyS1
desc = "Workstation"
pollinterval=1


With a command from a Syno I can get info from QNAP:

Code: Select all

upsc qnapups@<QNAP-IP>
Is there a nice way to add the standard Syno user to the QNAP configuration?
Note: English is not my native language.....
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: [UPS] QNAP and Synology don't communicate

Post by schumaku »

What "standard user" are you talking of here? This Syno config shows a (USB) UPS HID connection, not a slave.
qnappekop
Getting the hang of things
Posts: 53
Joined: Fri Dec 04, 2009 6:23 am
Location: The Netherlands

Re: [UPS] QNAP and Synology don't communicate

Post by qnappekop »

Hmm, I changed on my Syno the file /usr/syno/etc/ups/upsmon.conf

Code: Select all

MONITOR qnapups@xxx.xxx.xxx.xxx monuser secret slave
(changed ups@... to qnapups@...)

Restarted the Syno UPS monitor service with:

Code: Select all

upsmon -c reload
And my Syno communicates with his QNAP buddy! :mrgreen:

I don't know if it will survive a firmware-update or even a reboot, though.....

We'll see....
Note: English is not my native language.....
keule
Getting the hang of things
Posts: 73
Joined: Sat Dec 26, 2009 6:27 pm

Re: [UPS] QNAP and Synology don't communicate

Post by keule »

Working for me in the same way. Great work. Thanks!

@QNAP,
To improve the interworking between diffrent devices it's maybe better to change the name back to "UPS" from "QNAPUPS" - or make it changable via the GUI.
QNAP TS-419P, 2x Samsung 1.5TB istalled, EXT3, no raid, Firmware 4.0.1.
Beurt
Starting out
Posts: 10
Joined: Wed Jan 19, 2011 5:21 am

Re: [UPS] QNAP and Synology don't communicate

Post by Beurt »

Hi,
qnappekop wrote:Hmm, I changed on my Syno the file /usr/syno/etc/ups/upsmon.conf

Code: Select all

MONITOR qnapups@xxx.xxx.xxx.xxx monuser secret slave
(changed ups@... to qnapups@...)

Restarted the Syno UPS monitor service with:

Code: Select all

upsmon -c reload
And my Syno communicates with his QNAP buddy! :mrgreen:

I don't know if it will survive a firmware-update or even a reboot, though.....

We'll see....
Unfortunately it seems that since the last DSM update (DSM 5.2-5565 Update 2) this very useful trick isn't working anymore. I can't figure why: the qnap is still recognized (upsc qnapups@<QNAP_IP> is working fine), but by the DSM itself (in web interface it is claimed that the connexion to the UPS server is not possible).

Code: Select all

upsmon -c reload
returns:

Code: Select all

Network UPS Tools upsmon SDS5-2-5565-critbranch-2-150528
But the UPS seems not being suppoted anymore.
dwaynek
Starting out
Posts: 11
Joined: Fri May 06, 2016 2:02 am

Re: [UPS] QNAP and Synology don't communicate

Post by dwaynek »

i tried doing the reverse, synology master and qnap client but couldn't get it to work.

i changed upsmon.conf on my qnap nas to:

Code: Select all

MONITOR ups@192.168.0.4 1 monuser secret slave
User avatar
OneCD
Guru
Posts: 12141
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [UPS] QNAP and Synology don't communicate

Post by OneCD »

* topic locked to prevent further necroposting *

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Locked

Return to “Hardware & Software Compatibility”