mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-05-11 14:46:03 +02:00
Add dashboards.archlinux.org for public Grafana dashboards
Co-authored-by: Kristian Klausen <kristian@klausen.dk>
This commit is contained in:
parent
2cbfa2c011
commit
d2b110d250
|
@ -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
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
filesystem: btrfs
|
||||
ipv4_address: 157.90.255.107
|
1
hosts
1
hosts
|
@ -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
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
- 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"
|
||||
|
|
Loading…
Reference in New Issue