Shawn Maddock

09/16/2022, 8:23 PM
Also, what can I monitor to see when fleet has finished initializing? My cloud-init is running
fleetctl setup
immediately after
systemctl start fleet
but the server is not ready for incoming API calls. I’d rather do something smarter than just a
Michal Nicpon

Michal Nicpon

09/19/2022, 4:24 PM
Fleet has a health check endpoint that can be used for this purpose. See https://fleetdm.com/docs/using-fleet/monitoring-fleet#health-checks