add some blackbox exporter
This commit is contained in:
parent
7db1538818
commit
de910ea65f
|
@ -1,6 +1,6 @@
|
|||
FROM prom/prometheus
|
||||
|
||||
LABEL version="20240606.1.1"
|
||||
LABEL version="20240623.1.1"
|
||||
LABEL description="prometheus"
|
||||
|
||||
RUN mkdir -p /etc/prometheus
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
prometheus:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240606.1.1
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240623.1.1
|
||||
container_name: prometheus
|
||||
command: '--config.file=/etc/prometheus/prometheus.yml'
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -28,3 +28,33 @@ scrape_configs:
|
|||
- job_name: pihole
|
||||
static_configs:
|
||||
- targets: ['pihole-exporter.in.thelinuxpro.net:9617']
|
||||
- job_name: blackbox
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [https_2xx]
|
||||
static_configs:
|
||||
- targets:
|
||||
- https://thelinux.pro
|
||||
- job_name: blackbox_http_3xx
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [http_301]
|
||||
static_configs:
|
||||
- targets:
|
||||
- http://thelinux.pro
|
||||
- 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
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue