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>
On Oct 26, 2016, at 4:56 AM, Tomasz Przychodzie? wrote:> > 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 5I'm not as familiar with WinNUT, but I assume that your MONITOR line should be listed here. If any of the parameters have spaces in them (i.e. the password), make sure they are in quotes.> 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?Given your original description (send a signal to the PC to shut it dow during a power outage), MINSUPPLIES should be 1. The upsmon.conf documentation describes the case where you might set MINSUPPLIES to 0 in order to monitor an UPS that is not powering the computer: http://networkupstools.org/docs/man/upsmon.conf.html
Tomasz Przychodzień
2016-Oct-26 12:41 UTC
[Nut-upsuser] setting up CYBERPOWER CP1500PFCLCD
This was only the log from the program. I'm sending my upsmon.conf attached (I removed nas ip number, admin login and pass (no spaces in parameters) and also changed back minsupplies to 1), the rest of the settings are the same as I used. Best, Tom 2016-10-26 14:21 GMT+02:00 Charles Lepple <clepple at gmail.com>:> On Oct 26, 2016, at 4:56 AM, Tomasz Przychodzie? wrote: > > > > 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 > > I'm not as familiar with WinNUT, but I assume that your MONITOR line > should be listed here. > > If any of the parameters have spaces in them (i.e. the password), make > sure they are in quotes. > > > 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? > > Given your original description (send a signal to the PC to shut it dow > during a power outage), MINSUPPLIES should be 1. > > The upsmon.conf documentation describes the case where you might set > MINSUPPLIES to 0 in order to monitor an UPS that is not powering the > computer: http://networkupstools.org/docs/man/upsmon.conf.html > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161026/9d29c01f/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: upsmon.conf Type: application/octet-stream Size: 10424 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20161026/9d29c01f/attachment-0001.obj>