Manage Prometheus firewall rules

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-02-16 01:31:57 +01:00
parent cade9c0aca
commit 0730cbb4c2
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57
2 changed files with 15 additions and 0 deletions

View File

@ -39,3 +39,12 @@ prometheus:
- expect: "^:[^ ]+ 001" - expect: "^:[^ ]+ 001"
icmp: icmp:
prober: icmp prober: icmp
firewalld:
zones:
internal:
ports:
- comment: 'Prometheus Blackbox Exporter'
port: 9115
protocol: tcp

View File

@ -9,3 +9,9 @@ prometheus:
global: global:
scrape_interval: 15s scrape_interval: 15s
evaluation_interval: 1m evaluation_interval: 1m
firewalld:
zones:
internal:
services:
- prometheus