From owner-freebsd-hackers Mon Jan 19 07:04:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04042 for hackers-outgoing; Mon, 19 Jan 1998 07:04:08 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ibd.dbio.ro (ibd.dbio.ro [193.231.0.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA03997 for ; Mon, 19 Jan 1998 07:03:42 -0800 (PST) (envelope-from calin@ibd.dbio.ro) Received: from localhost (calin@localhost) by ibd.dbio.ro (8.8.7/8.8.7) with SMTP id RAA00844 for ; Mon, 19 Jan 1998 17:08:19 +0200 (EET) (envelope-from calin@ibd.dbio.ro) Date: Mon, 19 Jan 1998 17:08:19 +0200 (EET) From: Calin Andrian To: freebsd-hackers@FreeBSD.ORG Subject: APC Back UPS monitor Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk Hi ! I searched all over the place for a monitoring package for APC backups and did not find any. Finally I wrote a small driver and a monitoring daemon, with good results. I didn't use the sio driver because it seems (maybe I'm wrong) that once you successfully open the tty port, both DTR and RTS go high, causing the (dumb) backups to immediately shut down. My package monitors the line-fail status and shuts down the system and the UPS if the line is out for more than you-name-it seconds. How could I make it public ? (I mean if anybody is interested) Calin