Hi all,
I've installed the current debian nut package, i.e. version 2.0.4.

I've configured upssched with timers as follows:

AT ONBATT   [EMAIL PROTECTED] START-TIMER  runonbattery 5
AT ONLINE   [EMAIL PROTECTED] CANCEL-TIMER runonbattery
AT ONLINE   [EMAIL PROTECTED] START-TIMER  backonline 5
AT ONBATT   [EMAIL PROTECTED] CANCEL-TIMER backonline

The idea is to send alerts in case of "serious" power failures.
In facts, when I pull the plug I get the following:

Sep  2 21:01:20 north upsmon[25026]: UPS [EMAIL PROTECTED] on battery
Sep  2 21:01:20 north upssched[23063]: Timer daemon started
Sep  2 21:01:20 north upssched[23063]: New timer: runonbattery (5 seconds)
Sep  2 21:01:25 north upssched[23063]: Event: runonbattery

However, reinserting the plug I got no "backonline" event:

Sep  2 21:01:40 north upsmon[25026]: UPS [EMAIL PROTECTED] on line power
Sep  2 21:01:40 north upssched[23063]: Timer queue empty, exiting

Any idea what am I doing wrong?

TIA
Ale


_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to