From: thegeezer <thegeezer@thegeezer.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] apcupsd to recycle power
Date: Mon, 17 Nov 2014 01:06:33 +0000 [thread overview]
Message-ID: <54694A19.10402@thegeezer.net> (raw)
In-Reply-To: <546783B1.5050605@gmail.com>
On 15/11/2014 16:47, Daniel Frey wrote:
> If the above fails (if the above does indeed fail, some troubleshooting
> should happen to try to figure out why it doesn't work), KILLDELAY is
> the parameter you likely seek, but it is dangerous. If you set this it
> will wait x seconds after a shutdown was requested and forcibly shut
> down the UPS power.
>
> However, in the even that power is restored between the UPS kill and the
> time it actually turns off the mains will still not be cycled. But
> theoretically this window should be pretty small.
>
> Dan
>
>
it does seem as though this hits the issue - that when power fails, the
ups triggers a shutdown, but the power doesn't fail hard enough to wind
down the ups too, in which case the machine that is waiting for the
"offbattery" event is fast asleep and misses the message. it's a shame
the killpower command does nothing for you.
the only way forward that i see would be to get a small device a la
raspberry pi, and have that run apcupsd on it. you can then have that
device run wake on lan if it detects the power is good, and trigger
remote shutdown when not.
next prev parent reply other threads:[~2014-11-17 1:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 18:53 [gentoo-user] apcupsd to recycle power Thanasis
2014-11-15 9:35 ` Mick
2014-11-15 12:52 ` Thanasis
2014-11-15 13:54 ` Bruce Schultz
2014-11-15 14:22 ` Thanasis
2014-11-15 14:59 ` Mick
2014-11-15 16:54 ` Thanasis
2014-11-15 17:22 ` Mick
2014-11-15 14:40 ` Rich Freeman
2014-11-15 16:37 ` Thanasis
2014-11-15 16:47 ` Daniel Frey
2014-11-15 17:05 ` Thanasis
2014-11-15 17:19 ` Daniel Frey
2014-11-15 18:19 ` [gentoo-user] " James
2014-11-17 1:06 ` thegeezer [this message]
2014-11-17 11:39 ` [gentoo-user] " Thanasis
2014-11-18 7:22 ` J. Roeleveld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54694A19.10402@thegeezer.net \
--to=thegeezer@thegeezer.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox