Charles Lepple
2014-Jan-23 00:59 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
On Jan 21, 2014, at 9:27 AM, Rafal Oleszek wrote:> So it's impossible to configure upssched to start timer only if all ups > are in status: OB or LB ?Not impossible, just not possible inside a single configuration file. You can always put that logic into an external script called by upssched. -- Charles Lepple clepple at gmail
RafaĆ Oleszek
2014-Feb-03 10:02 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
> On Jan 21, 2014, at 9:27 AM, Rafal Oleszek wrote: > >> So it's impossible to configure upssched to start timer only if all ups >> are in status: OB or LB ? > Not impossible, just not possible inside a single configuration file. You can always put that logic into an external script called by upssched. >Thank for your help Charles. I checked it and it works like you said. When both UPS in LB status upsmon called SHUTDOWNCMD. I have one more question: do you have an example script you were talking about (which will use upssched)? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2274 bytes Desc: Kryptograficzna sygnatura S/MIME URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140203/0c4006fd/attachment.bin>
Charles Lepple
2014-Feb-05 03:03 UTC
[Nut-upsuser] Shutdown when both (all) UPS on battery / low battery
On Feb 3, 2014, at 5:02 AM, Rafa? Oleszek wrote:> I have one more question: do you have an example script you were talking about (which will use upssched)?I don't personally use upssched (I just adjust the LB thresholds on the UPS), but it is covered in the User Manual: http://www.networkupstools.org/docs/user-manual.chunked/ar01s07.html#_the_advanced_approach_using_upssched -- Charles Lepple clepple at gmail
Apparently Analagous Threads
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery
- Shutdown when both (all) UPS on battery / low battery