How to get an alert in case of power outage/failure?

Figured out how to do it pretty easily and cheaply.