Skip to content

Deploy collectd , collectd exporter and Prometheus for performance monitoring with ansible

Notifications You must be signed in to change notification settings

wasanthag/ansible_deploy_collectd_prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible_deploy_collectd_prometheus

Deploy collectd , collectd exporter and Prometheus for performance monitoring with ansible

Deploying Performance monitoring and metrics gathering with Collectd and Prometheus

Ansible playbooks to deploy collectd and prometheus based monitoring solution

Prerequisites

See above list for Sensu

Package versions

Package Version Ports
Prometheus 2.0.0 TCP 9090
Collectd 5.8.0.1
Collectd exporter 0.3.1 TCP 25826, 9103
Keepalived 1.3.9
Grafana 4.6.3.1 TCP 3000
Prometheus Alert Manager 0.12.0 TCP 6783

How to run

To run playbooks first update the group_vars/all with environment specific parameters. Then run the playbooks in the playbooks folder to deploy individual components or all at the same time. Each components can be deployed on their own. There are playbooks to deploy as well as remove as this will help in testing.

Following shows deploying just grafana

ansible-playbook playbooks/install_grafana.yaml

To install all the components one at a time,

ansible-playbook playbooks/install_collectd_exporter.yaml
ansible-playbook playbooks/install_prometheus.yaml
ansible-playbook playbooks/install_alert_manager.yaml
ansible-playbook playbooks/install_grafana.yaml

To install all components and configure sensu checks and alerts

ansible-playbook playbooks/install_all.yaml

To configure target hosts for collectd client ,

ansible-playbook playbooks/configure_collectd_targets.yaml

To Do

  • Add https support and LDAP or similar authentication

About

Deploy collectd , collectd exporter and Prometheus for performance monitoring with ansible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published