|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>2.0</version>
|
|
<date>2015-02-12T23:42:52Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>GNU/Linux servers</name>
|
|
</group>
|
|
<group>
|
|
<name>Servers</name>
|
|
</group>
|
|
<group>
|
|
<name>Templates</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Template App Database MySQL Slave</template>
|
|
<name>Template App Database MySQL Slave</name>
|
|
<groups>
|
|
<group>
|
|
<name>GNU/Linux servers</name>
|
|
</group>
|
|
<group>
|
|
<name>Servers</name>
|
|
</group>
|
|
<group>
|
|
<name>Templates</name>
|
|
</group>
|
|
</groups>
|
|
<applications/>
|
|
<items>
|
|
<item>
|
|
<name>MySQL Slave Delay</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>mysql.slave_status[Seconds_Behind_Master]</key>
|
|
<delay>300</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts>localhost</allowed_hosts>
|
|
<units>s</units>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>0</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>MySQL</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>MySQL Slave IO Running</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>mysql.slave_status[Slave_IO_Running]</key>
|
|
<delay>300</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>1</value_type>
|
|
<allowed_hosts>localhost</allowed_hosts>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>0</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>MySQL</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>MySQL Slave SQL Running</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>mysql.slave_status[Slave_SQL_Running]</key>
|
|
<delay>300</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>1</value_type>
|
|
<allowed_hosts>localhost</allowed_hosts>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>0</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>MySQL</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
</items>
|
|
<discovery_rules/>
|
|
<macros/>
|
|
<templates>
|
|
<template>
|
|
<name>Template App Database MySQL</name>
|
|
</template>
|
|
</templates>
|
|
<screens>
|
|
<screen>
|
|
<name>MySQL Slave</name>
|
|
<hsize>1</hsize>
|
|
<vsize>1</vsize>
|
|
<screen_items>
|
|
<screen_item>
|
|
<resourcetype>0</resourcetype>
|
|
<width>500</width>
|
|
<height>100</height>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<colspan>1</colspan>
|
|
<rowspan>1</rowspan>
|
|
<elements>0</elements>
|
|
<valign>0</valign>
|
|
<halign>0</halign>
|
|
<style>0</style>
|
|
<url/>
|
|
<dynamic>0</dynamic>
|
|
<sort_triggers>0</sort_triggers>
|
|
<resource>
|
|
<name>MySQL Replication Delay</name>
|
|
<host>Template App Database MySQL Slave</host>
|
|
</resource>
|
|
<application/>
|
|
</screen_item>
|
|
</screen_items>
|
|
</screen>
|
|
</screens>
|
|
</template>
|
|
</templates>
|
|
<triggers>
|
|
<trigger>
|
|
<expression>{Template App Database MySQL Slave:mysql.slave_status[Slave_IO_Running].str(Yes)}=0</expression>
|
|
<name>MySQL Slave IO process down</name>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<dependencies/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Template App Database MySQL Slave:mysql.slave_status[Seconds_Behind_Master].min(300)}>2000</expression>
|
|
<name>MySQL Slave is not catching up</name>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>3</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<dependencies/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Template App Database MySQL Slave:mysql.slave_status[Slave_SQL_Running].str(Yes)}=0</expression>
|
|
<name>MySQL Slave SQL process down</name>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<dependencies/>
|
|
</trigger>
|
|
</triggers>
|
|
<graphs>
|
|
<graph>
|
|
<name>MySQL Replication Delay</name>
|
|
<width>900</width>
|
|
<height>200</height>
|
|
<yaxismin>0.0000</yaxismin>
|
|
<yaxismax>100.0000</yaxismax>
|
|
<show_work_period>0</show_work_period>
|
|
<show_triggers>1</show_triggers>
|
|
<type>0</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>1</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>009900</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>2</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Template App Database MySQL Slave</host>
|
|
<key>mysql.slave_status[Seconds_Behind_Master]</key>
|
|
</item>
|
|
</graph_item>
|
|
</graph_items>
|
|
</graph>
|
|
</graphs>
|
|
</zabbix_export>
|