From owner-freebsd-questions@FreeBSD.ORG Thu May 3 13:37:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CD8316A403 for ; Thu, 3 May 2007 13:37:15 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7547D13C4BB for ; Thu, 3 May 2007 13:37:15 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id EEAA821C0CD; Thu, 3 May 2007 09:37:12 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 03 May 2007 09:37:15 -0400 X-Sasl-enc: 9/uto+qJI1ADRTk/7LjrrJ+9myJG/t7ICCB5QnmYDo4A 1178199435 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 6A17AF0A1; Thu, 3 May 2007 09:37:15 -0400 (EDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <098214E2-92CF-4C51-B777-71F6FC794778@goldmark.org> Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Thu, 3 May 2007 08:37:12 -0500 To: Jonathan Horne X-Mailer: Apple Mail (2.752.2) Cc: "freebsd-questions@freebsd.org" Subject: Re: List of UPCs that can auto-shutdown FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 13:37:15 -0000 On May 2, 2007, at 2:47 PM, Jonathan Horne wrote: > Check out sysutils/apcupsd. I have it running with similar APC > UPS's, and > it does exactly this. I even added another destination line on > some of the > scripts it runs on different power events, and when the power is > off long > enough (5 seconds I believe), I get a message sent to my cell phone > (via > smtp). Seeing that we are neighbors, I strongly suspect that you had the opportunity to see your system in action last night. I learned that I need to do a bit of tuning of my system, but things mostly went as expected using apcupsd. So I also recommend apcupsd. I have two machines on the UPS (an APC Back-UPS XS 1200) and the apcupsd server shutdown before the client figured that it should shutdown. I also have a smaller UPS for the various switches and things that don't need clean shutdowns, and surprisingly that one ran out of battery before the main UPS even though during my tests just a few weeks ago it outlasted the main one. It also appears (I haven't fully confirmed yet) that my ISP started having problems about 10 minutes after I lost power at my location. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/