4.4
2020-04-14T22:24:39Z
Templates
Template App BackupPC
Template App BackupPC
Based on our fork : https://git.antipode.net/antipode.info/zabbix-backuppc
Templates
BackupPC
BackupPC - backups
-
BackupPC - Config Uptime
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.config_load_time
0
10d
uptime
BackupPC
POST
-
BackupPC - Pool Directory Count (Compressed)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.cpool_dir_count
0
10d
BackupPC
POST
-
BackupPC - Pool File Count (Compressed)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.cpool_file_count
0
10d
BackupPC
POST
-
BackupPC - Pool File Max Links (Compressed)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.cpool_file_link_max
0
10d
BackupPC
POST
-
BackupPC - Pool File Repeat (Compressed)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.cpool_file_repeat
0
10d
BackupPC
POST
-
BackupPC - Pool File Repeat Max (Compressed)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.cpool_file_repeat_max
0
10d
BackupPC
POST
-
BackupPC - Pool Size (Compressed)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.cpool_size
0
10d
B
BackupPC
MULTIPLIER
1024
POST
-
BackupPC - Hosts with full age more than 1 week
TRAP
backuppc.hosts_full_age
0
0
TEXT
BackupPC
POST
{str(NONE)}=0
BackupPC - {HOSTNAME} have hosts with full backup older than 1 week
HIGH
BackupPC has some hosts missing weekly full backup. Please take action to correct.
-
BackupPC - Full Backup Count
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_full_count
0
10d
BackupPC
POST
-
BackupPC - Full Backup Size
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_full_size
0
10d
B
BackupPC
POST
-
BackupPC - Average Backup Speed (Full)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_full_speed
0
10d
0
FLOAT
B/sec
BackupPC
POST
-
BackupPC - Incremental Backup Count
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_incr_count
0
10d
BackupPC
POST
-
BackupPC - Incremental Backup Size
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_incr_size
0
10d
B
BackupPC
POST
-
BackupPC - Average Backup Speed (Incremental)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_incr_speed
0
10d
0
FLOAT
B/sec
BackupPC
POST
-
BackupPC - Hosts with No backups (2 Days)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_nobackup_2
0
10d
0
TEXT
uptime
BackupPC
POST
-
BackupPC - Hosts with No backups (3 Days)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_nobackup_3
0
10d
0
TEXT
uptime
BackupPC
POST
-
BackupPC - Hosts with No backups (4 Days)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_nobackup_4
0
10d
0
TEXT
uptime
BackupPC
POST
-
BackupPC - Hosts with No backups (5 Days)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.hosts_nobackup_5
0
10d
0
TEXT
uptime
BackupPC
POST
{str(NONE)}=0
BackupPC - Host without Backups (5 Days)
HIGH
There are some hosts that have not been backed up in 5 Days, this should be checked immediately.
-
BackupPC - Jobs (Full Backup)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.jobs_full
0
10d
BackupPC
POST
-
BackupPC - Jobs (Incremental Backup)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.jobs_incr
0
10d
BackupPC
POST
-
BackupPC - Jobs (Other Backup)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.jobs_other
0
10d
BackupPC
POST
-
BackupPC - Pool Directory Count
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.pool_dir_count
0
10d
BackupPC
POST
-
BackupPC - Pool File Count
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.pool_file_count
0
10d
BackupPC
POST
-
BackupPC - Pool File Max Links
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.pool_file_link_max
0
10d
BackupPC
POST
-
BackupPC - Pool File Repeat
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.pool_file_repeat
0
10d
BackupPC
POST
-
BackupPC - Pool File Repeat Max
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.pool_file_repeat_max
0
10d
BackupPC
POST
-
BackupPC - Pool Size
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.pool_size
0
10d
kbytes
BackupPC
MULTIPLIER
1024
POST
-
BackupPC - Queue (Background)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.queue_background
0
10d
BackupPC
POST
-
BackupPC - Queue (Command)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.queue_command
0
10d
BackupPC
POST
-
BackupPC - Queue (User)
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.queue_user
0
10d
BackupPC
POST
-
BackupPC - Uptime
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.uptime
0
10d
uptime
BackupPC
POST
-
BackupPC - Version
TRAP
public
interfaces.ifTable.ifEntry.ifInOctets.1
backuppc.version
0
10d
0
TEXT
uptime
BackupPC
POST
-
BackupPC - Memory Usage
ZABBIX_ACTIVE
public
interfaces.ifTable.ifEntry.ifInOctets.1
proc.mem[,backuppc]
120
FLOAT
B
BackupPC
POST
-
BackupPC - BackupPC Process
ZABBIX_ACTIVE
public
interfaces.ifTable.ifEntry.ifInOctets.1
proc.num[BackupPC]
120
BackupPC
POST
{sum(#3)}=0
BackupPC - Server not Running
AVERAGE
The BackupPC process it not running, try restarting the service.
-
BackupPC - BackupPC_dump Process
ZABBIX_ACTIVE
public
interfaces.ifTable.ifEntry.ifInOctets.1
proc.num[BackupPC_dump]
120
BackupPC
POST
-
BackupPC - BackupPC_link Process
ZABBIX_ACTIVE
public
interfaces.ifTable.ifEntry.ifInOctets.1
proc.num[BackupPC_link]
120
BackupPC
POST
-
BackupPC - Collect Data
ZABBIX_ACTIVE
system.run["docker exec -u backuppc -t backuppc bash -c '/home/backuppc/scripts/zabbix-backuppc.pl"]
300
BackupPC
POST
-
BackupPC - BackupPC_nightly Process
ZABBIX_ACTIVE
system.run["docker exec -u backuppc -t backuppc bash -c 'ps waux | grep BackupPC_nightly | grep -v grep | wc -l'"]
120
BackupPC
POST
Discover backup hosts
system.run["docker exec -u backuppc -t backuppc bash -c '/home/backuppc/scripts/zabbix-discover-backuppc.pl'"]
30
{#BACKUPHOST}
.*
A
{#BACKUPHOST} full backup age
TRAP
backuppc.fullage[{#BACKUPHOST}]
0
FLOAT
days
BackupPC - backups
POST
{last()}>{$BACKUPPC_FULL_AGE_MAX_DAYS:"{#BACKUPHOST}"}
{#BACKUPHOST} has full backup older than {$BACKUPPC_FULL_AGE_MAX_DAYS:"{#BACKUPHOST}"} days
WARNING
{#BACKUPHOST} full backup BadFile
TRAP
backuppc.fullbadfile[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has bad file in full backup
WARNING
{#BACKUPHOST} full backup BadShare
TRAP
backuppc.fullbadshare[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has bad share in full backup
WARNING
{#BACKUPHOST} full backup duration
TRAP
backuppc.fulldur[{#BACKUPHOST}]
0
FLOAT
s
BackupPC - backups
POST
{#BACKUPHOST} full backup xfer errors
TRAP
backuppc.fullerrs[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has error in full backup
WARNING
{#BACKUPHOST} full backup size
TRAP
backuppc.fullsize[{#BACKUPHOST}]
0
B
BackupPC - backups
POST
{#BACKUPHOST} full backup tar errors
TRAP
backuppc.fulltarerrs[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has tar error in full backup
WARNING
{#BACKUPHOST} incremental backup age
TRAP
backuppc.incrage[{#BACKUPHOST}]
0
FLOAT
days
BackupPC - backups
POST
{last()}>{$BACKUPPC_INCR_AGE_MAX_DAYS:"{#BACKUPHOST}"}
{#BACKUPHOST} has INCR backup older than {$BACKUPPC_INCR_AGE_MAX_DAYS:"{#BACKUPHOST}"} days
WARNING
{#BACKUPHOST} incremental backup BadFile
TRAP
backuppc.incrbadfile[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has bad file in incremental backup
WARNING
{#BACKUPHOST} incremental backup BadShare
TRAP
backuppc.incrbadshare[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has bad share in incremental backup
WARNING
{#BACKUPHOST} incremental backup duration
TRAP
backuppc.incrdur[{#BACKUPHOST}]
0
FLOAT
s
BackupPC - backups
POST
{#BACKUPHOST} incremental backup xfer errors
TRAP
backuppc.increrrs[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has error in incremental backup
WARNING
{#BACKUPHOST} incremental backup size
TRAP
backuppc.incrsize[{#BACKUPHOST}]
0
B
BackupPC - backups
POST
{#BACKUPHOST} incremental backup tar errors
TRAP
backuppc.incrtarerrs[{#BACKUPHOST}]
0
FLOAT
p
BackupPC - backups
POST
{last()}>0
{#BACKUPHOST} has tar error in incremental backup
WARNING
POST
{$BACKUPPC_FULL_AGE_MAX_DAYS}
8
{$BACKUPPC_INCR_AGE_MAX_DAYS}
2
{Template App BackupPC:backuppc.hosts_nobackup_2.str(NONE)}=0 and {Template App BackupPC:backuppc.hosts_nobackup_3.str(NONE)}<>0 and {Template App BackupPC:backuppc.hosts_nobackup_4.str(NONE)}<>0 and {Template App BackupPC:backuppc.hosts_nobackup_5.str(NONE)}<>0
BackupPC - Host without Backups (2 Days)
INFO
There are some hosts that have not been backed up in 2 Days, while this is not a problem it should be monitored.
{Template App BackupPC:backuppc.hosts_nobackup_3.str(NONE)}=0 and {Template App BackupPC:backuppc.hosts_nobackup_4.str(NONE)}<>0 and {Template App BackupPC:backuppc.hosts_nobackup_5.str(NONE)}<>0
BackupPC - Host without Backups (3 Days)
WARNING
There are some hosts that have not been backed up in 3 Days, this should be checked soon.
{Template App BackupPC:backuppc.hosts_nobackup_4.str(NONE)}=0 and {Template App BackupPC:backuppc.hosts_nobackup_5.str(NONE)}<>0
BackupPC - Host without Backups (4 Days)
AVERAGE
There are some hosts that have not been backed up in 4 Days, this should be checked immediately.