From owner-freebsd-questions Tue Feb 29 7:31: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stargate.clickcom.com (stargate.clickcom.com [209.198.22.4]) by hub.freebsd.org (Postfix) with ESMTP id 3819837BB82 for ; Tue, 29 Feb 2000 07:31:00 -0800 (PST) (envelope-from ne@clickcom.com) Received: from fishbowl (dhcp1.clickcom.com [209.198.22.31]) by stargate.clickcom.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id F5S9RQS7; Tue, 29 Feb 2000 10:30:59 -0500 Message-ID: <018101bf82c9$f7eee850$1f16c6d1@clickcom.com> From: "John Straiton" To: "Alexey Koptsevich" Cc: References: Subject: Re: SmartUPS 1400 Date: Tue, 29 Feb 2000 10:30:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 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 > > > Does smartups 1400 work with FreeBSD 3.3 or 3.4? > > > That is, do these version include a driver for this product? > > cd /usr/ports/sysutils/upsd ;make install clean > > > > This little ditty doesn't seem to have the functionality of the powerchute > > software (I don't know, I emailed the maintainer when I installed it like 6 > > months ago without ever getting a reply as to if it did anything more than > > monitor/shutdown...its has no documentation) but I do use it to monitor the > > system. It will put a configuration file at /usr/local/etc/upsd.conf for you > > to use. It basically will (at a specified interval) write messages to your > > syslog like they appear below. You can additionally set it to shut the > > machine down clean after a pre-determined time. > > > > John Straiton > > ne@clickcom.com > > > > Feb 18 08:20:01 ns2.clickcom.com upsd[11419]: apc_tune: toggle wraparound > > regist > > er high-transfer-point > > Feb 18 08:20:01 ns2.clickcom.com upsd[11419]: apc_tune: toggle wraparound > > regist > > er low-transfer-point > > Feb 18 08:20:01 ns2.clickcom.com upsd[11419]: apc_tune: toggle wraparound > > regist > > er line-alarm > > Feb 18 08:20:02 ns2.clickcom.com upsd[11419]: apc_tune: toggle wraparound > > regist > > er line-sensitivity > > Feb 18 08:20:02 ns2.clickcom.com upsd[11419]: apc_tune: negative response: > > NO > > Feb 18 08:20:02 ns2.clickcom.com upsd[11419]: apc_tune: toggle wraparound > > regist > > er wakeup-batteries-capacity > > Feb 18 08:20:03 ns2.clickcom.com upsd[11419]: load: 0.0, recharge: 100.0, > > temp: > > 28.3, vdc: 55.05, output voltage: 114.4 > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message