Should work with Windows NT UPS Service
|  9 pin D-SUB male connector  to the UPS | 
 Pin 7 at the PC end (RTS) connected by R1 2k0 to pin 8 (CTS) and connected by R2 2k0 to pin 1(DCD) Power_Failure - Negative, Low_Battery - Negative, UPS_Shutdown - Positive. |  9 pin D-SUB female connector  to the computer | 
Source:www.pinouts.ru