From owner-freebsd-questions Wed Mar 1 9:23:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from almazs.pacex.net (almazs.pacex.net [204.1.219.156]) by hub.freebsd.org (Postfix) with ESMTP id 5138E37C6DA for ; Wed, 1 Mar 2000 09:23:44 -0800 (PST) (envelope-from danielb@pacex.net) Received: from almazs.pacex.net (almazs.pacex.net [204.1.219.156]) by almazs.pacex.net (8.9.3/8.9.3) with ESMTP id JAA64521; Wed, 1 Mar 2000 09:23:28 -0800 (PST) Date: Wed, 1 Mar 2000 09:23:28 -0800 (PST) From: "Dan B. " To: John Straiton Cc: Alexey Koptsevich , freebsd-questions@FreeBSD.ORG Subject: Re: SmartUPS 1400 In-Reply-To: <018101bf82c9$f7eee850$1f16c6d1@clickcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 29 Feb 2000, John Straiton wrote: > > Would be grateful for hint or link: how to halt the system and then > > power-down the box (AT formfactor) after predetermined time using UPS > > software, e.g., upsd? I have APC BackUPS Pro. > > edit the /usr/local/etc/upsd.conf file using your favorite editor and about > a page down you'll see things like > -- > on "line-fail" after 60 { > -- > That 60 is an indicator of the time before said action is taken. In this > case, after 60 seconds of a condition of having no AC power, the system will > execute a shutdown. Right above this, you will see entries for the warning > that comes prior. You'll want to adjust it accordingly I can assume. > > John This is OK, but suppose you have a server hooked-up to a 1400VA UPS (which will keep going for approx 1hr 30min after an outage) do you realy want to shutdown in 60 secs? 20 min? why not shutdown when there is only enough battery power left in the UPS for say 5minutes? Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message