Skip to content

A playbook to create a master monitoring server as well as install motoring agents on node machines.

Notifications You must be signed in to change notification settings

aidanhall34/ansiblenodemonitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansiblemonitoring

For monitoring servers with Prometheus and Grafana

Deployed with ansible

Blog post: https://blog.ah34.net/posts/grafana-prometheus-loki-and-ansible/ Youtube video: https://www.youtube.com/watch?v=1xpxiwCIwS8

To run the playbook, update the values in inventories/group_vars/ubuntu.yml. Ensure that the SNMP_exporter, Promethues and other agent / server configs will work in your environment.

Then run:

# Run this on the monitoring server
ansible-playbook playbooks/deploy_monitoring.yml  -i inventories/production/ --tags server --limit '<monitoring server>'
# Run this on all machines except for the monitoring server
ansible-playbook playbooks/deploy_monitoring.yml  -i inventories/production/ --tags agent --limit '<agent server group>:!<monitoring server>'

About

A playbook to create a master monitoring server as well as install motoring agents on node machines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages