2

Monitor Agen

curl -sSO https://dl.google.com/cloudagents/add-monitoring-agent-repo.sh
3 sudo bash add-monitoring-agent-repo.sh
4 sudo apt-get update
5 sudo apt-cache madison stackdriver-agent
6 sudo apt-get install -y ‘stackdriver-agent=6.*’
7 sudo service stackdriver-agent start
8 sudo service stackdriver-agent status

Logging Agen


   10  curl -sSO https://dl.google.com/cloudagents/add-logging-agent-repo.sh
sudo bash add-logging-agent-repo.shs
sudo apt-get update
   15  sudo apt-cache madison google-fluentd
   16  sudo apt-get install -y 'google-fluentd=1.*'
   17  sudo apt-get install -y google-fluentd-catch-all-config
   18  sudo service google-fluentd start
   19  sudo service google-fluentd status

MySQL Agent

https://cloud.google.com/monitoring/agent/plugins/mysql