Tomasz Przychodzień
2016-Oct-25 13:53 UTC
[Nut-upsuser] setting up CYBERPOWER CP1500PFCLCD
Hi, Another beginner question. I spend hours trying to find the solution for how to configure winnut properly but I' struggling to make it work. I want my QNAP NAS TS-231 to work as a master and send signal to the PC to shut it down during power outage. I configured QNAP properly (like this: http://geekbeat.tv/qnap-adding-external-devices-qnap), but I don't know what to do next. I work on Win10, WinNUT-2.0.0.4a UPS: CYBERPOWER CP1500PFCLCD I have no idea how to config monitoring. This part: MONITOR <system> <powervalue> <username> <password> ("master"|"slave") I found somewhere that I should add a line: MONITOR qnapups@<IP ADDRESS OF MY COMPUTER>:3493 1 admin 123456 slave After starting Winnut I got a message: "fatal error: insufficient power configured! edit your configuration and change the values" I guess there is sth wrong with "MONITOR" part. Should I change username/pass? Where can I check/change it? I found a tutorial about setting up OpenGear https://opengear.zendesk.com/entries/22948456-UPS-monitoring-and-automated-safe-shutdown-using-WinNUT In this case it's easy to find UPS username and password. What about CYBERPOWER? Anything else I should do? Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161025/26cb1dc2/attachment.html>
[please use reply-all to include the list - the headers are not mangled] On Oct 25, 2016, at 9:53 AM, Tomasz Przychodzie? wrote:> > Hi, > > Another beginner question. I spend hours trying to find the solution for how to configure winnut properly but I' struggling to make it work. I want my QNAP NAS TS-231 to work as a master and send signal to the PC to shut it down during power outage. I configured QNAP properly (like this: http://geekbeat.tv/qnap-adding-external-devices-qnap), but I don't know what to do next. > > I work on Win10, WinNUT-2.0.0.4a UPS: CYBERPOWER CP1500PFCLCD > I have no idea how to config monitoring. This part: MONITOR <system> <powervalue> <username> <password> ("master"|"slave") > > I found somewhere that I should add a line: > MONITOR qnapups@<IP ADDRESS OF MY COMPUTER>:3493 1 admin 123456 slave >Does this help? http://www.snbforums.com/threads/using-qnap-ups-server-to-signal-other-devices.17551/ It mentions that you should use the Admin password for QNAP. Also, just to clarify, it sounds like <IP ADDRESS OF MY COMPUTER> should be the IP of the QNAS unit, not the computer running WinNUT.
Tomasz Przychodzień
2016-Oct-26 08:56 UTC
[Nut-upsuser] setting up CYBERPOWER CP1500PFCLCD
I changed IP to NAS IP instead of my PC IP and also used NAS login and pass. Didn't work. When I wanted to launch WinNUT with new settings I got: "Fatal error: insufficient power configured!" (same as before) I got this log: Level INFO 10/26/2016 10:46:17 Detected OS as Windows NT Level NOTICE 10/26/2016 10:46:17 Network UPS Tools upsmon 2.0.0.4 Level INFO 10/26/2016 10:46:17 Config Load: MINSUPPLIES set to 1 Level INFO 10/26/2016 10:46:17 Config Load: NOTIFYCMD set to "c:\Program Files\WinNUT\alertPopup.exe" Level INFO 10/26/2016 10:46:17 Config Load: POLLFREQ set to 5 Level INFO 10/26/2016 10:46:17 Config Load: POLLFREQALERT set to 5 Level INFO 10/26/2016 10:46:17 Config Load: HOSTSYNC set to 15 Level INFO 10/26/2016 10:46:17 Config Load: DEADTIME set to 15 Level INFO 10/26/2016 10:46:17 Config Load: RBWARNTIME set to 43200 Level INFO 10/26/2016 10:46:17 Config Load: NOCOMMWARNTIME set to 300 Level INFO 10/26/2016 10:46:17 Config Load: FINALDELAY set to 5 Level CRITICAL 10/26/2016 10:46:17 Fatal error: insufficient power configured! Level CRITICAL 10/26/2016 10:46:17 Sum of power values........: 0 Level CRITICAL 10/26/2016 10:46:17 Minimum value (MINSUPPLIES): 1 Level CRITICAL 10/26/2016 10:46:17 Edit your upsmon.conf and change the values. Should I change MINSUPPLIES to 0? (WinNUT runs then - has "Running as Application" status - how can I test if it's really working?). Does it make any sense to have MINSUPPLIES at 0? Thanks, Tom 2016-10-26 4:06 GMT+02:00 Charles Lepple <clepple at gmail.com>:> [please use reply-all to include the list - the headers are not mangled] > > On Oct 25, 2016, at 9:53 AM, Tomasz Przychodzie? wrote: > > > > Hi, > > > > Another beginner question. I spend hours trying to find the solution for > how to configure winnut properly but I' struggling to make it work. I want > my QNAP NAS TS-231 to work as a master and send signal to the PC to shut it > down during power outage. I configured QNAP properly (like this: > http://geekbeat.tv/qnap-adding-external-devices-qnap), but I don't know > what to do next. > > > > I work on Win10, WinNUT-2.0.0.4a UPS: CYBERPOWER CP1500PFCLCD > > I have no idea how to config monitoring. This part: MONITOR <system> > <powervalue> <username> <password> ("master"|"slave") > > > > I found somewhere that I should add a line: > > MONITOR qnapups@<IP ADDRESS OF MY COMPUTER>:3493 1 admin 123456 slave > > > Does this help? http://www.snbforums.com/threads/using-qnap-ups-server- > to-signal-other-devices.17551/ > > It mentions that you should use the Admin password for QNAP. > > Also, just to clarify, it sounds like <IP ADDRESS OF MY COMPUTER> should > be the IP of the QNAS unit, not the computer running WinNUT. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161026/c0839fc5/attachment-0001.html>