Jeff, I know you had two incidents in which such batteries exploded and finally moved them into a (probably loosely sealed) plastic container to prevent a big mess again, should the scenario repeat. What kind of venting arrangement is required for a configuration like that?
You are exactly right about those two "incidents". And yes, the batteries are now in a plastic bin to contain the acid should it ever happen again.
In my case I believe the APC UPS was actually overcharging the batteries, releasing hydrogen gas. I had to top them up every few months to replace water loss. That same battery bank is now being used for solar panel storage. I had topped them up when I put them into service last fall, and so far the electrolyte levels have not dropped. So I believe the MPPT charge controller is doing a much better job maintaining the batteries than the APC UPS. But it could be that there is not enough surplus energy to fully charge them. Anyway, maybe venting was actually more important when using the UPS than with the solar charge controller.
For venting, I attached a small 3" vent fan to the lid of the battery bin, and 2" plastic drain pipe to exhaust any gases out of the room. A rubber coupler went from the fan to the drain pipe.
https://www.ebay.com/itm/353329404796?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m1438.l2649I reduced the voltage to 9V to slow it down a bit, but there is still plenty of airflow to eliminate any odor escaping from the battery enclosure.
Right now I have X10 turning that fan on an hour after sunrise and off an hour before sunset. While that ensures it is running whenever the batteries could be charging, we are often consuming all the energy our "emergency" panels are generating. That will be especially true over the summer with the A/C load.
Jeff