From 302f7198acf23ae26dd0cd1dcc6dc86a3eab0ee0 Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Sun, 23 Jun 2024 16:39:39 -0400 Subject: [PATCH] nameing --- Dockerfile | 2 +- docker-compose.yml | 2 +- prometheus/prometheus.yml | 10 +++------- 3 files changed, 5 insertions(+), 9 deletions(-) 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']