-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Elastic Agent] Do not watch monitors #27192
[Elastic Agent] Do not watch monitors #27192
Conversation
Pinging @elastic/agent (Team:Agent) |
What you mean by "simple" *beat above? Is this the metricbeat that monitors the other processes? What happens in 7.14 without this fix? Do errors only show up in logs or are there further side effects? |
just errors in logs. by simple i mean the one which is configured to collect configured metrics via configuration/integrations. not the one which monitors agent and its processes. naming is hard but i could not think about other way how to differentiate. |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
I believe this is the same issue @michel-laterman was looking at. I thought it was fleet-server bootstrap doing the wrong thing, this might actually fix his issue as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
I think this should go to 7.14, if still possible.
(cherry picked from commit 335e99f)
(cherry picked from commit 335e99f) Co-authored-by: Michal Pristas <[email protected]>
What does this PR do?
WHen monitors were enabled monitoring of simple filebeat and metricbeat was configured and should not.
This resulted in socket not found because metricbeat was told to keep an eye on metricbeat.sock but it was not available as simple metricbeat was not running.
This PR does not configure monitoring beat to watch for simple beat if simple beat is not actually running
Why is it important?
Fixes: #27127
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.