I won't repeat what others have advised, but would add that it's not uncommon for the connections on the BIRD (bi-directional isolator relay delay) to be loose or compromised, so check those. If you are not familiar with what we are talking about, the Big Boy solenoid/isolator that physically switches charging or connects battery banks is likely behind the access door between your master on/off switches in the battery bay. The BIRD module that electronically controls it may be mounted on the inside of the door.
One caution: turn off or disconnect the batteries if using any sort of tool on the BIRD connections, and don't mis-reconnect them; full power from the batteries can be present in the module, and you don't want to accidentally short across the closely proximal connections. I'm not a sophisticated enough of an RV electrician to know if there's potential for harm from the inverter''s charger with the batteries offline, but I'd unplug from the 110v and have the genset off also, just in case.
-Joel