diff --git a/Dockerfile b/Dockerfile index cee2c74..92ebe02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM prom/prometheus -LABEL version="20240623.1.3" +LABEL version="20240623.1.4" LABEL description="prometheus" RUN mkdir -p /etc/prometheus diff --git a/docker-compose.yml b/docker-compose.yml index 76312ea..05ccf5c 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:240623.1.3 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240623.1.4 container_name: prometheus command: '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 541f311..e7d2603 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -41,20 +41,16 @@ scrape_configs: module: [http_301] static_configs: - targets: - - http://thelinux.pro:80 + - thelinux.pro:80 - job_name: blackbox_dns_thelinux_pro__A metrics_path: /probe params: module: dns_thelinux_pro__A static_configs: - - targets: - - ns1.thelinuxpro.net - - ns2.thelinuxpro.net + - targets: ['ns1.thelinuxpro.net', 'ns2.thelinuxpro.net'] - job_name: blackbox_dns_thelinux_pro__SOA metrics_path: /probe params: module: dns_thelinux_pro__SOA static_configs: - - targets: - - ns1.thelinuxpro.net - - ns2.thelinuxpro.net + - targets: ['ns1.thelinuxpro.net', 'ns2.thelinuxpro.net']