Elastic-agent does not restart automatically after machine reboot

I have an elastic-agent with a prometheus integration with and another elastic-agent acting as fleet with the service enabled and when the machines (both with Red Hat SO) are restarted neither the fleet nor the elastic-agent restarts correctly.
If I run the command:

service elastic-agent status

I can see that the service does restart and that it is enabled but in the fleet page of kibana both appear offline.
would anyone know why this could happen?

Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.