Closed zhangjianweibj closed 5 years ago
Hello, Could you provide some more information for example how did you run agent-collector container? What command and if you restarted it after changing configuration? Templating all configuration files happen at the container start. I can't reproduce it locally. When I run default containers with default configuration in this repository I have all proper files:
/etc/monasca/agent/conf.d # ls
cadvisor_host.yaml cpu.yaml disk.yaml http_check.yaml kafka_consumer.yaml load.yaml memory.yaml mysql.yaml process.yaml zk.yaml
Also looks like you are using quite old version of this container. The newest one is master-20180914-130916
.
You can check last tested versions in: https://github.com/monasca/monasca-docker/blob/master/.env
@matrixik very thanks.i install agent by kubernetes deployment.yaml file as follows.
and agent version is monasca/agent-collector:master-20180112-162543.agent confid.d directory has prometheus.yml kubernetes.yml but no mysql.yml.
This old version will not work because MONASCA_MONITORING
was added later in this commit:
https://github.com/monasca/monasca-docker/commit/44216fe6ebd51905dbbd58af335233f21a06ee08
@matrixik very thanks.but i want to know how to config ,then my service mysql & redis can be monitored?
You need to use monasca/agent-collector container in newer version.
@matrixik ok,very thanks.
hello, as the document describe ,added mysql environment tag,but agent pods no mysql.yml file in /etc/monasca/conf.d .why?
env as follows:
and agent pods env
very thanks.