From owner-freebsd-questions@FreeBSD.ORG Fri May 29 13:33:00 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 E5EAA1065670 for ; Fri, 29 May 2009 13:33:00 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id 75FAF8FC17 for ; Fri, 29 May 2009 13:33:00 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.3/8.14.3) with ESMTP id n4TDWwku047829 for ; Fri, 29 May 2009 15:32:58 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.3/8.14.3/Submit) with ESMTP id n4TDWwVn047826 for ; Fri, 29 May 2009 15:32:58 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Fri, 29 May 2009 15:32:58 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: "mail.list freebsd-questions" Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: upcupsd / freebsdd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 13:33:02 -0000 I'm putting a APC1000 UPS with APC Network Management Card (AP9617) to freebsd system with apcupsd, via ethernet cable over SNMP. apcsupsd is running, apcaccess status returns the status variables. When pulling out powercable of UPS and back in, I do get 'Warning power loss detected; Power failure: Running on UPS batteries; Power has returned". So far, so good. 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) The web-interface under UPS / Configuration / shutdown shows (the defaults): Start of the shutdown Low Battery Duration 02 min Shutdown Delay: 90 secs (max. Required Delay: 2 minutes) Basic Signaling Shutdown (not checked) Enabled Duration of Shutdown Sleep Time: 0.0 hours End of Shutdown Max Battery Capacity: 00 % Return Delay: 000 seconds but do these refer to shutdown of a unix client or shutdown of the UPS itself? The manual is confusing (it's linux oriented not freebsd) most referenced files do not exist at the mentioned paths...