From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 14:10:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4581916A4CE for ; Wed, 17 Dec 2003 14:10:49 -0800 (PST) Received: from web41410.mail.yahoo.com (web41410.mail.yahoo.com [66.218.93.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 606FA43D41 for ; Wed, 17 Dec 2003 14:10:48 -0800 (PST) (envelope-from davemac11@yahoo.com) Message-ID: <20031217221047.75107.qmail@web41410.mail.yahoo.com> Received: from [168.91.4.66] by web41410.mail.yahoo.com via HTTP; Wed, 17 Dec 2003 14:10:47 PST Date: Wed, 17 Dec 2003 14:10:47 -0800 (PST) From: Dave McCammon To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: apcupsd 3.10.8 master/slave setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2003 22:10:49 -0000 Anyone have a master/slave or an NIS setup working correctly that can share some insight? If power is pulled from UPS, the master sends the warning to its console but... -the slaves lose their connection to the master -an "apcaccess status" on the master after plug is pulled will hang. -when ups is plugged back in to power outlet there is no status change sent. - here is the apcupsd stuff from 'ps -aux' ------------------------------------------------------ root 31938 0.0 0.3 3864 1536 ?? Is 4:49PM 0:00.27 /usr/local/sbin/apcupsd --kill-on-powerfail root 32071 0.0 0.1 632 264 ?? I 5:03PM 0:00.00 /bin/sh /usr/local/etc/apcupsd/apccontrol onbattery RACK_UPS 1 0 root 32072 0.0 0.1 632 264 ?? I 5:03PM 0:00.00 /bin/sh /usr/local/etc/apcupsd/onbattery RACK_UPS 1 0 root 32074 0.0 0.1 632 264 ?? I 5:03PM 0:00.00 /bin/sh /usr/local/etc/apcupsd/onbattery RACK_UPS 1 0 root 32075 0.0 0.1 992 564 ?? I 5:03PM 0:00.01 /usr/bin/mail -s master.mydomain.net Power Failure !!! root root 32076 0.0 0.3 3312 1352 ?? I 5:03PM 0:00.01 /usr/local/sbin/apcaccess status ------------------------------------------------------ master config is stock slave config is stock with below changed UPSCABLE ether UPSTYPE net DEVICE master.mydomain.net:3551 The above configs are recommended from http://www.apcupsd.com/3.10.x-manual/ch04s06.html __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/