You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.0 KiB
24 lines
1.0 KiB
# Discovery of configured host
|
|
# Key: backuppc.host.discovery
|
|
# Macro: {#BPCSTATUS}
|
|
# Filter regex: enabled|1 => true
|
|
# 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 --hosts
|
|
UserParameter=backuppc.entity.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_backuppc_sudo --entities
|
|
|
|
# Item prototypes
|
|
# key: backuppc.host[{#BPCHOST}]
|
|
# or
|
|
# key: backuppc.entity[{#BPC_ENTITY}]
|
|
# Returns a JSON object, use dependent item to split it
|
|
UserParameter=backuppc.host[*],/usr/bin/sudo /var/lib/zabbix/bin/check_backuppc_sudo --host=$1
|
|
UserParameter=backuppc.entity[*],/usr/bin/sudo /var/lib/zabbix/bin/check_backuppc_sudo --entity=$1
|
|
|
|
# key: backuppc.host[{#BPCHOST}]
|
|
# or
|
|
# key: backuppc.general
|
|
# Same as entity checks for will process every hosts
|
|
# Returns a JSON object, use dependent item to split it
|
|
UserParameter=backuppc.general,/usr/bin/sudo /var/lib/zabbix/bin/check_backuppc_sudo --general
|
|
|