mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 13:23:12 +01:00
271 lines
10 KiB
XML
Executable File
271 lines
10 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>3.4</version>
|
|
<date>2018-02-02T19:03:49Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>DB - Backup</name>
|
|
</group>
|
|
<group>
|
|
<name>Templates</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Service - DB Backup</template>
|
|
<name>Service - DB Backup</name>
|
|
<description/>
|
|
<groups>
|
|
<group>
|
|
<name>DB - Backup</name>
|
|
</group>
|
|
<group>
|
|
<name>Templates</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>DB Backup</name>
|
|
</application>
|
|
</applications>
|
|
<items>
|
|
<item>
|
|
<name>Backup Time</name>
|
|
<type>2</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>dbbackup.datetime</key>
|
|
<delay>0</delay>
|
|
<history>365d</history>
|
|
<trends>365d</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units>unixtime</units>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>DB Backup</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<master_item/>
|
|
</item>
|
|
<item>
|
|
<name>Backup Size</name>
|
|
<type>2</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>dbbackup.size</key>
|
|
<delay>0</delay>
|
|
<history>365d</history>
|
|
<trends>365d</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units>byte</units>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>DB Backup</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<preprocessing/>
|
|
<jmx_endpoint/>
|
|
<master_item/>
|
|
</item>
|
|
</items>
|
|
<discovery_rules/>
|
|
<httptests/>
|
|
<macros/>
|
|
<templates/>
|
|
<screens/>
|
|
</template>
|
|
</templates>
|
|
<triggers>
|
|
<trigger>
|
|
<expression>{Service - DB Backup:dbbackup.size.change()}>20</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>DB Backup is 20% Greater in Size</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>2</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>1</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Service - DB Backup:dbbackup.size.change()}<20</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>DB Backup is 20% Smaller in Size</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>2</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>1</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Service - DB Backup:dbbackup.size.last()}<1K</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>DB Backup is empty</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Service - DB Backup:dbbackup.datetime.fuzzytime(172800)}=0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(259200)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(345600)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(432800)}<>0</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>No Backups occurred in 2 days</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>3</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Service - DB Backup:dbbackup.datetime.fuzzytime(172800)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(259200)}=0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(345600)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(432800)}<>0</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>No Backups occurred in 3 days</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>3</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Service - DB Backup:dbbackup.datetime.fuzzytime(172800)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(259200)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(345600)}=0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(432800)}<>0</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>No Backups occurred in 4 days</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>3</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Service - DB Backup:dbbackup.datetime.fuzzytime(172800)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(259200)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(345600)}<>0 and {Service - DB Backup:dbbackup.datetime.fuzzytime(432800)}=0</expression>
|
|
<recovery_mode>0</recovery_mode>
|
|
<recovery_expression/>
|
|
<name>No Backups occurred in 5 days or more</name>
|
|
<correlation_mode>0</correlation_mode>
|
|
<correlation_tag/>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<manual_close>0</manual_close>
|
|
<dependencies/>
|
|
<tags/>
|
|
</trigger>
|
|
</triggers>
|
|
<graphs>
|
|
<graph>
|
|
<name>Backup Size</name>
|
|
<width>900</width>
|
|
<height>200</height>
|
|
<yaxismin>0.0000</yaxismin>
|
|
<yaxismax>100.0000</yaxismax>
|
|
<show_work_period>1</show_work_period>
|
|
<show_triggers>1</show_triggers>
|
|
<type>1</type>
|
|
<show_legend>1</show_legend>
|
|
<show_3d>0</show_3d>
|
|
<percent_left>0.0000</percent_left>
|
|
<percent_right>0.0000</percent_right>
|
|
<ymin_type_1>0</ymin_type_1>
|
|
<ymax_type_1>0</ymax_type_1>
|
|
<ymin_item_1>0</ymin_item_1>
|
|
<ymax_item_1>0</ymax_item_1>
|
|
<graph_items>
|
|
<graph_item>
|
|
<sortorder>0</sortorder>
|
|
<drawtype>0</drawtype>
|
|
<color>1A7C11</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>2</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Service - DB Backup</host>
|
|
<key>dbbackup.size</key>
|
|
</item>
|
|
</graph_item>
|
|
</graph_items>
|
|
</graph>
|
|
</graphs>
|
|
</zabbix_export>
|