From 7db1538818a3d965d20cb48d19761b8256959aad Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:08:41 -0400 Subject: [PATCH] add pihole-exporter --- Dockerfile | 2 +- docker-compose.yml | 2 +- prometheus/prometheus.yml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 966d510..afa6eb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM prom/prometheus -LABEL version="20240605.1.3" +LABEL version="20240606.1.1" LABEL description="prometheus" RUN mkdir -p /etc/prometheus diff --git a/docker-compose.yml b/docker-compose.yml index 3c416fb..29cc10c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: prometheus: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240605.1.3 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240606.1.1 container_name: prometheus command: '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 4f94d97..891603c 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -25,3 +25,6 @@ scrape_configs: - job_name: unifi static_configs: - targets: ['unpoller.in.thelinuxpro.net:9130'] +- job_name: pihole + static_configs: + - targets: ['pihole-exporter.in.thelinuxpro.net:9617']