[OE-2589] alt db connection for reporting and bugfixes to diagnosis report