DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Prometheus monitoring stack set up with Ansible | Padok

2 years ago www.padok.fr
Prometheus monitoring stack set up with Ansible | Padok

Summary: This is a summary of an article originally published by the source. Read the full original article here →

https://www.padok.fr/ https://www.padok.fr/en/blog https://www.padok.fr/en/blog/tag/technology https://www.padok.fr/en/blog/prometheus-monitoring-ansible Let’s say that you have a machine running Virtual Machines (VMs) that themselves are running Docker.

We want all our VMs and real machines monitored, with a simple dashboard to visualize the data.

However, I will talk about the pattern that we will use to monitor our infrastructure: the observer and the targets.

Add the IP of the targeted machine in the targets of the node-exporter job (and cadvisor if you also want to monitor the containers) of the observer machine (ansible/roles/observer/files/prometheus_main.yml).

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com