diff --git a/prometheus-grafana/prometheus.yml b/prometheus-grafana/prometheus.yml new file mode 100644 index 0000000..2c1dc93 --- /dev/null +++ b/prometheus-grafana/prometheus.yml @@ -0,0 +1,41 @@ +global: + scrape_interval: 15s + +scrape_configs: + - job_name: 'caddy' + static_configs: + - targets: ['mycloudhaus.xyz'] + metrics_path: /metrics + basic_auth: + username: 'theo' + password: 'L33TSUP@H4x0r' + - job_name: 'box' + static_configs: + - targets: ['10.0.0.1:9100'] + metrics_path: /metrics + scheme: http + - job_name: 'bigbox' + static_configs: + - targets: ['10.0.0.2:9100'] + metrics_path: /metrics + scheme: http + - job_name: 'searxng' + metrics_path: /metrics + scheme: https + tls_config: + insecure_skip_verify: true + static_configs: + - targets: ['searxng.mycloudhaus.xyz'] + basic_auth: + username: metrics + password: shS5SPW22S29ZkJWLDI + - job_name: 'f2b' + static_configs: + - targets: ['10.0.0.1:9991'] + metrics_path: /metrics + scheme: http + - job_name: 'crowdsec' + static_configs: + - targets: ['10.0.0.1:6060'] + metrics_path: /metrics + scheme: http