5.0
2021-01-13T18:30:36Z
Templates
Template_App_BackupPC
Template_App_BackupPC
Templates
BackupPC
-
BackupPC: General info
backuppc.general
15m
0
0
TEXT
BackupPC
-
BackupPC: Total number of backups
DEPENDENT
backuppc.general[bkp]
0
60d
1825d
!backup(s)
BackupPC
JSONPATH
$.bkp
backuppc.general
-
BackupPC: Total full size
DEPENDENT
backuppc.general[full_size]
0
60d
1825d
B
BackupPC
JSONPATH
$.full_size
backuppc.general
-
BackupPC: Total history size
DEPENDENT
backuppc.general[history_size]
0
60d
1825d
B
BackupPC
JSONPATH
$.history_size
backuppc.general
-
BackupPC: Total number of hosts
DEPENDENT
backuppc.general[hosts]
0
60d
1825d
!host(s)
BackupPC
JSONPATH
$.hosts
backuppc.general
-
BackupPC: Global perf score
DEPENDENT
backuppc.general[perf]
0
60d
1825d
FLOAT
BackupPC
JSONPATH
$.perf
backuppc.general
-
BackupPC: Global compression ratio
DEPENDENT
backuppc.general[ratio]
0
60d
1825d
FLOAT
BackupPC
JSONPATH
$.ratio
backuppc.general
-
BackupPC: Total size
DEPENDENT
backuppc.general[total_size]
0
60d
1825d
B
BackupPC
JSONPATH
$.total_size
backuppc.general
-
Number of BackupPC processes
proc.num[,backuppc,,BackupPC]
10m
60d
730d
BackupPC
POST
-
Number of raidsync processes
proc.num[,root,,BackupPC_raidsync]
10m
60d
730d
BackupPC
POST
{sum({$EXT_BACKUPS})}<1 and {$EXT_BACKUPS} > 0
No recent copy on external support
WARNING
BackupPC: Entity discovery
backuppc.entity.discovery[]
2h
BackupPC: Number of backups for {#BPC_ENTITY}
DEPENDENT
backuppc.entity[{#BPC_ENTITY},bkp]
0
60d
1825d
BackupPC
JSONPATH
$.bkp
backuppc.entity[{#BPC_ENTITY}]
BackupPC: Sum of last full sizes for {#BPC_ENTITY}
DEPENDENT
backuppc.entity[{#BPC_ENTITY},full_size]
0
60d
1825d
o
BackupPC
JSONPATH
$.full_size
backuppc.entity[{#BPC_ENTITY}]
BackupPC: Sum of history sizes for {#BPC_ENTITY}
DEPENDENT
backuppc.entity[{#BPC_ENTITY},history_size]
0
60d
1825d
o
BackupPC
JSONPATH
$.history_size
backuppc.entity[{#BPC_ENTITY}]
BackupPC: Number of backed up hosts for {#BPC_ENTITY}
DEPENDENT
backuppc.entity[{#BPC_ENTITY},hosts]
0
60d
1825d
BackupPC
JSONPATH
$.hosts
backuppc.entity[{#BPC_ENTITY}]
BackupPC: Performance indicator for {#BPC_ENTITY}
DEPENDENT
backuppc.entity[{#BPC_ENTITY},perf]
0
60d
1825d
FLOAT
!h/j
BackupPC
JSONPATH
$.perf
backuppc.entity[{#BPC_ENTITY}]
BackupPC: Compression ratio for {#BPC_ENTITY}
DEPENDENT
backuppc.entity[{#BPC_ENTITY},ratio]
0
60d
1825d
FLOAT
%
BackupPC
JSONPATH
$.ratio
backuppc.entity[{#BPC_ENTITY}]
BackupPC: Total backups size for {#BPC_ENTITY}
DEPENDENT
backuppc.entity[{#BPC_ENTITY},size]
0
60d
1825d
o
BackupPC
JSONPATH
$.size
backuppc.entity[{#BPC_ENTITY}]
BackupPC: Info for entity {#BPC_ENTITY}
backuppc.entity[{#BPC_ENTITY}]
1800
0
0
TEXT
BackupPC
BackupPC: Entity {#BPC_ENTITY}: Compression ratio and perf
FIXED
GRADIENT_LINE
43A047
-
Template_App_BackupPC
backuppc.entity[{#BPC_ENTITY},size]
1
BOLD_LINE
FF0000
RIGHT
-
Template_App_BackupPC
backuppc.entity[{#BPC_ENTITY},ratio]
2
DASHED_LINE
0040FF
RIGHT
-
Template_App_BackupPC
backuppc.entity[{#BPC_ENTITY},perf]
BackupPC: Entity {#BPC_ENTITY}: Full / History sizes
STACKED
4000FF
-
Template_App_BackupPC
backuppc.entity[{#BPC_ENTITY},full_size]
1
4DD0E1
-
Template_App_BackupPC
backuppc.entity[{#BPC_ENTITY},history_size]
BackupPC: Hosts discovery
backuppc.host.discovery[]
2h;50s/1-7,00:00-24:00
OR
15d
BackupPC: {#BPCHOST}: Last backup age
DEPENDENT
backuppc.host[{#BPCHOST},age]
0
60d
1825d
s
BackupPC
JSONPATH
$.age
backuppc.host[{#BPCHOST},all]
BackupPC: Info de {#BPCHOST}
backuppc.host[{#BPCHOST},all]
15m
0
0
TEXT
BackupPC
BackupPC: {#BPCHOST}: Number of backups
DEPENDENT
backuppc.host[{#BPCHOST},bkp]
0
60d
1825d
!backups
BackupPC
JSONPATH
$.bkp
backuppc.host[{#BPCHOST},all]
BackuPPC: {#BPCHOST}: Compression ratio of last backup
DEPENDENT
backuppc.host[{#BPCHOST},comp_ratio]
0
60d
1825d
FLOAT
%
BackupPC
JSONPATH
$.comp_ratio
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Last backup duration
DEPENDENT
backuppc.host[{#BPCHOST},duration]
0
60d
1825d
s
BackupPC
JSONPATH
$.duration
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Backups status
DEPENDENT
backuppc.host[{#BPCHOST},enabled]
0
60d
1825d
BackupPC
JSONPATH
$.enabled
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Number of errors on last backup
DEPENDENT
backuppc.host[{#BPCHOST},errors]
0
60d
1825d
!errors
BackupPC
JSONPATH
$.errors
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Last full backup size
DEPENDENT
backuppc.host[{#BPCHOST},full_size]
0
60d
1825d
B
BackupPC
JSONPATH
$.full_size
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: History size
DEPENDENT
backuppc.host[{#BPCHOST},history_size]
0
60d
1825d
B
BackupPC
JSONPATH
$.history_size
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: New file size in last backup
DEPENDENT
backuppc.host[{#BPCHOST},new_size]
0
60d
1825d
B
BackupPC
JSONPATH
$.new_size
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Average new sizes
DEPENDENT
backuppc.host[{#BPCHOST},new_size_avg]
0
60d
1825d
B
BackupPC
JSONPATH
$.new_size_avg
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Median for new files sizes
DEPENDENT
backuppc.host[{#BPCHOST},new_size_median]
0
60d
1825d
B
BackupPC
JSONPATH
$.new_size_median
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: First quartile of new sizes
DEPENDENT
backuppc.host[{#BPCHOST},new_size_q1]
0
60d
1825d
B
BackupPC
JSONPATH
$.new_size_q1
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Third quartile of new sizes
DEPENDENT
backuppc.host[{#BPCHOST},new_size_q3]
0
60d
1825d
B
BackupPC
JSONPATH
$.new_size_q3
backuppc.host[{#BPCHOST},all]
BackupPC: {#BPCHOST}: Total backups size
DEPENDENT
backuppc.host[{#BPCHOST},total_size]
0
60d
1825d
B
BackupPC
JSONPATH
$.total_size
backuppc.host[{#BPCHOST},all]
{Template_App_BackupPC:backuppc.host[{#BPCHOST},age].last(0)}>{#BPCNOBACKUPWARNING}*24*3600 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},enabled].last()}=1
No backup for {#BPCHOST} since {ITEM.LASTVALUE1}
WARNING
{Template_App_BackupPC:backuppc.host[{#BPCHOST},enabled].last()}=1 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},bkp].last()}>4 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} > ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q3].last()} + ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q3].last()} - {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q1].last()}) * 1.5) and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} > {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_avg].last()}*{#BPC_TOO_BIG_FACTOR} and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].dayofweek()} <> 7 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].dayofweek()} <> 1 and ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].dayofweek()} <> 2 or {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].time()} > {$BPC_SIZE_WARN_FROM_HOUR})
RECOVERY_EXPRESSION
{Template_App_BackupPC:backuppc.host[{#BPCHOST},enabled].last()}=0 or {Template_App_BackupPC:backuppc.host[{#BPCHOST},bkp].last()}<=4 or {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} <= ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q3].last()} + ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q3].last()} - {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q1].last()}) * 1.5) or {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} <= {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_avg].last()}*{#BPC_TOO_BIG_FACTOR}
Suspiciously big ({ITEM.VALUE3}) backup for {#BPCHOST}
INFO
{#BPC_TOO_SMALL_FACTOR}>0 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},enabled].last()}=1 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},bkp].last()}>4 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} < ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q1].last()} - ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q3].last()} - {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q1].last()}) * 1.5) and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} < {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_avg].last()}/{#BPC_TOO_SMALL_FACTOR} and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].dayofweek()} <> 6 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].dayofweek()} <> 7 and {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].dayofweek()} <> 1 and ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].dayofweek()} <> 2 or {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].time()} > {$BPC_SIZE_WARN_FROM_HOUR})
RECOVERY_EXPRESSION
{#BPC_TOO_SMALL_FACTOR}<0 or {Template_App_BackupPC:backuppc.host[{#BPCHOST},enabled].last()}=0 or {Template_App_BackupPC:backuppc.host[{#BPCHOST},bkp].last()}<=4 or {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} >= ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q1].last()} - ({Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q3].last()} - {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_q1].last()}) * 1.5) or {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size].last()} >= {Template_App_BackupPC:backuppc.host[{#BPCHOST},new_size_avg].last()}/{#BPC_TOO_SMALL_FACTOR}
Suspiciously small ({ITEM.VALUE3}) backups for {#BPCHOST}
WARNING
{Template_App_BackupPC:backuppc.host[{#BPCHOST},errors].last(0)}>{#BPCMAXERROR} and {Template_App_BackupPC:backuppc.host[{#BPCHOST},enabled].last()}=1
{ITEM.LASTVALUE1} (xfer) in last backup of {#BPCHOST}
WARNING
BackupPC: Host {#BPCHOST}: Compression ratio and perf
FIXED
GRADIENT_LINE
43A047
-
Template_App_BackupPC
backuppc.host[{#BPCHOST},total_size]
1
BOLD_LINE
FF0000
RIGHT
-
Template_App_BackupPC
backuppc.host[{#BPCHOST},comp_ratio]
2
7E57C2
RIGHT
-
Template_App_BackupPC
backuppc.host[{#BPCHOST},duration]
BackupPC: Host {#BPCHOST}: Full / History sizes
STACKED
4000FF
-
Template_App_BackupPC
backuppc.host[{#BPCHOST},full_size]
1
4DD0E1
-
Template_App_BackupPC
backuppc.host[{#BPCHOST},history_size]
POST
{$BPC_SIZE_WARN_FROM_HOUR}
080000
Size alerts will only start after this hour
{$EXT_BACKUPS}
0
If set to a positive duration, can alert if no raidsync backups has been made recently
{Template_App_BackupPC:proc.num[,backuppc,,BackupPC].sum(#2)}=0 and {Template_App_BackupPC:proc.num[,root,,BackupPC_raidsync].sum(#2)}=0
BackupPC isn't running
AVERAGE