Error fetching data for metricset system.service

Hello everyone,

I’m using Elastic Agent version 8.19.14, managed by Fleet, with the Linux Metrics integration to collect the status of Systemd units.

Sometimes I notice that the agent becomes “Unhealthy” due to the following error:

Error fetching data for metricset system.service: error getting list of running units: dbus: connection closed by user

Has anyone encountered this issue before?