From 1770755ce73d8bf3c55c3b146923b902f288597d Mon Sep 17 00:00:00 2001 From: Gorden Date: Fri, 18 Aug 2023 18:31:01 +0200 Subject: [PATCH] daily autocommit --- cmk-update-agent.state | 2 +- crontab | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cmk-update-agent.state b/cmk-update-agent.state index fd351109..1ebf4656 100644 --- a/cmk-update-agent.state +++ b/cmk-update-agent.state @@ -1 +1 @@ -{'host_secret': 'kwgdpsxglkabglrcselwgbxzgjdccindehyefyjejieztqoewmxmaenvqobhaovk', 'server': '192.168.0.99', 'site': 'realm', 'host_name': 'serviceraspi2.realm.local', 'protocol': 'http', 'user': 'caelebfi', 'last_check': 1666964462.8305984, 'installed_aghash': '0649383f09ad3ac2', 'last_update': 1666964489.60659, 'last_error': "HTTPConnectionPool(host='192.168.0.99', port=80): Max retries exceeded with url: /realm/check_mk (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 113] No route to host'))", 'pending_hash': None} +{'host_secret': 'kwgdpsxglkabglrcselwgbxzgjdccindehyefyjejieztqoewmxmaenvqobhaovk', 'server': '192.168.0.99', 'site': 'realm', 'host_name': 'serviceraspi2.realm.local', 'protocol': 'http', 'user': 'caelebfi', 'last_check': 1666964462.8305984, 'installed_aghash': '0649383f09ad3ac2', 'last_update': 1666964489.60659, 'last_error': "HTTPConnectionPool(host='192.168.0.99', port=80): Max retries exceeded with url: /realm/check_mk (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 113] No route to host'))", 'pending_hash': None} diff --git a/crontab b/crontab index c89cc0be..5d5ea72f 100644 --- a/crontab +++ b/crontab @@ -20,3 +20,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # + +0 1 * * * root /usr/bin/restic -r /backup/restic-repositories/serviceraspi2 backup /opt/deconz --password-file /root/.resticpw +20 1 * * * root /usr/bin/restic -r /backup/restic-repositories/serviceraspi2 forget --keep-daily 7 --keep-weekly 2 --prune --password-file /root/.resticpw