Go to ANY motorcycle shop and buy a battery tender and connect them up to your individual 12 volt batteries (remove all interconnects from the battery packs).
The Battery Tender will tell you when it's charging, or when it switches to "trickle" (green light comes on, or blinks green).
If it remains on CHARGE (red light, or on some types a yellow light) after 8 hours connection, the battery is bad.
Generally, on a multiple battery pack in a UPS, it only takes one battery to go south to have the whole bunch report as bad.
When you pull the pack out and connect the Battery Tender, lots of times it will charge for a very short while (often minutes, if not seconds) before the green light comes on. If that happens, good battery. Go to the next one in the pack and do the same.
Remember: Only test one battery at a time.
Remove all connections from the battery terminals before connecting the alligator clips from the Battery Tender.
1How old are they? Lead acid batteries don't survive long when they don't have a trickle charger attached. – Zoredache – 2012-07-10T15:28:49.643
1http://batteryuniversity.com/learn/article/how_to_store_batteries/ - http://www.reuk.co.uk/Battery-Desulfation.htm – Zoredache – 2012-07-10T15:37:47.963
unfortunately no one is sure just how old they are, and i don't see any sort of manufacturing date on them. thank you for the battery storage link though. – user50919 – 2012-07-10T16:00:56.607
There are storage battery testers that test batteries under load. I'm reasonably sure someone makes one for your size batteries, but don't know what sort of price it would be -- the first one I found was over $5000. – Daniel R Hicks – 2013-04-20T23:25:44.613