From 4a280239672cbb337b17871c2234963d251afedf Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 3 Apr 2019 17:21:20 +0200 Subject: [PATCH] Update conf for BackupPC --- zabbix_conf/backuppc.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zabbix_conf/backuppc.conf b/zabbix_conf/backuppc.conf index e8e69a2..2863bbf 100644 --- a/zabbix_conf/backuppc.conf +++ b/zabbix_conf/backuppc.conf @@ -5,9 +5,11 @@ # Other available macros: # {#BPCPERIOD}: Max age (in day) the oldest backup should be # {#BPCHOST}: name of the backup host -UserParameter=backuppc.host.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_backuppc_sudo --base64 --regex=$1 +UserParameter=backuppc.host.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_backuppc_sudo # Item prototypes # key: backuppc.host.info[{#BPCHOST},item] # Valide item are: errors, max_errors, size, duration, age, notify UserParameter=backuppc.host.info[*],/usr/bin/sudo /var/lib/zabbix/bin/check_backuppc_sudo $1 $2 +# Same but used for transition to the dependent items +UserParameter=backuppc.host[*],/usr/bin/sudo /var/lib/zabbix/bin/check_backuppc_sudo $1 $2