What is a good open source program for monitoring various models of APC brand battery backups? I need notification of power loss, power restore, and imminent UPS shutdown (battery depleated). This latter is usually signaled by rapid series of beep lasting about 30sec to a minute.
This needs to run in the background via cron or service, or monitoring program, not GUI. I don't particularly care about the software creating log files. What I need to for it to run something (e.g. a script I create) when these events occur.
What do you recommend? (please, only people who have installed/used such software respond. I know how to google)