  TomS_ debugger it Premium,MVM join:2002-07-19 Australia
| reply to mejimbo Re: Power loss notification by e-mail
If your UPS is half decent you should be able to connect it to the network, and poll certain OID(s) via SNMP to determine the state of the mains supply.
Or you may be able to use a script to "screen scrape" its web interface to pull out information if SNMP is not available, or the information is not easily locatable within SNMP.
I use both methods with some of my gear.
Otherwise, the canary idea is pretty much fool proof. If you can no longer ping it theres only a very limited number of things that can be wrong. |