2013-04-12 14:40:33 +02:00
|
|
|
# Discovery of configured host
|
|
|
|
# Key: backuppc.host.discovery
|
|
|
|
# Macro: {#BPCSTATUS}
|
|
|
|
# Filter regex: enabled => true
|
|
|
|
# Other available macros:
|
|
|
|
# {#BPCPERIOD}: Max age (in day) the oldest backup should be
|
|
|
|
# {#BPCHOST}: name of the backup host
|
2013-04-18 14:03:22 +02:00
|
|
|
UserParameter=backuppc.host.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_backuppc_sudo --base64 --regex=$1
|
2013-04-12 14:40:33 +02:00
|
|
|
|
|
|
|
# Item prototypes
|
|
|
|
# key: backuppc.host.info[{#BPCHOST},item]
|
2013-04-14 22:59:45 +02:00
|
|
|
# Valide item are: errors, max_errors, size, duration, age, notify
|
2013-04-12 14:40:33 +02:00
|
|
|
UserParameter=backuppc.host.info[*],/usr/bin/sudo /var/lib/zabbix/bin/check_backuppc_sudo $1 $2
|