How should batteries for an APC SmartUPS SURTA 2000XL be connected?
Presumably you resolved this problem yourself, but I had trouble finding the answer elsewhere so here goes.
The SURTA2000XL has a 48v battery pack, so your diagram is correct except for battery 3 which has the + and - reversed.
If you plug a 24v battery pack into a SURTA2000XL and the UPS is live, it will attempt to charge them to 54v and cause smoke and possibly fire.  From experience, this is not something you want to do =)