mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 21:33:28 +01:00
Release 2.10.0 - See CHANGELOG.md
This commit is contained in:
@@ -504,7 +504,7 @@ print_debug "Backup routines Initialized on $(date)"
|
||||
esac
|
||||
|
||||
### Zabbix
|
||||
if var_true "$CONTAINER_ENABLE_MONITORING}" ; then
|
||||
if var_true "${CONTAINER_ENABLE_MONITORING}" ; then
|
||||
print_notice "Sending Backup Statistics to Zabbix"
|
||||
silent zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k dbbackup.size -o "$(stat -c%s "${DB_DUMP_TARGET}"/"${target}")"
|
||||
silent zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k dbbackup.datetime -o "$(date -r "${DB_DUMP_TARGET}"/"${target}" +'%s')"
|
||||
|
||||
Reference in New Issue
Block a user