zabbix-backuppc/zabbix-templates/zabbix-backuppc-template.xml

970 lines
46 KiB
XML
Raw Normal View History

2015-03-07 21:26:49 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-04-14T22:24:39Z</date>
2015-03-07 21:26:49 +01:00
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App BackupPC</template>
<name>Template App BackupPC</name>
<description>Based on our fork : https://git.antipode.net/antipode.info/zabbix-backuppc</description>
2015-03-07 21:26:49 +01:00
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>BackupPC</name>
</application>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<items>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Config Uptime</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.config_load_time</key>
<delay>0</delay>
<history>10d</history>
<units>uptime</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool Directory Count (Compressed)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.cpool_dir_count</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Count (Compressed)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.cpool_file_count</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Max Links (Compressed)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.cpool_file_link_max</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Repeat (Compressed)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.cpool_file_repeat</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Repeat Max (Compressed)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.cpool_file_repeat_max</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool Size (Compressed)</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
<key>backuppc.cpool_size</key>
<delay>0</delay>
<history>10d</history>
<units>B</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
2019-04-18 19:30:26 +02:00
<preprocessing>
<step>
<type>MULTIPLIER</type>
2019-04-18 19:30:26 +02:00
<params>1024</params>
</step>
</preprocessing>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Hosts with full age more than 1 week</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_full_age</key>
<delay>0</delay>
<trends>0</trends>
<value_type>TEXT</value_type>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{str(NONE)}=0</expression>
<name>BackupPC - {HOSTNAME} have hosts with full backup older than 1 week</name>
<priority>HIGH</priority>
<description>BackupPC has some hosts missing weekly full backup. Please take action to correct.</description>
</trigger>
</triggers>
2015-03-07 21:26:49 +01:00
</item>
<item>
<name>BackupPC - Full Backup Count</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
<key>backuppc.hosts_full_count</key>
2019-04-18 19:30:26 +02:00
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
<name>BackupPC - Full Backup Size</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
<key>backuppc.hosts_full_size</key>
2019-04-18 19:30:26 +02:00
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<units>B</units>
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Average Backup Speed (Full)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_full_speed</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<trends>0</trends>
<value_type>FLOAT</value_type>
2019-04-18 19:30:26 +02:00
<units>B/sec</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Incremental Backup Count</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_incr_count</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Incremental Backup Size</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_incr_size</key>
<delay>0</delay>
<history>10d</history>
<units>B</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Average Backup Speed (Incremental)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_incr_speed</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<trends>0</trends>
<value_type>FLOAT</value_type>
2019-04-18 19:30:26 +02:00
<units>B/sec</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Hosts with No backups (2 Days)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_nobackup_2</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<trends>0</trends>
<value_type>TEXT</value_type>
2015-03-07 21:26:49 +01:00
<units>uptime</units>
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Hosts with No backups (3 Days)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_nobackup_3</key>
<delay>0</delay>
<history>10d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
2019-04-18 19:30:26 +02:00
<units>uptime</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Hosts with No backups (4 Days)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_nobackup_4</key>
<delay>0</delay>
<history>10d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
2019-04-18 19:30:26 +02:00
<units>uptime</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Hosts with No backups (5 Days)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.hosts_nobackup_5</key>
<delay>0</delay>
<history>10d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
2019-04-18 19:30:26 +02:00
<units>uptime</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{str(NONE)}=0</expression>
<name>BackupPC - Host without Backups (5 Days)</name>
<priority>HIGH</priority>
<description>There are some hosts that have not been backed up in 5 Days, this should be checked immediately.</description>
</trigger>
</triggers>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Jobs (Full Backup)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.jobs_full</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Jobs (Incremental Backup)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.jobs_incr</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Jobs (Other Backup)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.jobs_other</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
<name>BackupPC - Pool Directory Count</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
<key>backuppc.pool_dir_count</key>
2019-04-18 19:30:26 +02:00
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Count</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.pool_file_count</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Max Links</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.pool_file_link_max</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Repeat</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.pool_file_repeat</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool File Repeat Max</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.pool_file_repeat_max</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Pool Size</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.pool_size</key>
<delay>0</delay>
<history>10d</history>
<units>kbytes</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
2019-04-18 19:30:26 +02:00
<preprocessing>
<step>
<type>MULTIPLIER</type>
2019-04-18 19:30:26 +02:00
<params>1024</params>
</step>
</preprocessing>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Queue (Background)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.queue_background</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Queue (Command)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.queue_command</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Queue (User)</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.queue_user</key>
<delay>0</delay>
<history>10d</history>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Uptime</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.uptime</key>
<delay>0</delay>
<history>10d</history>
<units>uptime</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Version</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>backuppc.version</key>
<delay>0</delay>
<history>10d</history>
<trends>0</trends>
<value_type>TEXT</value_type>
2019-04-18 19:30:26 +02:00
<units>uptime</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - Memory Usage</name>
<type>ZABBIX_ACTIVE</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>proc.mem[,backuppc]</key>
<delay>120</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>B</units>
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - BackupPC Process</name>
<type>ZABBIX_ACTIVE</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>proc.num[BackupPC]</key>
<delay>120</delay>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
<triggers>
<trigger>
<expression>{sum(#3)}=0</expression>
<name>BackupPC - Server not Running</name>
<priority>AVERAGE</priority>
<description>The BackupPC process it not running, try restarting the service.</description>
</trigger>
</triggers>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - BackupPC_dump Process</name>
<type>ZABBIX_ACTIVE</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>proc.num[BackupPC_dump]</key>
<delay>120</delay>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
2019-04-18 19:30:26 +02:00
<name>BackupPC - BackupPC_link Process</name>
<type>ZABBIX_ACTIVE</type>
2015-03-07 21:26:49 +01:00
<snmp_community>public</snmp_community>
<snmp_oid>interfaces.ifTable.ifEntry.ifInOctets.1</snmp_oid>
2019-04-18 19:30:26 +02:00
<key>proc.num[BackupPC_link]</key>
<delay>120</delay>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
<name>BackupPC - Collect Data</name>
<type>ZABBIX_ACTIVE</type>
<key>system.run[&quot;docker exec -u backuppc -t backuppc bash -c '/home/backuppc/scripts/zabbix-backuppc.pl&quot;]</key>
<delay>300</delay>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
<item>
<name>BackupPC - BackupPC_nightly Process</name>
<type>ZABBIX_ACTIVE</type>
<key>system.run[&quot;docker exec -u backuppc -t backuppc bash -c 'ps waux | grep BackupPC_nightly | grep -v grep | wc -l'&quot;]</key>
<delay>120</delay>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Discover backup hosts</name>
<key>system.run[&quot;docker exec -u backuppc -t backuppc bash -c '/home/backuppc/scripts/zabbix-discover-backuppc.pl'&quot;]</key>
2015-03-07 21:26:49 +01:00
<delay>30</delay>
<filter>
<conditions>
<condition>
<macro>{#BACKUPHOST}</macro>
<value>.*</value>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<item_prototypes>
<item_prototype>
<name>{#BACKUPHOST} full backup age</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.fullage[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>days</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;{$BACKUPPC_FULL_AGE_MAX_DAYS:&quot;{#BACKUPHOST}&quot;}</expression>
<name>{#BACKUPHOST} has full backup older than {$BACKUPPC_FULL_AGE_MAX_DAYS:&quot;{#BACKUPHOST}&quot;} days</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
<name>{#BACKUPHOST} full backup BadFile</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.fullbadfile[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>p</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has bad file in full backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
<name>{#BACKUPHOST} full backup BadShare</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.fullbadshare[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>p</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has bad share in full backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
<name>{#BACKUPHOST} full backup duration</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.fulldur[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>s</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
2019-04-18 19:30:26 +02:00
<name>{#BACKUPHOST} full backup xfer errors</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<key>backuppc.fullerrs[{#BACKUPHOST}]</key>
2015-03-07 21:26:49 +01:00
<delay>0</delay>
<value_type>FLOAT</value_type>
2019-04-18 19:30:26 +02:00
<units>p</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has error in full backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
2019-04-18 19:30:26 +02:00
<name>{#BACKUPHOST} full backup size</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<key>backuppc.fullsize[{#BACKUPHOST}]</key>
2015-03-07 21:26:49 +01:00
<delay>0</delay>
<units>B</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
2019-04-18 19:30:26 +02:00
<name>{#BACKUPHOST} full backup tar errors</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<key>backuppc.fulltarerrs[{#BACKUPHOST}]</key>
2015-03-07 21:26:49 +01:00
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>p</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has tar error in full backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
<name>{#BACKUPHOST} incremental backup age</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.incrage[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>days</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;{$BACKUPPC_INCR_AGE_MAX_DAYS:&quot;{#BACKUPHOST}&quot;}</expression>
<name>{#BACKUPHOST} has INCR backup older than {$BACKUPPC_INCR_AGE_MAX_DAYS:&quot;{#BACKUPHOST}&quot;} days</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
<name>{#BACKUPHOST} incremental backup BadFile</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.incrbadfile[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>p</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has bad file in incremental backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
<name>{#BACKUPHOST} incremental backup BadShare</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.incrbadshare[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>p</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has bad share in incremental backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
<name>{#BACKUPHOST} incremental backup duration</name>
<type>TRAP</type>
2015-03-07 21:26:49 +01:00
<key>backuppc.incrdur[{#BACKUPHOST}]</key>
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>s</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
2019-04-18 19:30:26 +02:00
<name>{#BACKUPHOST} incremental backup xfer errors</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<key>backuppc.increrrs[{#BACKUPHOST}]</key>
2015-03-07 21:26:49 +01:00
<delay>0</delay>
<value_type>FLOAT</value_type>
2019-04-18 19:30:26 +02:00
<units>p</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has error in incremental backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
2019-04-18 19:30:26 +02:00
<name>{#BACKUPHOST} incremental backup size</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<key>backuppc.incrsize[{#BACKUPHOST}]</key>
2015-03-07 21:26:49 +01:00
<delay>0</delay>
<units>B</units>
2015-03-07 21:26:49 +01:00
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</item_prototype>
<item_prototype>
2019-04-18 19:30:26 +02:00
<name>{#BACKUPHOST} incremental backup tar errors</name>
<type>TRAP</type>
2019-04-18 19:30:26 +02:00
<key>backuppc.incrtarerrs[{#BACKUPHOST}]</key>
2015-03-07 21:26:49 +01:00
<delay>0</delay>
<value_type>FLOAT</value_type>
2015-03-07 21:26:49 +01:00
<units>p</units>
<applications>
<application>
<name>BackupPC - backups</name>
</application>
</applications>
<request_method>POST</request_method>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}&gt;0</expression>
<name>{#BACKUPHOST} has tar error in incremental backup</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
2015-03-07 21:26:49 +01:00
</item_prototype>
</item_prototypes>
<request_method>POST</request_method>
2015-03-07 21:26:49 +01:00
</discovery_rule>
</discovery_rules>
2019-04-18 19:30:26 +02:00
<macros>
<macro>
<macro>{$BACKUPPC_FULL_AGE_MAX_DAYS}</macro>
<value>8</value>
</macro>
<macro>
<macro>{$BACKUPPC_INCR_AGE_MAX_DAYS}</macro>
<value>2</value>
</macro>
</macros>
2015-03-07 21:26:49 +01:00
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App BackupPC:backuppc.hosts_nobackup_2.str(NONE)}=0 and {Template App BackupPC:backuppc.hosts_nobackup_3.str(NONE)}&lt;&gt;0 and {Template App BackupPC:backuppc.hosts_nobackup_4.str(NONE)}&lt;&gt;0 and {Template App BackupPC:backuppc.hosts_nobackup_5.str(NONE)}&lt;&gt;0</expression>
2015-03-07 21:26:49 +01:00
<name>BackupPC - Host without Backups (2 Days)</name>
<priority>INFO</priority>
2015-03-07 21:26:49 +01:00
<description>There are some hosts that have not been backed up in 2 Days, while this is not a problem it should be monitored.</description>
</trigger>
<trigger>
<expression>{Template App BackupPC:backuppc.hosts_nobackup_3.str(NONE)}=0 and {Template App BackupPC:backuppc.hosts_nobackup_4.str(NONE)}&lt;&gt;0 and {Template App BackupPC:backuppc.hosts_nobackup_5.str(NONE)}&lt;&gt;0</expression>
2015-03-07 21:26:49 +01:00
<name>BackupPC - Host without Backups (3 Days)</name>
<priority>WARNING</priority>
2015-03-07 21:26:49 +01:00
<description>There are some hosts that have not been backed up in 3 Days, this should be checked soon.</description>
</trigger>
<trigger>
<expression>{Template App BackupPC:backuppc.hosts_nobackup_4.str(NONE)}=0 and {Template App BackupPC:backuppc.hosts_nobackup_5.str(NONE)}&lt;&gt;0</expression>
2015-03-07 21:26:49 +01:00
<name>BackupPC - Host without Backups (4 Days)</name>
<priority>AVERAGE</priority>
2015-03-07 21:26:49 +01:00
<description>There are some hosts that have not been backed up in 4 Days, this should be checked immediately.</description>
</trigger>
</triggers>
</zabbix_export>