Release 2.8.1 - See CHANGELOG.md

This commit is contained in:
Dave Conroy
2021-09-01 07:43:01 -07:00
parent b808b35624
commit c81d8e2713
3 changed files with 11 additions and 5 deletions

View File

@@ -497,7 +497,7 @@ print_debug "Backup routines Initialized on $(date)"
esac
### Zabbix
if var_true "$ENABLE_ZABBIX" ; 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')"