|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export version="1.0" date="07.01.12" time="01.17">
|
|
<hosts>
|
|
<host name="Template Server Database MySQL Slave">
|
|
<proxy_hostid>0</proxy_hostid>
|
|
<useip>1</useip>
|
|
<dns></dns>
|
|
<ip>127.0.0.1</ip>
|
|
<port>10050</port>
|
|
<status>3</status>
|
|
<useipmi>0</useipmi>
|
|
<ipmi_ip>127.0.0.1</ipmi_ip>
|
|
<ipmi_port>623</ipmi_port>
|
|
<ipmi_authtype>0</ipmi_authtype>
|
|
<ipmi_privilege>2</ipmi_privilege>
|
|
<ipmi_username></ipmi_username>
|
|
<ipmi_password></ipmi_password>
|
|
<groups>
|
|
<group>Servers</group>
|
|
</groups>
|
|
<triggers>
|
|
<trigger>
|
|
<description>MySQL Slave is not catching up</description>
|
|
<type>0</type>
|
|
<expression>{Template Server Database MySQL Slave:mysql.slave_status[Seconds_Behind_Master].min(300)}>2000</expression>
|
|
<url></url>
|
|
<status>0</status>
|
|
<priority>3</priority>
|
|
<comments></comments>
|
|
</trigger>
|
|
<trigger>
|
|
<description>MySQL Slave IO process down</description>
|
|
<type>0</type>
|
|
<expression>{Template Server Database MySQL Slave:mysql.slave_status[Slave_IO_Running].str(Yes)}=0</expression>
|
|
<url></url>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<comments></comments>
|
|
</trigger>
|
|
<trigger>
|
|
<description>MySQL Slave SQL process down</description>
|
|
<type>0</type>
|
|
<expression>{Template Server Database MySQL Slave:mysql.slave_status[Slave_SQL_Running].str(Yes)}=0</expression>
|
|
<url></url>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<comments></comments>
|
|
</trigger>
|
|
</triggers>
|
|
<items>
|
|
<item type="0" key="mysql.slave_status[Seconds_Behind_Master]" value_type="3">
|
|
<description>MySQL Slave Delay</description>
|
|
<ipmi_sensor></ipmi_sensor>
|
|
<delay>300</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<data_type>0</data_type>
|
|
<units>s</units>
|
|
<multiplier>0</multiplier>
|
|
<delta>0</delta>
|
|
<formula>0</formula>
|
|
<lastlogsize>0</lastlogsize>
|
|
<logtimefmt></logtimefmt>
|
|
<delay_flex></delay_flex>
|
|
<authtype>0</authtype>
|
|
<username></username>
|
|
<password></password>
|
|
<publickey></publickey>
|
|
<privatekey></privatekey>
|
|
<params></params>
|
|
<trapper_hosts>localhost</trapper_hosts>
|
|
<snmp_community></snmp_community>
|
|
<snmp_oid></snmp_oid>
|
|
<snmp_port>161</snmp_port>
|
|
<snmpv3_securityname></snmpv3_securityname>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authpassphrase></snmpv3_authpassphrase>
|
|
<snmpv3_privpassphrase></snmpv3_privpassphrase>
|
|
<valuemapid>0</valuemapid>
|
|
<applications>
|
|
<application>mysql</application>
|
|
</applications>
|
|
</item>
|
|
<item type="0" key="mysql.slave_status[Slave_IO_Running]" value_type="1">
|
|
<description>MySQL Slave IO Running</description>
|
|
<ipmi_sensor></ipmi_sensor>
|
|
<delay>300</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<data_type>0</data_type>
|
|
<units></units>
|
|
<multiplier>0</multiplier>
|
|
<delta>0</delta>
|
|
<formula>0</formula>
|
|
<lastlogsize>0</lastlogsize>
|
|
<logtimefmt></logtimefmt>
|
|
<delay_flex></delay_flex>
|
|
<authtype>0</authtype>
|
|
<username></username>
|
|
<password></password>
|
|
<publickey></publickey>
|
|
<privatekey></privatekey>
|
|
<params></params>
|
|
<trapper_hosts>localhost</trapper_hosts>
|
|
<snmp_community></snmp_community>
|
|
<snmp_oid></snmp_oid>
|
|
<snmp_port>161</snmp_port>
|
|
<snmpv3_securityname></snmpv3_securityname>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authpassphrase></snmpv3_authpassphrase>
|
|
<snmpv3_privpassphrase></snmpv3_privpassphrase>
|
|
<valuemapid>0</valuemapid>
|
|
<applications>
|
|
<application>mysql</application>
|
|
</applications>
|
|
</item>
|
|
<item type="0" key="mysql.slave_status[Slave_SQL_Running]" value_type="1">
|
|
<description>MySQL Slave SQL Running</description>
|
|
<ipmi_sensor></ipmi_sensor>
|
|
<delay>300</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<data_type>0</data_type>
|
|
<units></units>
|
|
<multiplier>0</multiplier>
|
|
<delta>0</delta>
|
|
<formula>0</formula>
|
|
<lastlogsize>0</lastlogsize>
|
|
<logtimefmt></logtimefmt>
|
|
<delay_flex></delay_flex>
|
|
<authtype>0</authtype>
|
|
<username></username>
|
|
<password></password>
|
|
<publickey></publickey>
|
|
<privatekey></privatekey>
|
|
<params></params>
|
|
<trapper_hosts>localhost</trapper_hosts>
|
|
<snmp_community></snmp_community>
|
|
<snmp_oid></snmp_oid>
|
|
<snmp_port>161</snmp_port>
|
|
<snmpv3_securityname></snmpv3_securityname>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authpassphrase></snmpv3_authpassphrase>
|
|
<snmpv3_privpassphrase></snmpv3_privpassphrase>
|
|
<valuemapid>0</valuemapid>
|
|
<applications>
|
|
<application>mysql</application>
|
|
</applications>
|
|
</item>
|
|
</items>
|
|
<templates/>
|
|
<graphs>
|
|
<graph name="MySQL Replication Delay" width="900" height="200">
|
|
<ymin_type>1</ymin_type>
|
|
<ymax_type>0</ymax_type>
|
|
<ymin_item_key></ymin_item_key>
|
|
<ymax_item_key></ymax_item_key>
|
|
<show_work_period>0</show_work_period>
|
|
<show_triggers>1</show_triggers>
|
|
<graphtype>0</graphtype>
|
|
<yaxismin>0.0000</yaxismin>
|
|
<yaxismax>100.0000</yaxismax>
|
|
<show_legend>0</show_legend>
|
|
<show_3d>0</show_3d>
|
|
<percent_left>0.0000</percent_left>
|
|
<percent_right>0.0000</percent_right>
|
|
<graph_elements>
|
|
<graph_element item="Template Server Database MySQL Slave:mysql.slave_status[Seconds_Behind_Master]">
|
|
<drawtype>0</drawtype>
|
|
<sortorder>0</sortorder>
|
|
<color>009900</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>2</calc_fnc>
|
|
<type>0</type>
|
|
<periods_cnt>5</periods_cnt>
|
|
</graph_element>
|
|
</graph_elements>
|
|
</graph>
|
|
</graphs>
|
|
<macros/>
|
|
</host>
|
|
</hosts>
|
|
<dependencies/>
|
|
</zabbix_export>
|