[Nut-upsdev] New questions

john hart jsamcr at yahoo.com
Tue Jul 14 16:50:17 UTC 2015


Here is the previous email that I sent directly to Charles Lepple.  I am now sending to the correct email with cc to Charles.
----------------
I am looking at, and trying to understand the rest of the conf files.  But first want to askabout something from this message:[CODE]root at debian:/home/john# upsdrvctl startNetwork UPS Tools - UPS driver controller 2.7.2Network UPS Tools - Megatec/Q1 protocol USB driver 0.11 (2.7.2)Supported UPS detected with megatec protocolVendor information unavailableNo values provided for battery high/low voltages in ups.conf
Using 'guestimation' (low: 10.400000, high: 13.000000)!Battery runtime will not be calculated (runtimecal not set)[CODE]
I recall, from past experience with this UPS, that the nominal voltage is around 13.1 .  I have no idea what the low voltage should be, but 10.4 is probably okay. So, would I add the following in the ups.conf 
[CODE]default.battery.voltage.high = 13.5default.battery.voltage.low = 10.4default.battery.voltage.nominal = 13.1[CODE]
Now, on to the  'upsmon.conf'  file.  I am a bit lost as to what all is required in this file.  Lookingat just the first part of the example from Price, I see :
[CODE]# /etc/ups/upsmon.conf MONITOR Eaton-66781 at localhost 1 upsmaster sekret master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /usr/sbin/upssched POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower[CODE]
I have modified the MONITOR line as appropriate for my system but wonder about a coupleof entries.  The referenced binary '/usr/sbin/upssched' appears to be in '/sbin' not '/usr/sbin' .Is that the '/sbin/upssched' the correct file to use ?  Also, the '/etc/killpower'  does not appearanywhere in my system.  I did a 'locate killpower' and came up empty .  I now see that thekillpower is generated automatically (I think).
Also, do I need all of the NOTIFYMSG and NOTIFYFLAG things?   I guess I am looking to dothe minimum just to get things running.  I assume I can modify things later as I learn enoughto do so correctly.  Looks like the NOTIFYMSG will send a message to a terminal. Is that correct?
Suggestions please.  Thanks.
  "Science is organized common sense. Philosophy is organized piffle" 
-attributed to Bertrand Russel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20150714/3bf0f5c5/attachment.html>


More information about the Nut-upsdev mailing list