I took a look at this thread here: http://forum.qnap.com/viewtopic.php?f=182&t=60166 which seemed to be similar, however I'm still not able to get things to work.
I've modified the /etc/config/ups/upsmon.conf file to use the same monitor configuration as other systems connecting to my upsd on my central server:
Code: Select all
MONITOR UPS@192.168.0.2 1 monuser pass slave
If I look at the logs of the upsd I see this:
Code: Select all
Sep 1 08:32:45 thor upsd[5675]: Connect from 192.168.0.7
Sep 1 08:32:45 thor upsd[5675]: mainloop: polling 7 filedescriptors
Sep 1 08:32:45 thor upsd[5675]: write: [destfd=9] [len=26] [ERR FEATURE-NOT-SUPPORTED]
Sep 1 08:32:45 thor upsd[5675]: mainloop: polling 7 filedescriptors
Sep 1 08:32:45 thor upsd[5675]: write: [destfd=9] [len=16] [ERR UNKNOWN-UPS]
Sep 1 08:32:45 thor upsd[5675]: mainloop: polling 7 filedescriptors
Sep 1 08:32:45 thor upsd[5675]: write: [destfd=9] [len=11] [OK Goodbye]
Sep 1 08:32:45 thor upsd[5675]: Disconnect from 192.168.0.7
One thing I do notice though, is upsmon isn't running on the QNAP server, and interestingly if I run upsmon manually on the QNAP, it seems to connect fine:
Code: Select all
Sep 1 09:21:53 thor upsd[6277]: Connect from 192.168.0.7
Sep 1 09:21:53 thor upsd[6277]: mainloop: polling 7 filedescriptors
Sep 1 09:21:53 thor upsd[6277]: write: [destfd=10] [len=26] [ERR FEATURE-NOT-SUPPORTED]
Sep 1 09:21:53 thor upsd[6277]: mainloop: polling 7 filedescriptors
Sep 1 09:21:53 thor upsd[6277]: write: [destfd=10] [len=3] [OK]
Sep 1 09:21:53 thor upsd[6277]: mainloop: polling 7 filedescriptors
Sep 1 09:21:53 thor upsd[6277]: write: [destfd=10] [len=3] [OK]
Sep 1 09:21:53 thor upsd[6277]: mainloop: polling 7 filedescriptors
Sep 1 09:21:53 thor upsd[6277]: User monuser@192.168.0.7 logged into UPS [UPS]
Cheers,
Derek.