add config for node-exporter

This commit is contained in:
Kameron Kenny 2024-06-05 17:24:16 -04:00
parent 6a2e9cf808
commit deadc616b3
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.1"
LABEL version="20240605.1.2"
LABEL description="bind9 primary nameserver"
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.1
image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240605.1.2
container_name: prometheus
command: '--config.file=/etc/prometheus/prometheus.yml'
restart: unless-stopped

View File

@ -19,3 +19,6 @@ scrape_configs:
static_configs:
- targets:
- localhost:9090
- job_name: docker_hosts
static_configs:
- targets: ['pi501.in.thelinuxpro.net:9100', 'pi502.in.thelinuxpro.net:9100']