[ale] Home NAS

Ron Frazier atllinuxenthinfo at c3energy.com
Thu Feb 3 00:04:10 EST 2011


Mike,

Thanks for the reply to my query. The UPS is one of several issues on my 
list of computer things to do, and I hope to be posting more on the 
topic shortly.

I looked at the script in the link you mentioned. I don't know perl, but 
I think I've got the basics. Looks like you're polling the UPS, waiting 
for an On Battery status indication. Then you check the percentage of 
power remaining, and issue a system shutdown command if it gets too low. 
Very cool.

The UPS I have is connected via USB, and doesn't have the capabilities 
you're discussing. However, if I have to buy one, I'd probably look for 
these capabilities. I'm reviewing several programs which to power 
management, and I'll share whatever I find out.

Sincerely,

Ron

On 01/31/2011 11:02 AM, Mike Harrison wrote:
> On Sun, 30 Jan 2011, Ron Frazier wrote:
>    
>> minutes. I'd actually like to be able to tell the system to shut down
>> after 1 minute, which amounts to about 70% battery left. I cannot find
>> anything in Ubuntu which will allow me that level of control. The power
>> settings panel only asks me what I want to do when the battery is
>> critically low. It doesn't ask anything about when to do it. I don't
>> know how to set it the way it needs to be set.
>>      
>
> While most home UPS's don't have SNMP capabilities,
> it's very useful for this and worth a few extra bucks,
> or recycling (adding new batteries) to a used higher end
> UPS.
>
> http://www.geeklabs.com/index.php?mode=articles&submode=comments&uniq=17
>
> is a simple perl SNMP (using Linux snmpget) example script that can
> shut down a system at a specificed percentage. There are fancy SNMP
> monitoring systems as well, but I found them harder to configure and
> adjust than I liked.
>
> The production version of that script also shuts off the web server,
> then dumps a backup of all MySQL tables before powering down.
>
>
>    

-- 

(PS - If you email me and don't get a quick response, you might want to
call on the phone.  I get about 300 emails per day from alternate energy
mailing lists and such.  I don't always see new messages very quickly.)

Ron Frazier

770-205-9422 (O)   Leave a message.
linuxdude AT c3energy.com



More information about the Ale mailing list