Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 20:40:32 +0300
From:      Corvette <wash@iconnect.co.ke>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: UPS'
Message-ID:  <20010122204032.B26408@poeza.iconnect.co.ke>
In-Reply-To: <XFMail.010122174116.mj@isy.liu.se>;  from "Micke Josefsson" on Mon, Jan 22, 2001 at 05:41:16PM %2B0100
References:  <3A6C6B4A.44345A0E@finsyn.com> <XFMail.010122174116.mj@isy.liu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
* Micke Josefsson <mj@isy.liu.se> [20010122 19:42]: writing on the subject 'RE: UPS''
Micke> 
Micke> On 22-Jan-01 Matt Bettinger wrote:
Micke> > Hello,
Micke> > 
Micke> > Had the power go out for me at the home and ofcourse the network went down and
Micke> > my
Micke> > bsd box had a tough time recovering.  Think it is about time fora UPS.  What
Micke> > would
Micke> > y'all recommend for a UPS and how does it work with the upsd port if at all?
Micke> > 
Micke> > Thanks
Micke> > 
Micke> > Matt - Houston
Micke> 
Micke> 
Micke> APC Smart-UPS 700 and upsmond from the ports. You can get this report:
Micke> 
Micke> 
Micke> vanheden> ps ax|grep ups
Micke>   304  ??  Is     0:04.67 /usr/local/sbin/upsmond -p /dev/cuaa1 -r 20
Micke> 45358  p0  S+     0:00.01 grep ups
Micke> vanheden> upsstat 
Micke> 
Micke>         UPSMON Status Reporting Facility
Micke>         ---  upsmond version 2.1.3  ---
Micke> 
Micke>              APC UPS 700 Status Info
Micke> --------------------------------------------------------
Micke>                      Model: SMART-UPS 700
Micke>                  CopyRight: (C) APCC
Micke>           Manufacture date: 12/18/99
Micke>                   Serial #: NS9951331687
Micke>           Firmware version: 50.11.I
Micke>                   Local ID: UPS_IDEN
Micke>  Last battery replace date: 12/18/99
Micke>       Nominal line voltage: 230 V
Micke>    Nominal battery voltage: 24 V
Micke>                  Available: YES
Micke>                    Standby: NO
Micke>                 Line Power: OK
Micke>                    Battery: OK
Micke>               Line Voltage: 227.50
Micke>                       Load:  20.20 %
Micke>            Battery Voltage:  27.60
Micke>              Battery Level: 100.00 %
Micke> --------------------------------------------------------
Micke> vanheden> 
Micke> 
Micke> 
Micke> And it tells vanheden to shutdown if the power is down for more than X minutes.
Micke> (-r 20 = 20 mins in the command above).
Micke> 
Micke> And it logs too:
Micke> 
Micke> vanheden> tail /var/log/upsmon.log 
Micke> Sep 19 00:29:31 <daemon.alert> vanheden UPS: Input line power back
Micke> Oct 14 08:31:11 <daemon.crit> vanheden UPS: Input line power failure
Micke> Oct 14 08:31:13 <daemon.alert> vanheden UPS: Input line power back
Micke> Oct 25 10:00:21 <daemon.info> vanheden UPS: upsmond daemon started - version
Micke> 2.1.3
Micke> Oct 30 09:24:24 <daemon.info> vanheden UPS: upsmond daemon started - version
Micke> 2.1.3
Micke> Jan  2 13:56:47 <daemon.crit> vanheden UPS: Input line power failure
Micke> Jan  2 13:56:47 <daemon.crit> vanheden UPS: Input line power failure
Micke> Jan  2 13:56:48 <daemon.alert> vanheden UPS: Input line power back
Micke> Jan  2 16:30:28 <daemon.crit> vanheden UPS: Input line power failure
Micke> Jan  2 16:30:29 <daemon.alert> vanheden UPS: Input line power back
Micke> 
Micke> 
Micke> Very satisfied customer.
Micke> /Micke
Micke> ----------------------------------
Micke> Michael Josefsson, MSEE
Micke> mj@isy.liu.se
Micke> 
Micke> This message was sent by XFMail
Micke> running on FreeBSD 3.5-STABLE
Micke> ----------------------------------
Micke> 
Micke> 
Micke> To Unsubscribe: send mail to majordomo@FreeBSD.org
Micke> with "unsubscribe freebsd-questions" in the body of the message

Hi Micke,
Is this only possible with the Smart-UPS or any other UPS?

TIA

-Wash

--
Odhiambo Washington  Inter-Connect Ltd.,
wash@iconnect.co.ke  5th Flr Furaha Plaza
Tel: 254 11 222604   Nkrumah Rd.,
Fax: 254 11 222636   PO Box 83613 MOMBASA, KE.

The only thing we learn from history is that we do not learn. -Earl Warren 


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?20010122204032.B26408>