2022-12-05 21:10:41 +00:00
|
|
|
alerting:
|
|
|
|
alertmanagers:
|
|
|
|
- static_configs:
|
|
|
|
- targets:
|
|
|
|
- alertmanager:9093
|
|
|
|
|
2023-02-19 18:31:52 +00:00
|
|
|
rule_files:
|
|
|
|
- /etc/prometheus/alert-rules.d/*.yml
|
|
|
|
|
2021-03-04 15:16:54 +00:00
|
|
|
scrape_configs:
|
2023-01-31 09:11:09 +00:00
|
|
|
- job_name: pve
|
2021-03-04 15:16:54 +00:00
|
|
|
static_configs:
|
|
|
|
- targets:
|
2023-01-31 09:11:09 +00:00
|
|
|
- "{{ pve_hosts.pve.ip }}"
|
|
|
|
metrics_path: /pve
|
|
|
|
relabel_configs:
|
|
|
|
- source_labels: [__address__]
|
|
|
|
target_label: __param_target
|
|
|
|
- source_labels: [__param_target]
|
|
|
|
target_label: instance
|
|
|
|
- target_label: __address__
|
|
|
|
replacement: proxmox_exporter:9221
|
2022-09-06 21:29:11 +01:00
|
|
|
|
2021-03-04 16:26:55 +00:00
|
|
|
- job_name: traefik
|
2021-03-05 14:27:33 +00:00
|
|
|
metric_relabel_configs:
|
|
|
|
- source_labels: [__name__]
|
|
|
|
regex: go_.+
|
|
|
|
action: drop
|
2021-03-04 16:26:55 +00:00
|
|
|
static_configs:
|
|
|
|
- targets:
|
2021-08-23 19:56:04 +01:00
|
|
|
- "{{ pve_hosts.docker.ip }}:8080"
|
2022-09-06 21:29:11 +01:00
|
|
|
|
|
|
|
- job_name: homeassistant
|
|
|
|
metrics_path: /api/prometheus
|
|
|
|
authorization:
|
2023-12-14 22:03:23 +00:00
|
|
|
credentials: "{{ vault_homeassistant_token }}"
|
2022-09-06 21:29:11 +01:00
|
|
|
metric_relabel_configs:
|
|
|
|
- source_labels: [__name__]
|
2022-12-05 20:36:57 +00:00
|
|
|
regex: python_.+
|
2022-09-06 21:29:11 +01:00
|
|
|
action: drop
|
|
|
|
static_configs:
|
|
|
|
- targets: ["{{ pve_hosts.homeassistant.ip }}:8123"]
|
2022-12-04 22:11:49 +00:00
|
|
|
|
|
|
|
- job_name: blackbox_http_external
|
|
|
|
scrape_interval: 1m
|
|
|
|
metrics_path: /probe
|
|
|
|
params:
|
2022-12-06 10:04:23 +00:00
|
|
|
module: [http]
|
2022-12-04 22:11:49 +00:00
|
|
|
static_configs:
|
|
|
|
- targets:
|
2023-09-07 20:18:32 +01:00
|
|
|
- https://0rng.one
|
2023-11-12 21:25:02 +00:00
|
|
|
- https://auth.jakehoward.tech/-/health/ready/
|
2022-12-04 22:11:49 +00:00
|
|
|
- https://bin.theorangeone.net
|
2023-04-06 20:31:57 +01:00
|
|
|
- https://git.theorangeone.net/api/healthz
|
2022-12-04 22:11:49 +00:00
|
|
|
- https://grafana.jakehoward.tech/api/health
|
2024-01-27 14:18:37 +00:00
|
|
|
- https://headscale.jakehoward.tech/health
|
2022-12-04 22:11:49 +00:00
|
|
|
- https://homeassistant.jakehoward.tech
|
|
|
|
- https://intersect.jakehoward.tech
|
|
|
|
- https://mastodon.theorangeone.net/health
|
|
|
|
- https://matrix.jakehoward.tech:8448/_matrix/federation/v1/version
|
|
|
|
- https://matrix.jakehoward.tech/_matrix/federation/v1/version
|
|
|
|
- https://media.jakehoward.tech
|
2023-11-12 21:23:54 +00:00
|
|
|
- https://minio.jakehoward.tech/minio/health/live
|
2022-12-04 22:11:49 +00:00
|
|
|
- https://notes.theorangeone.net
|
2023-12-23 16:40:53 +00:00
|
|
|
- https://ntfy.jakehoward.tech/v1/health
|
2022-12-04 22:11:49 +00:00
|
|
|
- https://plausible.theorangeone.net
|
|
|
|
- https://recipes.jakehoward.tech
|
2023-11-12 21:23:54 +00:00
|
|
|
- https://s3.jakehoward.tech/minio/health/live
|
2023-09-07 20:18:32 +01:00
|
|
|
- https://tasks.jakehoward.tech/health
|
2022-12-04 22:11:49 +00:00
|
|
|
- https://theorangeone.net
|
|
|
|
- https://tt-rss.jakehoward.tech
|
|
|
|
- https://vaultwarden.jakehoward.tech/alive
|
2024-02-21 21:42:16 +00:00
|
|
|
- https://whoami-cdn.theorangeone.net
|
|
|
|
- https://whoami.theorangeone.net
|
2022-12-04 22:11:49 +00:00
|
|
|
relabel_configs:
|
|
|
|
- source_labels: [__address__]
|
|
|
|
target_label: __param_target
|
|
|
|
- source_labels: [__param_target]
|
|
|
|
target_label: instance
|
|
|
|
- target_label: __address__
|
2022-12-06 10:04:23 +00:00
|
|
|
replacement: blackbox-external:9115
|
2023-10-23 21:06:43 +01:00
|
|
|
- source_labels: [instance]
|
2023-11-05 21:43:02 +00:00
|
|
|
regex: https?://([^/]+)/?.*
|
2023-10-23 21:06:43 +01:00
|
|
|
target_label: hostname
|
2022-12-04 22:11:49 +00:00
|
|
|
|
2023-01-31 14:29:27 +00:00
|
|
|
- job_name: blackbox_icmp
|
|
|
|
scrape_interval: 10m
|
|
|
|
metrics_path: /probe
|
|
|
|
params:
|
|
|
|
module: [icmp]
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
|
|
|
- "{{ pve_hosts.pve.ip }}"
|
|
|
|
- "{{ pve_hosts.homeassistant.ip }}"
|
|
|
|
- 9.9.9.9
|
|
|
|
relabel_configs:
|
|
|
|
- source_labels: [__address__]
|
|
|
|
target_label: __param_target
|
|
|
|
- source_labels: [__param_target]
|
|
|
|
target_label: instance
|
|
|
|
- target_label: __address__
|
|
|
|
replacement: blackbox:9115
|
|
|
|
|
2022-12-04 22:11:49 +00:00
|
|
|
- job_name: blackbox_https_redir
|
|
|
|
scrape_interval: 10m
|
|
|
|
metrics_path: /probe
|
|
|
|
params:
|
|
|
|
module: [https_redir]
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
2023-06-15 15:16:19 +01:00
|
|
|
- http://{{ vps_hosts.casey_ip }}
|
2022-12-04 22:11:49 +00:00
|
|
|
relabel_configs:
|
|
|
|
- source_labels: [__address__]
|
|
|
|
target_label: __param_target
|
|
|
|
- source_labels: [__param_target]
|
|
|
|
target_label: instance
|
|
|
|
- target_label: __address__
|
2022-12-06 10:04:23 +00:00
|
|
|
replacement: blackbox-external:9115
|
2022-12-05 14:40:52 +00:00
|
|
|
|
|
|
|
- job_name: blackbox_healthcheck
|
|
|
|
scrape_interval: 10m
|
|
|
|
metrics_path: /probe
|
|
|
|
params:
|
2022-12-06 10:04:23 +00:00
|
|
|
module: [http]
|
2022-12-05 14:40:52 +00:00
|
|
|
static_configs:
|
|
|
|
- targets:
|
2023-12-14 22:03:23 +00:00
|
|
|
- https://hc-ping.com/{{ vault_prometheus_healthcheck_uuid }}
|
2022-12-05 14:40:52 +00:00
|
|
|
relabel_configs:
|
|
|
|
- source_labels: [__address__]
|
|
|
|
target_label: __param_target
|
|
|
|
- source_labels: [__param_target]
|
|
|
|
target_label: instance
|
|
|
|
- target_label: __address__
|
|
|
|
replacement: blackbox:9115
|
|
|
|
|
|
|
|
- job_name: healthchecks
|
|
|
|
scheme: https
|
2023-12-14 22:03:23 +00:00
|
|
|
metrics_path: /projects/{{ vault_healthchecks_project_uuid }}/metrics/{{ vault_healthcheck_api_token }}
|
2022-12-05 14:40:52 +00:00
|
|
|
static_configs:
|
|
|
|
- targets: [healthchecks.io]
|
2023-01-31 09:11:09 +00:00
|
|
|
|
|
|
|
- job_name: node
|
|
|
|
metrics_path: /metrics
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
|
|
|
- "{{ pve_hosts.pve.ip }}:9100"
|
2024-01-01 15:48:14 +00:00
|
|
|
- 192.168.1.53:9100 # adguardhome
|
2023-01-31 09:11:09 +00:00
|
|
|
metric_relabel_configs:
|
|
|
|
- source_labels: [__name__]
|
|
|
|
regex: go_.+
|
|
|
|
action: drop
|
2023-01-31 21:45:59 +00:00
|
|
|
|
|
|
|
- job_name: speedtest
|
2023-02-28 08:40:26 +00:00
|
|
|
scrape_interval: 1h
|
2023-01-31 21:45:59 +00:00
|
|
|
scrape_timeout: 2m
|
|
|
|
metrics_path: /probe
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
|
|
|
- speedtest_exporter:9516
|
2024-01-27 17:40:02 +00:00
|
|
|
|
|
|
|
- job_name: headscale
|
|
|
|
metrics_path: /metrics
|
|
|
|
static_configs:
|
|
|
|
- targets:
|
|
|
|
- "{{ nebula.clients.casey.ip }}:9090"
|
|
|
|
metric_relabel_configs:
|
|
|
|
- source_labels: [__name__]
|
|
|
|
regex: go_.+
|
|
|
|
action: drop
|