alexus
June 22, 2022, 2:51pm
3
@Adriann , thank you for taking your time to answer my question, i really do appreciate that!
I see that it seems like they already fixed with 8.1.2+, but not in version 7 just yet and it's safe to ignore it as well as it only affects own monitoring.
thank you!
ref:
opened 10:34AM - 23 Dec 20 UTC
closed 04:06PM - 06 Apr 22 UTC
enhancement
discuss
libbeat
help wanted
Team:Elastic-Agent-Data-Plane
Discuss thread: https://discuss.elastic.co/t/metricbeat-k8s-error-getting-group-… status-open-proc-pid-cgroup/255371
Since https://github.com/elastic/beats/pull/21113 monitoring includes cgroup stats. However, those are hardcoded to read from `/proc`. This clashes with use cases where proc is available in a different location and causes the following error to be printed to the logs every 30s:
> ERROR instance/metrics.go:285 error getting group status: open /proc/33861/cgroup: no such file or directory
Metricbeat's system module has a command-line argument, `-system.hostfs`, that allows to specify an alternate path to the root filesystem for these metrics.
We could have a similar flag / configuration option for the monitoring metrics.
opened 10:34AM - 23 Dec 20 UTC
closed 04:06PM - 06 Apr 22 UTC
enhancement
discuss
libbeat
help wanted
Team:Elastic-Agent-Data-Plane
Discuss thread: https://discuss.elastic.co/t/metricbeat-k8s-error-getting-group-… status-open-proc-pid-cgroup/255371
Since https://github.com/elastic/beats/pull/21113 monitoring includes cgroup stats. However, those are hardcoded to read from `/proc`. This clashes with use cases where proc is available in a different location and causes the following error to be printed to the logs every 30s:
> ERROR instance/metrics.go:285 error getting group status: open /proc/33861/cgroup: no such file or directory
Metricbeat's system module has a command-line argument, `-system.hostfs`, that allows to specify an alternate path to the root filesystem for these metrics.
We could have a similar flag / configuration option for the monitoring metrics.
1 Like