If the DSM agent goes offline and causes the endpoint to panic after upgrading the OS from RHEL 7 to RHEL 8, it is likely that the current DSA for RHEL 7 needs to be uninstalled and replaced with DSA for RHEL 8.
To uninstall the current DSA, use the following command: sudo yum erase ds_agent
. Make sure that the directories were cleaned up by running the following commands: sudo rm -r /var/opt/ds_agent/
and sudo rm -r /opt/ds_agent/
.
After uninstalling the current DSA, install DSA for RHEL 8 and activate the agent.