Some UPS's have ethernet and an snmp agent in them, in that case, you can use one of the snmpvar monitors in mon to do the work. Other UPS's don't have ethernet, but you can hook up a serial cable to them, then write or find a simple parsing script for the data, and monitor it through snmpvar. (this is assuming you are using net-snmp and extension scripts)
If your UPS has no direct serial or ethernet communication, here is what I did once. Hook up a machine to un-UPS'ed AC power, and put a cheap APC UPS on it. The APC's have a well-documented serial interface. Then you can get scripts to parse their output and monitor that box via SNMP. We had an expensive room-sized UPS but didn't have the "control module" or whatever part it was that was needed to get status out of it, so the little APC was useful for this. andrew On Wed, 14 Apr 2004, Paul Wardell wrote: > I want to have mon monitor the AC status line of a UPS (DTR or DSR) and send > an alert via Qpage at the loss of AC Power. Any suggestions on how I can do > this or is there a module already available to do this? > > Paul > > _______________________________________________ > mon mailing list > [EMAIL PROTECTED] > http://linux.kernel.org/mailman/listinfo/mon > > _______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon