Skip to content

Conversation

vishaangelova
Copy link
Contributor

@vishaangelova vishaangelova commented Sep 9, 2025

This PR adds the Orphaned and Uninstalled statuses to the list of statuses in the Monitor Elastic Agents doc, and updates the diagram showing the flow of Elastic Agent statuses.

Closes #2333

Copy link

github-actions bot commented Sep 9, 2025

🔍 Preview links for changed docs

@vishaangelova vishaangelova force-pushed the 2333-update-agent-statuses branch from 3ba78ae to b552259 Compare September 9, 2025 15:08
@vishaangelova vishaangelova force-pushed the 2333-update-agent-statuses branch from b552259 to a174fef Compare September 9, 2025 15:11
@vishaangelova vishaangelova linked an issue Sep 10, 2025 that may be closed by this pull request
@vishaangelova vishaangelova marked this pull request as ready for review September 10, 2025 20:51
@vishaangelova vishaangelova requested a review from a team as a code owner September 10, 2025 20:51
Copy link
Contributor

@colleenmcginnis colleenmcginnis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vishaangelova vishaangelova merged commit d15cf33 into main Sep 10, 2025
8 checks passed
@vishaangelova vishaangelova deleted the 2333-update-agent-statuses branch September 10, 2025 21:08
Copy link
Contributor

@karenzone karenzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these statuses new, or just undocumented until now? I'm wondering if they need inline applies_to tags.

I left a minor comment inline for your consideration. Otherwise, LGTM. 🎸

| --- | --- |
| **Healthy** | {{agent}}s are enrolled and checked in. There are no agent policy updates or automatic agent binary updates in progress, but the agent binary may still be out of date. {{agent}}s continuously check in to the {{fleet-server}} for required updates. |
| **Unhealthy** | {{agent}}s have errors or are running in a degraded state. An agent will be reported as `unhealthy` as a result of a configuration problem on the host system. For example, an {{agent}} may not have the correct permissions required to run an integration that has been added to the {{agent}} policy. In this case, you may need to investigate and address the situation. |
| **Orphaned** | For {{agent}}s enrolled in {{elastic-defend}}, the `orphaned` status indicates an error in the communication between the {{agent}} service on the host system and the endpoint security service provided by {{elastic-defend}}. Note that on agents reported as `orphaned`, the {{elastic-defend}} integration is still running and protecting the host. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| **Orphaned** | For {{agent}}s enrolled in {{elastic-defend}}, the `orphaned` status indicates an error in the communication between the {{agent}} service on the host system and the endpoint security service provided by {{elastic-defend}}. Note that on agents reported as `orphaned`, the {{elastic-defend}} integration is still running and protecting the host. |
| **Orphaned** | For {{agent}}s enrolled in {{elastic-defend}}, the `orphaned` status indicates an error in the communication between the {{agent}} service on the host system and the endpoint security service provided by {{elastic-defend}}. Note that the {{elastic-defend}} integration is still running and protecting the host even on agents that are reported as `orphaned`. |

@cmacknz
Copy link
Member

cmacknz commented Sep 15, 2025

Are these statuses new, or just undocumented until now? I'm wondering if they need inline applies_to tags.

Endpoint and Fleet gained the ability to report the orphaned status in 8.16.0 via https://github.com/elastic/endpoint-dev/commit/72e3a9b607b71e1bb2b475f2ce16397e4621a9dc and elastic/fleet-server@b8f864b

@vishaangelova
Copy link
Contributor Author

Thanks, Craig. We agreed not to add the applies_to tags for these statuses as they were added earlier than 9.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the list of statuses in the Monitor Elastic Agents doc

4 participants