add pihole-exporter

This commit is contained in:
Kameron Kenny 2024-06-06 11:08:41 -04:00
parent 2aa9a32819
commit 7db1538818
No known key found for this signature in database
GPG Key ID: E5006629839D2276
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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']