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
7 changed files with 29 additions and 1 deletions
|
@ -26,6 +26,7 @@ root_ssh_keys:
|
||||||
- monitoring.archlinux.org
|
- monitoring.archlinux.org
|
||||||
- runner1.archlinux.org
|
- runner1.archlinux.org
|
||||||
- runner2.archlinux.org
|
- runner2.archlinux.org
|
||||||
|
- dashboards.archlinux.org
|
||||||
|
|
||||||
# run playbook 'playbooks/tasks/reencrypt-vault-key.yml' when this changes
|
# 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
|
# before running it, make sure to gpg --lsign-key all of the below keys
|
||||||
|
|
3
host_vars/dashboards.archlinux.org
Normal file
3
host_vars/dashboards.archlinux.org
Normal file
|
@ -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
|
runner1.archlinux.org
|
||||||
md.archlinux.org
|
md.archlinux.org
|
||||||
man.archlinux.org
|
man.archlinux.org
|
||||||
|
dashboards.archlinux.org
|
||||||
|
|
||||||
[kape_servers]
|
[kape_servers]
|
||||||
asia.mirror.pkgbuild.com
|
asia.mirror.pkgbuild.com
|
||||||
|
|
18
playbooks/dashboards.archlinux.org.yml
Normal file
18
playbooks/dashboards.archlinux.org.yml
Normal file
|
@ -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://bbs.archlinux.org
|
||||||
- https://bugs.archlinux.org
|
- https://bugs.archlinux.org
|
||||||
- https://conf.archlinux.org
|
- https://conf.archlinux.org
|
||||||
|
- https://dashboards.archlinux.org/healthz
|
||||||
- https://dev.archlinux.org
|
- https://dev.archlinux.org
|
||||||
- https://europe.archive.pkgbuild.com
|
- https://europe.archive.pkgbuild.com
|
||||||
- https://europe.mirror.pkgbuild.com
|
- https://europe.mirror.pkgbuild.com
|
||||||
|
|
|
@ -112,7 +112,7 @@ groups:
|
||||||
summary: "Prometheus too many restarts (instance {{ $labels.instance }})"
|
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 }}"
|
description: "Prometheus has restarted more than twice in the last 15 minutes. It might be crashlooping.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
|
||||||
- alert: PrometheusNotConnectedToAlertmanager
|
- alert: PrometheusNotConnectedToAlertmanager
|
||||||
expr: prometheus_notifications_alertmanagers_discovered < 1
|
expr: prometheus_notifications_alertmanagers_discovered{instance!~"dashboards.archlinux.org"} < 1
|
||||||
for: 5m
|
for: 5m
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
severity: critical
|
||||||
|
|
|
@ -102,6 +102,10 @@ locals {
|
||||||
server_type = "cx31"
|
server_type = "cx31"
|
||||||
domain = "monitoring"
|
domain = "monitoring"
|
||||||
}
|
}
|
||||||
|
"dashboards.archlinux.org" = {
|
||||||
|
server_type = "cx11"
|
||||||
|
domain = "dashboards"
|
||||||
|
}
|
||||||
"patchwork.archlinux.org" = {
|
"patchwork.archlinux.org" = {
|
||||||
server_type = "cx11"
|
server_type = "cx11"
|
||||||
domain = "patchwork"
|
domain = "patchwork"
|
||||||
|
|
Loading…
Reference in a new issue