Project

General

Profile

Download (6.75 KB) Statistics
| Branch: | Revision:

root / Template_Server_Database_MySQL_Slave.xml @ 99db0045

1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export version="1.0" date="07.01.12" time="01.17">
3
  <hosts>
4
    <host name="Template Server Database MySQL Slave">
5
      <proxy_hostid>0</proxy_hostid>
6
      <useip>1</useip>
7
      <dns></dns>
8
      <ip>127.0.0.1</ip>
9
      <port>10050</port>
10
      <status>3</status>
11
      <useipmi>0</useipmi>
12
      <ipmi_ip>127.0.0.1</ipmi_ip>
13
      <ipmi_port>623</ipmi_port>
14
      <ipmi_authtype>0</ipmi_authtype>
15
      <ipmi_privilege>2</ipmi_privilege>
16
      <ipmi_username></ipmi_username>
17
      <ipmi_password></ipmi_password>
18
      <groups>
19
        <group>Servers</group>
20
      </groups>
21
      <triggers>
22
        <trigger>
23
          <description>MySQL Slave is not catching up</description>
24
          <type>0</type>
25
          <expression>{Template Server Database MySQL Slave:mysql.slave_status[Seconds_Behind_Master].min(300)}&gt;2000</expression>
26
          <url></url>
27
          <status>0</status>
28
          <priority>3</priority>
29
          <comments></comments>
30
        </trigger>
31
        <trigger>
32
          <description>MySQL Slave IO process down</description>
33
          <type>0</type>
34
          <expression>{Template Server Database MySQL Slave:mysql.slave_status[Slave_IO_Running].str(Yes)}=0</expression>
35
          <url></url>
36
          <status>0</status>
37
          <priority>4</priority>
38
          <comments></comments>
39
        </trigger>
40
        <trigger>
41
          <description>MySQL Slave SQL process down</description>
42
          <type>0</type>
43
          <expression>{Template Server Database MySQL Slave:mysql.slave_status[Slave_SQL_Running].str(Yes)}=0</expression>
44
          <url></url>
45
          <status>0</status>
46
          <priority>4</priority>
47
          <comments></comments>
48
        </trigger>
49
      </triggers>
50
      <items>
51
        <item type="0" key="mysql.slave_status[Seconds_Behind_Master]" value_type="3">
52
          <description>MySQL Slave Delay</description>
53
          <ipmi_sensor></ipmi_sensor>
54
          <delay>300</delay>
55
          <history>7</history>
56
          <trends>365</trends>
57
          <status>0</status>
58
          <data_type>0</data_type>
59
          <units>s</units>
60
          <multiplier>0</multiplier>
61
          <delta>0</delta>
62
          <formula>0</formula>
63
          <lastlogsize>0</lastlogsize>
64
          <logtimefmt></logtimefmt>
65
          <delay_flex></delay_flex>
66
          <authtype>0</authtype>
67
          <username></username>
68
          <password></password>
69
          <publickey></publickey>
70
          <privatekey></privatekey>
71
          <params></params>
72
          <trapper_hosts>localhost</trapper_hosts>
73
          <snmp_community></snmp_community>
74
          <snmp_oid></snmp_oid>
75
          <snmp_port>161</snmp_port>
76
          <snmpv3_securityname></snmpv3_securityname>
77
          <snmpv3_securitylevel>0</snmpv3_securitylevel>
78
          <snmpv3_authpassphrase></snmpv3_authpassphrase>
79
          <snmpv3_privpassphrase></snmpv3_privpassphrase>
80
          <valuemapid>0</valuemapid>
81
          <applications>
82
            <application>mysql</application>
83
          </applications>
84
        </item>
85
        <item type="0" key="mysql.slave_status[Slave_IO_Running]" value_type="1">
86
          <description>MySQL Slave IO Running</description>
87
          <ipmi_sensor></ipmi_sensor>
88
          <delay>300</delay>
89
          <history>7</history>
90
          <trends>365</trends>
91
          <status>0</status>
92
          <data_type>0</data_type>
93
          <units></units>
94
          <multiplier>0</multiplier>
95
          <delta>0</delta>
96
          <formula>0</formula>
97
          <lastlogsize>0</lastlogsize>
98
          <logtimefmt></logtimefmt>
99
          <delay_flex></delay_flex>
100
          <authtype>0</authtype>
101
          <username></username>
102
          <password></password>
103
          <publickey></publickey>
104
          <privatekey></privatekey>
105
          <params></params>
106
          <trapper_hosts>localhost</trapper_hosts>
107
          <snmp_community></snmp_community>
108
          <snmp_oid></snmp_oid>
109
          <snmp_port>161</snmp_port>
110
          <snmpv3_securityname></snmpv3_securityname>
111
          <snmpv3_securitylevel>0</snmpv3_securitylevel>
112
          <snmpv3_authpassphrase></snmpv3_authpassphrase>
113
          <snmpv3_privpassphrase></snmpv3_privpassphrase>
114
          <valuemapid>0</valuemapid>
115
          <applications>
116
            <application>mysql</application>
117
          </applications>
118
        </item>
119
        <item type="0" key="mysql.slave_status[Slave_SQL_Running]" value_type="1">
120
          <description>MySQL Slave SQL Running</description>
121
          <ipmi_sensor></ipmi_sensor>
122
          <delay>300</delay>
123
          <history>7</history>
124
          <trends>365</trends>
125
          <status>0</status>
126
          <data_type>0</data_type>
127
          <units></units>
128
          <multiplier>0</multiplier>
129
          <delta>0</delta>
130
          <formula>0</formula>
131
          <lastlogsize>0</lastlogsize>
132
          <logtimefmt></logtimefmt>
133
          <delay_flex></delay_flex>
134
          <authtype>0</authtype>
135
          <username></username>
136
          <password></password>
137
          <publickey></publickey>
138
          <privatekey></privatekey>
139
          <params></params>
140
          <trapper_hosts>localhost</trapper_hosts>
141
          <snmp_community></snmp_community>
142
          <snmp_oid></snmp_oid>
143
          <snmp_port>161</snmp_port>
144
          <snmpv3_securityname></snmpv3_securityname>
145
          <snmpv3_securitylevel>0</snmpv3_securitylevel>
146
          <snmpv3_authpassphrase></snmpv3_authpassphrase>
147
          <snmpv3_privpassphrase></snmpv3_privpassphrase>
148
          <valuemapid>0</valuemapid>
149
          <applications>
150
            <application>mysql</application>
151
          </applications>
152
        </item>
153
      </items>
154
      <templates/>
155
      <graphs>
156
        <graph name="MySQL Replication Delay" width="900" height="200">
157
          <ymin_type>1</ymin_type>
158
          <ymax_type>0</ymax_type>
159
          <ymin_item_key></ymin_item_key>
160
          <ymax_item_key></ymax_item_key>
161
          <show_work_period>0</show_work_period>
162
          <show_triggers>1</show_triggers>
163
          <graphtype>0</graphtype>
164
          <yaxismin>0.0000</yaxismin>
165
          <yaxismax>100.0000</yaxismax>
166
          <show_legend>0</show_legend>
167
          <show_3d>0</show_3d>
168
          <percent_left>0.0000</percent_left>
169
          <percent_right>0.0000</percent_right>
170
          <graph_elements>
171
            <graph_element item="Template Server Database MySQL Slave:mysql.slave_status[Seconds_Behind_Master]">
172
              <drawtype>0</drawtype>
173
              <sortorder>0</sortorder>
174
              <color>009900</color>
175
              <yaxisside>0</yaxisside>
176
              <calc_fnc>2</calc_fnc>
177
              <type>0</type>
178
              <periods_cnt>5</periods_cnt>
179
            </graph_element>
180
          </graph_elements>
181
        </graph>
182
      </graphs>
183
      <macros/>
184
    </host>
185
  </hosts>
186
  <dependencies/>
187
</zabbix_export>
(8-8/12)