* [gentoo-user] apcupsd - not emailing me when power down
@ 2015-06-06 22:53 Joseph
2015-06-07 7:29 ` Mick
0 siblings, 1 reply; 2+ messages in thread
From: Joseph @ 2015-06-06 22:53 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] apcupsd - not emailing me when power down
2015-06-06 22:53 [gentoo-user] apcupsd - not emailing me when power down Joseph
@ 2015-06-07 7:29 ` Mick
0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2015-06-07 7:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1144 bytes --]
On Saturday 06 Jun 2015 23:53:31 Joseph wrote:
> 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?
I don't have this UPS to know what its scripts are doing, but have you
configured the /etc/apcupsd/onbattery script with your email address and have
you installed a mail application to handle emailing tasks on your system?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-07 7:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-06 22:53 [gentoo-user] apcupsd - not emailing me when power down Joseph
2015-06-07 7:29 ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox