Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 17:41:16 +0100 (CET)
From:      Micke Josefsson <mj@isy.liu.se>
To:        Matt Bettinger <mattb@finsyn.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: UPS'
Message-ID:  <XFMail.010122174116.mj@isy.liu.se>
In-Reply-To: <3A6C6B4A.44345A0E@finsyn.com>

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

On 22-Jan-01 Matt Bettinger wrote:
> Hello,
> 
> Had the power go out for me at the home and ofcourse the network went down and
> my
> bsd box had a tough time recovering.  Think it is about time fora UPS.  What
> would
> y'all recommend for a UPS and how does it work with the upsd port if at all?
> 
> Thanks
> 
> Matt - Houston


APC Smart-UPS 700 and upsmond from the ports. You can get this report:


vanheden> ps ax|grep ups
  304  ??  Is     0:04.67 /usr/local/sbin/upsmond -p /dev/cuaa1 -r 20
45358  p0  S+     0:00.01 grep ups
vanheden> upsstat 

        UPSMON Status Reporting Facility
        ---  upsmond version 2.1.3  ---

             APC UPS 700 Status Info
--------------------------------------------------------
                     Model: SMART-UPS 700
                 CopyRight: (C) APCC
          Manufacture date: 12/18/99
                  Serial #: NS9951331687
          Firmware version: 50.11.I
                  Local ID: UPS_IDEN
 Last battery replace date: 12/18/99
      Nominal line voltage: 230 V
   Nominal battery voltage: 24 V
                 Available: YES
                   Standby: NO
                Line Power: OK
                   Battery: OK
              Line Voltage: 227.50
                      Load:  20.20 %
           Battery Voltage:  27.60
             Battery Level: 100.00 %
--------------------------------------------------------
vanheden> 


And it tells vanheden to shutdown if the power is down for more than X minutes.
(-r 20 = 20 mins in the command above).

And it logs too:

vanheden> tail /var/log/upsmon.log 
Sep 19 00:29:31 <daemon.alert> vanheden UPS: Input line power back
Oct 14 08:31:11 <daemon.crit> vanheden UPS: Input line power failure
Oct 14 08:31:13 <daemon.alert> vanheden UPS: Input line power back
Oct 25 10:00:21 <daemon.info> vanheden UPS: upsmond daemon started - version
2.1.3
Oct 30 09:24:24 <daemon.info> vanheden UPS: upsmond daemon started - version
2.1.3
Jan  2 13:56:47 <daemon.crit> vanheden UPS: Input line power failure
Jan  2 13:56:47 <daemon.crit> vanheden UPS: Input line power failure
Jan  2 13:56:48 <daemon.alert> vanheden UPS: Input line power back
Jan  2 16:30:28 <daemon.crit> vanheden UPS: Input line power failure
Jan  2 16:30:29 <daemon.alert> vanheden UPS: Input line power back


Very satisfied customer.
/Micke
----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 3.5-STABLE
----------------------------------


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?XFMail.010122174116.mj>