From owner-freebsd-questions@FreeBSD.ORG Fri May 29 23:04:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 672761065673 for ; Fri, 29 May 2009 23:04:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 3485A8FC0C for ; Fri, 29 May 2009 23:04:42 +0000 (UTC) (envelope-from mike@sentex.net) Received: from Mobile2.sentex.ca (cage.simianscience.com [64.7.134.1]) by smarthost1.sentex.ca (8.14.3/8.14.3) with SMTP id n4TN4eCR002122; Fri, 29 May 2009 19:04:41 -0400 (EDT) (envelope-from mike@sentex.net) From: mike@sentex.net To: Pieter Donche Date: Fri, 29 May 2009 19:05:33 -0400 Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: freebsd-questions@freebsd.org Subject: Re: upcupsd / freebsdd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 23:04:43 -0000 > >The Overview page in the webinterface shows there is power in the >UPS form over 2 hours. How can I force a faster automatic freebsd >shutdown to see if it is working (can't wait 2 hours) Try setting the battery level in apcupsd.conf to a high value like 90% # If during a power failure, the remaining battery percentage # (as reported by the UPS) is below or equal to BATTERYLEVEL,=20 # apcupsd will initiate a system shutdown. BATTERYLEVEL 90 # You need to restart the apc daemon after you adjust the config files. Doing=20 apcaccess from the shell, should reflect your changes. > > >but do these refer to shutdown of a unix client or shutdown of the UPS=20 >itself? On the apc units I have used, it will send the "shutdown" signal to the UPS, so it will cut power to all the ports until street power comes back. ---Mike