Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] apcupsd - not emailing me when power down
Date: Sat, 06 Jun 2015 22:53:01
Message-Id: 20150606225331.GA13689@syscon7
1 My remote box is connected direclty to apcups and it is running "apcupsd"
2 However, when I pull the cord out of the wall the "onbattery" script is not email me
3 anything.
4
5 My configuration: apcupsd.conf
6
7 UPSCABLE usb
8 UPSTYPE usb
9 DEVICE
10 POLLTIME 60
11 LOCKFILE /var/lock
12 SCRIPTDIR /etc/apcupsd
13 PWRFAILDIR /etc/apcupsd
14 NOLOGINDIR /etc
15 ONBATTERYDELAY 6
16 BATTERYLEVEL 60
17 MINUTES 10
18 TIMEOUT 0
19 ANNOY 300
20 ANNOYDELAY 60
21 NOLOGON disable
22 KILLDELAY 0
23 NETSERVER on
24 NISIP 0.0.0.0
25 NISPORT 3551
26 EVENTSFILE /var/log/apcupsd.events
27 EVENTSFILEMAX 10
28 UPSCLASS standalone
29 UPSMODE disable
30 STATTIME 0
31 STATFILE /var/log/apcupsd.status
32 LOGSTATS off
33 DATATIME 0
34
35 onbattery - script suppose to be called by "/etc/apcupsd/apccontrol" and execute it.
36 What am I missing?
37
38 --
39 Joseph

Replies

Subject Author
Re: [gentoo-user] apcupsd - not emailing me when power down Mick <michaelkintzios@×××××.com>