From owner-freebsd-questions Fri Mar 3 8:56:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ioffe.rssi.ru (relay.ioffe.rssi.ru [194.85.224.33]) by hub.freebsd.org (Postfix) with ESMTP id B9F9537B615 for ; Fri, 3 Mar 2000 08:56:20 -0800 (PST) (envelope-from ak@astro.ioffe.rssi.ru) Received: from astro.ioffe.rssi.ru (astro.ioffe.rssi.ru [194.85.229.130]) by relay.ioffe.rssi.ru (8.9.1/8.9.1) with ESMTP id TAA06304; Fri, 3 Mar 2000 19:56:03 +0300 (MSK) Received: by astro.ioffe.rssi.ru (8.9.3/Clnt-2.14-AS-eef) id TAA44548; Fri, 3 Mar 2000 19:55:22 +0300 (MSK) Date: Fri, 3 Mar 2000 19:55:22 +0300 (MSK) From: Alexey Koptsevich To: John Straiton , "Dan B." Cc: 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 > > 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 Sorry, but my question concerned to power down at the given moment, i.e., I would like to power down via, e.g., cron at the predetermined time. Is it possible with using UPS software? Could it be performed directly or, e.g., through emulation of the UPS line-fail signal? > Well; your UPS has to have a serial interface to the server/machine does > APC BackUPS Pro have one? > > Dan Yes, it has... Alexey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message