monasca / monasca-docker

Docker files and setup for Monasca
Apache License 2.0
24 stars 47 forks source link

agent-collector & agent-forwarder #470

Closed mellitiseifeddine closed 5 years ago

mellitiseifeddine commented 5 years ago

i have 3 VMs and i already deployed monasca component using docker on one of the VMs ,i having an issue where to deploy the agent-collector and forwarder . thx

timothyb89 commented 5 years ago

At least in our example docker-compose.yml the agent is only configured to monitor the host it's currently running on. If you wanted to collect host metrics from multiple VMs you'd need to run a copy of the agent on each host.

The agent-collector and agent-forwarder are a pair that should always be deployed together. In Kubernetes we deploy a pod containing both the collector and forwarder to each host in the cluster automatically.