From 3d9d7423efc1ae7fc37e6b129f98fa88e490c28f Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 4 Jul 2021 09:33:04 -0500 Subject: [PATCH] hosts: Add stats0.p.b to prometheus group Although configuration policy is not yet available for Prometheus itself, the `collectd.yml` playbook also uses the *prometheus* host group. Specifically, hosts in this group are configured to receive collectd data from other hosts and expose those data through the `write_prometheus` plugin. --- group_vars/prometheus.yml | 4 ++++ hosts | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 group_vars/prometheus.yml diff --git a/group_vars/prometheus.yml b/group_vars/prometheus.yml new file mode 100644 index 0000000..73b083d --- /dev/null +++ b/group_vars/prometheus.yml @@ -0,0 +1,4 @@ +collectd_network_servers: [] +collectd_network_listen: +- ff18::efc0:4a42 +collectd_prometheus_host: '::1' diff --git a/hosts b/hosts index 71c4c89..0cec8e4 100644 --- a/hosts +++ b/hosts @@ -83,6 +83,9 @@ pyrocufflink-dns [public-web] web0.pyrocufflink.blue +[prometheus] +stats0.pyrocufflink.blue + [pyrocufflink] build0-amd64.pyrocufflink.blue build1-aarch64.pyrocufflink.blue