From ad5c55ca23fb7127890f6eeb4fd9f1882f94a606 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 17 Apr 2023 21:04:03 +0200 Subject: [PATCH] Backup: Don't trigger alerts for warnings --- coreos-config/plays/templates/backup.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/coreos-config/plays/templates/backup.sh.j2 b/coreos-config/plays/templates/backup.sh.j2 index 8bdd34e..b1701b3 100755 --- a/coreos-config/plays/templates/backup.sh.j2 +++ b/coreos-config/plays/templates/backup.sh.j2 @@ -61,6 +61,7 @@ if [ ${global_exit} -eq 0 ]; then elif [ ${global_exit} -eq 1 ]; then info "Backup and/or Prune finished with warnings" /usr/bin/curl -fsS -m 10 --retry 5 -o /dev/null "https://monitor.chaoswg.org/api/push/${PUSH_KEY}?msg=OK&ping=" + exit 0 # We dont want to get notified about warnings as this would make the systemd unit fail. else info "Backup and/or Prune finished with errors" fi