Skip to content

Instantly share code, notes, and snippets.

@kenzo0107
Last active October 13, 2016 00:52
Show Gist options
  • Save kenzo0107/0682095f0325ade543ed33d663860bf4 to your computer and use it in GitHub Desktop.
Save kenzo0107/0682095f0325ade543ed33d663860bf4 to your computer and use it in GitHub Desktop.
Ansible+Vagrant でシンプルなPrometheusモニタリング環境構築 ref: http://qiita.com/kenzo0107/items/7767a7bf08e465110bd1
$ git clone https://github.com/kenzo0107/Vagrant-Prometheus
$ cd Vagrant-Prometheus
$ vagrant up
$ vagrant ssh-config > ssh.config
$ ansible default -m ping
server | SUCCESS => {
"changed": false,
"ping": "pong"
}
client1 | SUCCESS => {
"changed": false,
"ping": "pong"
}
client2 | SUCCESS => {
"changed": false,
"ping": "pong"
}
$ ansible-playbook set_clients_prometheus.yml
$ ansible-playbook set_server_prometheus.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment