http://qkpm2ov2rjhjkhfsftskqho77uj5rewd5y44unkf6cb7tdhaxwcvh2id.onion/books/apc/APCUPSD%20User%20Manual.html
If you have a UPS that communicates via an RS232C serial
interface and it is a SmartUPS, then things are relatively simple,
otherwise, your life is about to get interesting. If you have a vendor-supplied cable, find out what cable type
you have by looking on the flat ends of the cable for a number,
such as 940-0020A, stamped in the plastic.