From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B2C5B138CD3 for ; Sat, 6 Jun 2015 22:53:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D64EEE08EB; Sat, 6 Jun 2015 22:52:55 +0000 (UTC) Received: from mail146c7.megamailservers.com (mail767.megamailservers.com [69.49.98.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9360E08DD for ; Sat, 6 Jun 2015 22:52:54 +0000 (UTC) X-POP-User: admin@sys-concept.com X-VIP: 69.49.109.100 Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail146c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id t56MqqL8002519 for ; Sat, 6 Jun 2015 18:52:53 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 6B30A200384; Sat, 6 Jun 2015 16:53:31 -0600 (MDT) Date: Sat, 6 Jun 2015 16:53:31 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] apcupsd - not emailing me when power down Message-ID: <20150606225331.GA13689@syscon7> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-CTCH-RefID: str=0001.0A020206.557379C6.000F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=VtsaXYGn c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=Unq3plm5DvEA:10 a=J0QyKEt1u0cA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=XAFQembCKUMA:10 a=BIdjXRQr36YOv9h6v98A:9 a=wPNLvfGTeEIA:10 X-Origin-Country: CA X-Archives-Salt: f4308737-8406-42d4-b8b6-915e96f40eb3 X-Archives-Hash: a3faf7d6bd05306dae97a8f0e77384c4 My remote box is connected direclty to apcups and it is running "apcupsd" However, when I pull the cord out of the wall the "onbattery" script is not email me anything. My configuration: apcupsd.conf UPSCABLE usb UPSTYPE usb DEVICE POLLTIME 60 LOCKFILE /var/lock SCRIPTDIR /etc/apcupsd PWRFAILDIR /etc/apcupsd NOLOGINDIR /etc ONBATTERYDELAY 6 BATTERYLEVEL 60 MINUTES 10 TIMEOUT 0 ANNOY 300 ANNOYDELAY 60 NOLOGON disable KILLDELAY 0 NETSERVER on NISIP 0.0.0.0 NISPORT 3551 EVENTSFILE /var/log/apcupsd.events EVENTSFILEMAX 10 UPSCLASS standalone UPSMODE disable STATTIME 0 STATFILE /var/log/apcupsd.status LOGSTATS off DATATIME 0 onbattery - script suppose to be called by "/etc/apcupsd/apccontrol" and execute it. What am I missing? -- Joseph