Tested on Debian based
This repository sets up a monitoring stack using Percona, Grafana, Prometheus, Blackbox Exporter, BIRD Exporter, ZFS Exporter, and SNMP Exporter.
pmm
: Collects metrics from Linux clients using Grafana and Prometheus.prometheus
: Customized Prometheus instance for specific data collection.blackbox-exporter
: Monitors domain/IP availability and latency.snmp-exporter
: Exports SNMP metrics for device monitoring.
Before you begin, make sure you have the necessary configuration files ready. You can use the provided example files as a starting point:
- Copy
ansible/group_vars/all-example.yml
togroup_vars/all.yml
. - Copy
ansible/inventory-example
toinventory
.
To perform the initial setup, before executing the Ansible playbook, ensure that you are in the Ansible directory:
cd ansible
then use the following Ansible command:
ansible-playbook -i inventory play/setup-host.yml -e "HOSTS=server"
For more documentation and operational runbooks. Please refer to this docs.
Contributions are welcome. Feel free to open issues or pull requests.