Commit d2b110d2 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase Committed by Kristian Klausen
Browse files

Add dashboards.archlinux.org for public Grafana dashboards


Co-authored-by: Kristian Klausen's avatarKristian Klausen <kristian@klausen.dk>
parent 2cbfa2c0
......@@ -26,6 +26,7 @@ root_ssh_keys:
- monitoring.archlinux.org
- runner1.archlinux.org
- runner2.archlinux.org
- dashboards.archlinux.org
# run playbook 'playbooks/tasks/reencrypt-vault-key.yml' when this changes
# before running it, make sure to gpg --lsign-key all of the below keys
......
---
filesystem: btrfs
ipv4_address: 157.90.255.107
......@@ -142,6 +142,7 @@ repro2.pkgbuild.com
runner1.archlinux.org
md.archlinux.org
man.archlinux.org
dashboards.archlinux.org
[kape_servers]
asia.mirror.pkgbuild.com
......
- name: setup public dashboards server
hosts: dashboards.archlinux.org
remote_user: root
roles:
- { role: firewalld }
- { role: common }
- { role: tools }
- { role: sshd }
- { role: root_ssh }
- { role: hardening }
- { role: borg_client, tags: ["borg"], when: "'borg_clients' in group_names" }
- { role: prometheus }
- { role: prometheus_exporters }
- { role: promtail }
- { role: certbot }
- { role: nginx }
- { role: grafana, grafana_domain: 'dashboards.archlinux.org' }
- { role: fail2ban }
......@@ -17,6 +17,7 @@ blackbox_targets:
- https://bbs.archlinux.org
- https://bugs.archlinux.org
- https://conf.archlinux.org
- https://dashboards.archlinux.org/healthz
- https://dev.archlinux.org
- https://europe.archive.pkgbuild.com
- https://europe.mirror.pkgbuild.com
......
......@@ -112,7 +112,7 @@ groups:
summary: "Prometheus too many restarts (instance {{ $labels.instance }})"
description: "Prometheus has restarted more than twice in the last 15 minutes. It might be crashlooping.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: PrometheusNotConnectedToAlertmanager
expr: prometheus_notifications_alertmanagers_discovered < 1
expr: prometheus_notifications_alertmanagers_discovered{instance!~"dashboards.archlinux.org"} < 1
for: 5m
labels:
severity: critical
......
......@@ -102,6 +102,10 @@ locals {
server_type = "cx31"
domain = "monitoring"
}
"dashboards.archlinux.org" = {
server_type = "cx11"
domain = "dashboards"
}
"patchwork.archlinux.org" = {
server_type = "cx11"
domain = "patchwork"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment