Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2000 19:55:22 +0300 (MSK)
From:      Alexey Koptsevich <ak@astro.ioffe.rssi.ru>
To:        John Straiton <ne@clickcom.com>, "Dan B." <danielb@pacex.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: SmartUPS 1400
Message-ID:  <Pine.BSF.4.21.0003031803120.43470-100000@astro.ioffe.rssi.ru>
In-Reply-To: <018101bf82c9$f7eee850$1f16c6d1@clickcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003031803120.43470-100000>