Date: Tue, 29 Feb 2000 10:30:54 -0500 From: "John Straiton" <ne@clickcom.com> To: "Alexey Koptsevich" <ak@astro.ioffe.rssi.ru> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: SmartUPS 1400 Message-ID: <018101bf82c9$f7eee850$1f16c6d1@clickcom.com> References: <Pine.BSF.4.21.0002291504090.13106-100000@astro.ioffe.rssi.ru>
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 > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018101bf82c9$f7eee850$1f16c6d1>