Last active
October 13, 2016 00:52
-
-
Save kenzo0107/0682095f0325ade543ed33d663860bf4 to your computer and use it in GitHub Desktop.
Ansible+Vagrant でシンプルなPrometheusモニタリング環境構築 ref: http://qiita.com/kenzo0107/items/7767a7bf08e465110bd1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/kenzo0107/Vagrant-Prometheus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd Vagrant-Prometheus | |
$ vagrant up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vagrant ssh-config > ssh.config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible default -m ping | |
server | SUCCESS => { | |
"changed": false, | |
"ping": "pong" | |
} | |
client1 | SUCCESS => { | |
"changed": false, | |
"ping": "pong" | |
} | |
client2 | SUCCESS => { | |
"changed": false, | |
"ping": "pong" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible-playbook set_clients_prometheus.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible-playbook set_server_prometheus.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment