1
0
Fork 0
forked from infra/ansible

Zabbix: add an hour to the MariaDB backup trigger to give the daily cron time to run

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2026-06-19 11:42:15 +01:00
commit ef5567d8c0
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0

View file

@ -21,7 +21,7 @@ zabbix_export:
value: mysql
triggers:
- uuid: 194ae33956aa49e39553003a40bbd967
expression: 'now() - last(/MariaDB Backups/vfs.file.time[/backups/fpo-mediawiki-latest.xz,modify]) > 86400'
expression: 'now() - last(/MariaDB Backups/vfs.file.time[/backups/fpo-mediawiki-latest.xz,modify]) > 90000'
name: 'Mysql backup is out of date'
opdata: 'Backup Timestamp: {ITEM.LASTVALUE1}'
priority: WARNING