hi members,
as already pointed out in that request it seems necessary to enable healthcheck inside the container.
So I tried to set the following commands in the container with these errors.
[root@c1c93cf2f46d metricbeat]# metricbeat modules list
Error in modules manager: modules management requires 'metricbeat.config.modules.path' setting
[root@c1c93cf2f46d metricbeat]# metricbeat modules enable healthcheck
Error in modules manager: modules management requires 'metricbeat.config.modules.path' setting
So when I set such module.path in my metricbeat.yml there will be no more docker metrics transmitted to Elasticsearch.
This is my current metricbeat.yml:
metricbeat.modules:
- module: docker
metricsets:
- container
- cpu
- diskio
- healthcheck
- info
- memory
- network
hosts: ["unix:///var/run/docker.sock"]
period: 10s
enable: true
setup.dashboards.enabled: true
setup.kibana:
host: "10.251.6.190:5601"
output.elasticsearch:
hosts: ["elasticsearch-coordinating:9200"]
So is there something wrong with the configuration?