Citeren "Yury V. Zaytsev" <y...@shurup.com>:

[...]

It sends a power back e-mail no matter what, but probably we can live
with it.

This is trivial to script. Create an empty file somewhere your CMDSCRIPT has write access to when the 'linedown' timer elapses (ie, when you send the warning mail). In your 'lineup' event check for the presence of this file. If it is there, you need to send a message that the power is back and remove the file. You can improve this above, by also checking the age of the file (to prevent triggering on stale files that are accidentally left behind).

Best regards, Arjen
--
Please keep list traffic on the list


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

Reply via email to