add pihole-exporter
This commit is contained in:
parent
2aa9a32819
commit
7db1538818
|
@ -1,6 +1,6 @@
|
||||||
FROM prom/prometheus
|
FROM prom/prometheus
|
||||||
|
|
||||||
LABEL version="20240605.1.3"
|
LABEL version="20240606.1.1"
|
||||||
LABEL description="prometheus"
|
LABEL description="prometheus"
|
||||||
|
|
||||||
RUN mkdir -p /etc/prometheus
|
RUN mkdir -p /etc/prometheus
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
prometheus:
|
prometheus:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
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
|
container_name: prometheus
|
||||||
command: '--config.file=/etc/prometheus/prometheus.yml'
|
command: '--config.file=/etc/prometheus/prometheus.yml'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -25,3 +25,6 @@ scrape_configs:
|
||||||
- job_name: unifi
|
- job_name: unifi
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['unpoller.in.thelinuxpro.net:9130']
|
- targets: ['unpoller.in.thelinuxpro.net:9130']
|
||||||
|
- job_name: pihole
|
||||||
|
static_configs:
|
||||||
|
- targets: ['pihole-exporter.in.thelinuxpro.net:9617']
|
||||||
|
|
Loading…
Reference in New Issue