-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzbx_export_templates.xml
259 lines (259 loc) · 14.3 KB
/
zbx_export_templates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2021-11-26T09:39:06Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>aliyun redis</template>
<name>阿里云redis监控模板(只在Zabbix Server添加)</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
<discovery_rules>
<discovery_rule>
<name>aliyun Redis discovery</name>
<key>aliyun.redis.discovery</key>
<item_prototypes>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} CPU使用率-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},CpuUsage,CpuUsage]</key>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}>70</expression>
<name>cpu 使用率大于70% on aliyun redis {#DBINSTANCEDESCRIPTION}</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 每秒命中的Key数量-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Hit_Rate_Monitor,hit]</key>
<value_type>FLOAT</value_type>
<units>Counts/s</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 内存命中率-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Hit_Rate_Monitor,hit_rate]</key>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}<90</expression>
<name>内存命中率小于90% on aliyun redis {#DBINSTANCEDESCRIPTION}</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 每秒未命中的key数量-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Hit_Rate_Monitor,miss]</key>
<units>Counts/s</units>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 入流量速率-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},IntranetIn,InFlow]</key>
<value_type>FLOAT</value_type>
<units>KBps</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 出流量速率-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},IntranetOut,OutFlow]</key>
<value_type>FLOAT</value_type>
<units>KBps</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 内存使用率-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},MemoryUsage,memoryUsage]</key>
<value_type>FLOAT</value_type>
<units>%</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}>80</expression>
<name>内存使用率-redis 大于80% on aliyun redis {#DBINSTANCEDESCRIPTION}</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 平均时延-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Redis_Avg_Rt_Monitor,AvgRt]</key>
<value_type>FLOAT</value_type>
<units>us</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}>10</expression>
<name>平均时延大于10us on aliyun redis {#DBINSTANCEDESCRIPTION}</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 每秒被驱逐的Key数量-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Redis_Basic_Monitor,EvictedKeysPerSecond]</key>
<value_type>FLOAT</value_type>
<units>Counts/s</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}>10</expression>
<name>每秒被驱逐的Key数量大于10个 on aliyun redis {#DBINSTANCEDESCRIPTION}</name>
<priority>WARNING</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 历史累计因内存不足被驱逐的Key总数</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Redis_Basic_Monitor,EvictedKeys]</key>
<units>Counts</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 每秒被淘汰的Key数量-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Redis_Basic_Monitor,ExpiredKeysPerSecond]</key>
<value_type>FLOAT</value_type>
<units>Counts/s</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 历史累计因过期淘汰的Key总数-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Redis_Basic_Monitor,ExpiredKeys]</key>
<value_type>FLOAT</value_type>
<units>Counts</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 实例中设置了过期时间的键值对数量-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Redis_Basic_Monitor,Expires]</key>
<value_type>FLOAT</value_type>
<units>Counts</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} Key总数量-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},Redis_Basic_Monitor,Keys]</key>
<value_type>FLOAT</value_type>
<units>Counts</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 内存使用量,包含数据和缓存部分-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},UsedMemory,UsedMemory]</key>
<value_type>FLOAT</value_type>
<units>Bytes</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 每秒读命令请求数-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},UsedQPS,GetQps]</key>
<units>Counts/s</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 每秒写命令请求数-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},UsedQPS,PutQps]</key>
<value_type>FLOAT</value_type>
<units>Counts/s</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
<item_prototype>
<name>{#DBINSTANCEDESCRIPTION} 每秒总请求数,包含读和写命令-redis</name>
<key>check.aliyun.redis[Performance,{#DBINSTANCEID},UsedQPS,TotalQps]</key>
<value_type>FLOAT</value_type>
<units>Counts/s</units>
<applications>
<application>
<name>阿里云redis监控</name>
</application>
</applications>
</item_prototype>
</item_prototypes>
</discovery_rule>
</discovery_rules>
</template>
</templates>
</zabbix_export>