Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST]: Fix agent status docs for unhealthy status #1284

Closed
kpollich opened this issue Sep 4, 2024 · 4 comments · Fixed by #1288
Closed

[REQUEST]: Fix agent status docs for unhealthy status #1284

kpollich opened this issue Sep 4, 2024 · 4 comments · Fixed by #1288
Assignees

Comments

@kpollich
Copy link
Member

kpollich commented Sep 4, 2024

Description

Currently, https://www.elastic.co/guide/en/fleet/8.15/monitor-elastic-agent.html#view-agent-status describes the unhealthy status as follows:

Elastic Agents have not checked in to Fleet Server. At this point, you may need to address the situation.

This is inaccurate. Agents will only report as unhealthy when one or more input/output reports as unhealthy. When agents miss check-ins for a period of time defaulting to 5 minutes, they will be considered offline. There is no intermediate state transition from healthy -> unhealthy -> offline when an agent is missing check-ins, and the agent transitions directly from healthy -> offline when it hasn't checked in for five minutes.

Explicitly, when an agent's last check-in status value is either error or degraded, the agent's status will be reported as "unhealthy".

@cmacknz can you sanity check this to make sure I'm not misrepresenting anything?

Resources

Collaboration

Please choose a preferred collaboration model.

Point of contact.

Main contact: @kpollich

Stakeholders: @elastic/fleet @elastic/elastic-agent

@blakerouse
Copy link
Contributor

@kpollich Your statement is correct. Unhealthy means there is something wrong with the Elastic Agent on the host, either configuration issue with an integration, the Elastic Agent doesn't have the correct permissions for running that integration, etc.

@kilfoyle
Copy link
Contributor

kilfoyle commented Sep 4, 2024

Thanks Kyle and Blake! Here's a docs PR: #1288

@nimarezainia
Copy link
Contributor

for reference

Image

@kilfoyle
Copy link
Contributor

kilfoyle commented Sep 5, 2024

Amazing. Thanks a lot @nimarezainia!

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

Successfully merging a pull request may close this issue.

4 participants