summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-03-19 22:02:26 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-03-19 22:02:26 +0100
commitcf217cce24d223ce9343e88e4a45c572e72b94e3 (patch)
treedbefe0bdb60c9596b2699e6c00f64904da12b6ed
parentch-epimetheus: replace disk (diff)
remove/uninstall alerta
-rw-r--r--chaos-at-home/ch-apps.yml1
-rw-r--r--inventory/host_vars/ch-apps.yml42
-rw-r--r--inventory/host_vars/ch-mon.yml18
3 files changed, 4 insertions, 57 deletions
diff --git a/chaos-at-home/ch-apps.yml b/chaos-at-home/ch-apps.yml
index 66ae6446..3cfc5d24 100644
--- a/chaos-at-home/ch-apps.yml
+++ b/chaos-at-home/ch-apps.yml
@@ -14,4 +14,3 @@
- role: monitoring/prometheus/exporter
- role: kubernetes/base
- role: kubernetes/standalone/base
- - role: monitoring/alerta
diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml
index f7802750..a6965c88 100644
--- a/inventory/host_vars/ch-apps.yml
+++ b/inventory/host_vars/ch-apps.yml
@@ -121,45 +121,3 @@ kubernetes_version: 1.23.2
kubernetes_container_runtime: docker
kubernetes_standalone_max_pods: 42
kubernetes_standalone_cni_variant: with-portmap
-
-
-alerta_base_path: /srv/storage/alerta
-alerta_storage:
- type: zfs
- pool: storage
- name: alerta
- properties:
- quota: 1G
- 'syncoid:sync': 'false'
-
-alerta_web_version: 8.7.0
-alerta_postgres_version: 14.2
-alerta_redis_version: 6.2.6
-
-alerta_web_secret_key: "{{ vault_alerta_web_secret_key }}"
-alerta_postgres_password: "{{ vault_alerta_postgres_password }}"
-
-alerta_default_environment: unknown
-alerta_environments:
- - unknown
- - chaos-at-.*
-
-alerta_plugins:
- - reject
- - blackout
- - heartbeat
- - amqp
-
-alerta_plugin_heartbeat:
- events:
- - PrometheusAlertmanagerE2eDeadManSwitch
-
-alerta_mailer:
- severities: critical, warning
- smtp_host: 192.168.28.250
- smtp_port: 25
- smtp_starttls: False
- skip_mta: False
- mail_to: equinox@chaos-at-home.org
- mail_from: noreply@chaos-at-home.org
- dashboard_url: http://192.168.32.1:8080
diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml
index 684cc722..83673bb3 100644
--- a/inventory/host_vars/ch-mon.yml
+++ b/inventory/host_vars/ch-mon.yml
@@ -145,25 +145,15 @@ prometheus_alertmanager_web_external_url: "http://{{ network.primary.address | i
prometheus_alertmanager_auth_users:
server: "{{ vault_prometheus_alertmanager_auth_user_passwords['server'] }}"
admin: "{{ vault_prometheus_alertmanager_auth_user_passwords['admin'] }}"
- alerta: "alerta" ## TODO: move this to vault
prometheus_alertmanager_route:
- receiver: alerta
- group_by: ['...']
- group_wait: 0
- group_interval: 10s
- repeat_interval: 5m
+ receiver: equinox
prometheus_alertmanager_receivers:
- - name: alerta
- webhook_configs:
- - url: http://192.168.32.1:8080/api/webhooks/prometheus
+ - name: equinox
+ email_configs:
+ - to: equinox@chaos-at-home.org
send_resolved: true
- http_config:
- basic_auth:
- username: admin
- password: alerta ## TODO: move this to vault
-
grafana_secret_key: "{{ vault_grafana_secret_key }}"