当前位置: 首页 > news >正文

联想问天服务器ILO接入zabbix

联想国产问天系列服务器ILO没有可用的zabbix监控模板,也没有官方的mib文件可用,只能先获取一遍全部的snmp数据,根据结果和联想官方的snmp说明手动创建监控模板,实现zabbix监控接入。
模板如下:
1 <?xml version="1.0" encoding="UTF-8"?>
2 <zabbix_export>
3 7.4
4 <template_groups>
5 <template_group>
6 7df96b18c230490a9a0a9e2307226338
7 Templates
8 </template_group>
9 </template_groups>
10
11
12 8255b5076e074440a3fbbcccd1a153e7
13 Template_SNMP_Lenovo_WR3220_XCC
14 Template SNMP Lenovo XClarity Controller (XCC) For WR3220
15 SNMP monitoring for Lenovo XClarity Controller (XCC): overall health, temperatures, fans, CPU, MEM, PSU modules.
16
17
18 Templates
19
20
21
22
23 11d912b11a534ebd867cda80fe761e9b
24 CPUSummaryStatus
25 SNMP_AGENT
26 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.3.0</snmp_oid>
27 lenovo.CPUSummaryStatus
28 90d
29 <value_type>CHAR</value_type>
30 Values: OK,Warning,Critical
31
32
33 component
34 health
35
36
37
38
39 f83638162f68473dae596816995a1abb
40 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.CPUSummaryStatus)=“Critical”
41 XCC CPU health is CRITICAL
42 HIGH
43
44
45 9ffc3befb54548ca84e0c79a58dc8209
46 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.CPUSummaryStatus)=“Warning”
47 XCC CPU health is Warning
48 AVERAGE
49
50
51
52
53 ad3fc215cd90417ab525f10cb8d6b6ba
54 DISKSummaryStatus
55 SNMP_AGENT
56 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.5.0</snmp_oid>
57 lenovo.DISKSummaryStatus
58 90d
59 <value_type>CHAR</value_type>
60 Values: OK,Warning,Critical
61
62
63 component
64 health
65
66
67
68
69 4e3d9fb853364b11996560ba24f18b57
70 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.DISKSummaryStatus)=“Critical”
71 XCC DISK health is CRITICAL
72 HIGH
73
74
75 b89c558257e7436bb794c83f422841b1
76 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.DISKSummaryStatus)=“Warning”
77 XCC DISK health is Warning
78 AVERAGE
79
80
81
82
83 d59d43d673ae42fbbabcc178eb3f4848
84 EntiretySummaryStatus
85 SNMP_AGENT
86 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.2.0</snmp_oid>
87 lenovo.EntiretySummaryStatus
88 90d
89 <value_type>CHAR</value_type>
90 Values: OK,Warning,Critical
91
92
93 component
94 health
95
96
97
98
99 9ab89b495ee147fbb8337871fc1837c9
100 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.EntiretySummaryStatus)=“Critical”
101 XCC system health is CRITICAL
102 HIGH
103
104
105 ad0d8014a4ff47f190a09d838359d467
106 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.EntiretySummaryStatus)=“Warning”
107 XCC system health is Warning
108 AVERAGE
109
110
111
112
113 a910526d088c447e9b92c37fc2274b8a
114 FANSummaryStatus
115 SNMP_AGENT
116 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.7.0</snmp_oid>
117 lenovo.FANSummaryStatus
118 90d
119 <value_type>CHAR</value_type>
120 Values: OK,Warning,Critical
121
122
123 component
124 health
125
126
127
128
129 6d20868ce36d40d6871500f582d71381
130 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.FANSummaryStatus)=“Critical”
131 XCC FAN health is CRITICAL
132 HIGH
133
134
135 f9b533e64a434656a8abd7854228c092
136 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.FANSummaryStatus)=“Warning”
137 XCC FAN health is Warning
138 AVERAGE
139
140
141
142
143 0ac7d10010174b849ac6dfa6a5974f52
144 MEMSummaryStatus
145 SNMP_AGENT
146 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.4.0</snmp_oid>
147 lenovo.MEMSummaryStatus
148 90d
149 <value_type>CHAR</value_type>
150 Values: OK,Warning,Critical
151
152
153 component
154 health
155
156
157
158
159 09a8af86d3034c17927c08c4796dca71
160 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.MEMSummaryStatus)=“Critical”
161 XCC MEM health is CRITICAL
162 HIGH
163
164
165 1a3923522b3147efa77a89ce28986d3a
166 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.MEMSummaryStatus)=“Warning”
167 XCC MEM health is Warning
168 AVERAGE
169
170
171
172
173 410dc6c1fbb44ff3a32ebd7bff94e1ed
174 PCISummaryStatus
175 SNMP_AGENT
176 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.6.0</snmp_oid>
177 lenovo.PCISummaryStatus
178 90d
179 <value_type>CHAR</value_type>
180 Values: OK,Warning,Critical
181
182
183 component
184 health
185
186
187
188
189 9411f50901594ba38b8b19420ad20d96
190 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.PCISummaryStatus)=“Critical”
191 XCC PCI health is CRITICAL
192 HIGH
193
194
195 a9342e5f434844d99e964bd200e79cb6
196 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.PCISummaryStatus)=“Warning”
197 XCC PCI health is Warning
198 AVERAGE
199
200
201
202
203 9184796729134f598f5d1447869de210
204 POWERSummaryStatus
205 SNMP_AGENT
206 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.10.0</snmp_oid>
207 lenovo.POWERSummaryStatus
208 90d
209 <value_type>CHAR</value_type>
210 Values: OK,Warning,Critical
211
212
213 component
214 health
215
216
217
218
219 9a59473a1ccb4534a7d309f623425241
220 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.POWERSummaryStatus)=“Critical”
221 XCC POEWR health is CRITICAL
222 HIGH
223
224
225 7e71ddd965964418867d35c1f96ede06
226 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.POWERSummaryStatus)=“Warning”
227 XCC POWER health is Warning
228 AVERAGE
229
230
231
232
233 11cc7c2ec5ff48869c9836e1bb3268fe
234 TEMPSummaryStatus
235 SNMP_AGENT
236 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.8.0</snmp_oid>
237 lenovo.TEMPSummaryStatus
238 90d
239 <value_type>CHAR</value_type>
240 Values: OK,Warning,Critical
241
242
243 component
244 health
245
246
247
248
249 c41e58eb83f04725931aa98e0694ef63
250 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.TEMPSummaryStatus)=“Critical”
251 XCC TEMP health is CRITICAL
252 HIGH
253
254
255 7f44cfd7ffaf410880ebcf497d667bb7
256 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.TEMPSummaryStatus)=“Warning”
257 XCC TEMP health is Warning
258 AVERAGE
259
260
261
262
263 0e3e79dc4f4646479126657f018ba697
264 VoltageSummaryStatus
265 SNMP_AGENT
266 <snmp_oid>1.3.6.1.4.1.53184.17.2.1.9.0</snmp_oid>
267 lenovo.VoltageSummaryStatus
268 90d
269 <value_type>CHAR</value_type>
270 Values: OK,Warning,Critical
271
272
273 component
274 health
275
276
277
278
279 5dfdff89eeb54857ad0a497ac703855d
280 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.VoltageSummaryStatus)=“Critical”
281 XCC Voltage health is CRITICAL
282 HIGH
283
284
285 e384b9e299184723b04e60d7bc139cc4
286 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.VoltageSummaryStatus)=“Warning”
287 XCC Voltage health is Warning
288 AVERAGE
289
290
291
292
293 ed88fab03cae4cda97495f46ec3cb551
294 System hostname
295 SNMP_AGENT
296 <snmp_oid>1.3.6.1.4.1.53184.6.2.0</snmp_oid>
297 snmp.hostname
298 6h
299 90d
300 <value_type>TEXT</value_type>
301
302
303 component
304 system
305
306
307
308
309 a70524591b6543fbb367a831e011777c
310 System uptime (sysUpTime)
311 SNMP_AGENT
312 <snmp_oid>1.3.6.1.2.1.1.3.0</snmp_oid>
313 snmp.sysUpTime
314 5m
315 90d
316 uptime
317
318
319 component
320 system
321
322
323
324
325 <discovery_rules>
326 <discovery_rule>
327 c4d755602e9441d89a192a7afb9e1454
328 CPU discovery (Lenovo XCC)
329 SNMP_AGENT
330 <snmp_oid>discovery[{#IDX},1.3.6.1.4.1.53184.8.2.1.1,{#NAME},1.3.6.1.4.1.53184.8.2.1.14]</snmp_oid>
331 lenovo.xcc.cpu.discovery
332 6h
333 30d
334 <item_prototypes>
335 <item_prototype>
336 68177483a81248c58f52fe4beda85963
337 CPU {#NAME}: Health status
338 SNMP_AGENT
339 <snmp_oid>1.3.6.1.4.1.53184.8.2.1.13.{#IDX}</snmp_oid>
340 lenovo.xcc.cpu.health[{#IDX}]
341 5m
342 <value_type>CHAR</value_type>
343
344
345 component
346 cpu
347
348
349 <trigger_prototypes>
350 <trigger_prototype>
351 f6b94aec31eb45639fd6d2f1e51262eb
352 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.cpu.health[{#IDX}])<>“Ok”
353 CPU {#NAME}: 状态异常
354 HIGH
355 </trigger_prototype>
356 </trigger_prototypes>
357 </item_prototype>
358 </item_prototypes>
359 </discovery_rule>
360 <discovery_rule>
361 61b27274451b4146b3b64cfdb8390bdb
362 Disk discovery (Lenovo XCC)
363 SNMP_AGENT
364 <snmp_oid>discovery[{#IDX},1.3.6.1.4.1.53184.16.2.1.1]</snmp_oid>
365 lenovo.xcc.disk.discovery
366 1h
367 30d
368 <item_prototypes>
369 <item_prototype>
370 613c2ba72e794edab031db410cda935b
371 Disk {#IDX}: 剩余寿命
372 SNMP_AGENT
373 <snmp_oid>1.3.6.1.4.1.53184.16.2.1.12.{#IDX}</snmp_oid>
374 lenovo.xcc.disk.life[{#IDX}]
375 0
376 %
377
378
379 CHECK_NOT_SUPPORTED
380
381 -1
382
383
384
385 JAVASCRIPT
386
387 // 如果值等于 255(字符串或数字),则丢弃;否则返回原值
388 if (value == ‘255’ || value == 255) {
389 return null;
390 }
391 return value;
392
393
394
395
396
397 component
398 disk
399
400
401 <trigger_prototypes>
402 <trigger_prototype>
403 7873a0d988554e8499410ad08fdd86cb
404 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.disk.life[{#IDX}])<10
405 Disk {#IDX} 剩余寿命低于10%
406 DISASTER
407 </trigger_prototype>
408 <trigger_prototype>
409 d7fffc8255184fbc8330be822d664988
410 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.disk.life[{#IDX}])<30
411 Disk {#IDX} 剩余寿命低于30%
412 HIGH
413 </trigger_prototype>
414 <trigger_prototype>
415 2f01ce5f441b4e08886542fa7f08cb60
416 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.disk.life[{#IDX}])<50
417 Disk {#IDX} 剩余寿命低于50%
418 AVERAGE
419 </trigger_prototype>
420 </trigger_prototypes>
421 </item_prototype>
422 <item_prototype>
423 c947b2921f5b4b4887fb5ea64fd13864
424 Disk {#IDX}: 硬盘状态
425 SNMP_AGENT
426 <snmp_oid>1.3.6.1.4.1.53184.16.2.1.13.{#IDX}</snmp_oid>
427 lenovo.xcc.disk.status[{#IDX}]
428 <value_type>CHAR</value_type>
429
430
431 CHECK_NOT_SUPPORTED
432
433 -1
434
435
436
437
438
439 component
440 disk
441
442
443 <trigger_prototypes>
444 <trigger_prototype>
445 bcfcc98bf2cd4514a69a1a9497115b6f
446 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.disk.status[{#IDX}])<>“OK”
447 Disk {#IDX} 状态异常
448 AVERAGE
449 </trigger_prototype>
450 </trigger_prototypes>
451 </item_prototype>
452 </item_prototypes>
453 </discovery_rule>
454 <discovery_rule>
455 6f64a3aca74a47e9978e5ce9f955d145
456 Fan discovery (Lenovo XCC)
457 SNMP_AGENT
458 <snmp_oid>discovery[{#IDX},1.3.6.1.4.1.53184.19.2.1.1]</snmp_oid>
459 lenovo.xcc.fan.discovery
460 1h
461 30d
462 <item_prototypes>
463 <item_prototype>
464 fd31deadbd0b40ac9c50d944cf445c20
465 Fan {#IDX}: 前转子转速
466 SNMP_AGENT
467 <snmp_oid>1.3.6.1.4.1.53184.19.2.1.2.{#IDX}</snmp_oid>
468 lenovo.xcc.fan.FRspeed[{#IDX}]
469 90d
470 rpm
471
472
473 CHECK_NOT_SUPPORTED
474
475 -1
476
477
478
479
480
481 component
482 fan
483
484
485 <trigger_prototypes>
486 <trigger_prototype>
487 0337c282fd7b46868ef6b9c54114a2b2
488 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.fan.FRspeed[{#IDX}])<{KaTeX parse error: Expected 'EOF', got '}' at position 15: LOWER_CRITICAL}̲</expression> …LOWER_CRITICAL}
578 Fan {#IDX} 后转子转速过低
579 AVERAGE
580 </trigger_prototype>
581 </trigger_prototypes>
582 </item_prototype>
583 </item_prototypes>
584 </discovery_rule>
585 <discovery_rule>
586 9e9945b8b26a4022b866f281789bc361
587 MEM discovery (Lenovo XCC)
588 SNMP_AGENT
589 <snmp_oid>discovery[{#IDX},1.3.6.1.4.1.53184.9.2.1.1]</snmp_oid>
590 lenovo.xcc.mem.discovery
591 6h
592 30d
593 <item_prototypes>
594 <item_prototype>
595 f9636465ba174c08b6be5803a15c779f
596 MEM {#IDX}: Health status
597 SNMP_AGENT
598 <snmp_oid>1.3.6.1.4.1.53184.9.2.1.10.{#IDX}</snmp_oid>
599 lenovo.xcc.mem.health[{#IDX}]
600 5m
601 <value_type>CHAR</value_type>
602
603
604 component
605 mem
606
607
608 <trigger_prototypes>
609 <trigger_prototype>
610 d6cd3193d7884d829ed68d681c0e4354
611 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.mem.health[{#IDX}])<>“Ok”
612 MEM {#IDX}: 状态异常
613 HIGH
614 </trigger_prototype>
615 </trigger_prototypes>
616 </item_prototype>
617 </item_prototypes>
618 </discovery_rule>
619 <discovery_rule>
620 4ffb0c8af46a49f0b3c049fafd29f6cb
621 Power modules discovery (Lenovo XCC)
622 SNMP_AGENT
623 <snmp_oid>discovery[{#IDX},1.3.6.1.4.1.53184.10.2.1.1,{#NAME},1.3.6.1.4.1.53184.10.2.1.6]</snmp_oid>
624 lenovo.xcc.psu.discovery
625 6h
626 30d
627 <item_prototypes>
628 <item_prototype>
629 b4a5c387c6414f1baa2cf38426f4ae5a
630 PSU {#NAME}: Health status
631 SNMP_AGENT
632 <snmp_oid>1.3.6.1.4.1.53184.10.2.1.13.{#IDX}</snmp_oid>
633 lenovo.xcc.psu.health[{#IDX}]
634 5m
635 90d
636 <value_type>CHAR</value_type>
637
638
639 component
640 psu
641
642
643 <trigger_prototypes>
644 <trigger_prototype>
645 1910a63e84ba423d8c97c1264e53af58
646 last(/Template_SNMP_Lenovo_WR3220_XCC/lenovo.xcc.psu.health[{#IDX}])<>“OK”
647 电源 {#NAME} 状态异常
648 HIGH
649 </trigger_prototype>
650 </trigger_prototypes>
651 </item_prototype>
652 </item_prototypes>
653 </discovery_rule>
654 <discovery_rule>
655 a9713877c99a4326be9f742d940745a7
656 Temperature sensors discovery (Lenovo XCC)
657 SNMP_AGENT
658 <snmp_oid>discovery[{#IDX},1.3.6.1.4.1.53184.1.2.1.1,{#SENSOR_TYPE},1.3.6.1.4.1.53184.1.2.1.2,{#SENSOR_NAME},1.3.6.1.4.1.53184.1.2.1.3]</snmp_oid>
659 lenovo.xcc.temp.discovery
660 1h
661
662
663
664 {#SENSOR_TYPE}
665 ^1KaTeX parse error: Expected '}', got '#' at position 396: … <name>Temp{#̲SENSOR_NAME}: R…LOWER_CRITICAL}
748 500
749 最低风扇转速
750
751
752
753
754
755
756 a9845e2299e04b86a42fdc80ed6ea3dc
757 XCC Overview: Health & Uptime
758 <graph_items>
759 <graph_item>
760 1A7C11
761
762 Template_SNMP_Lenovo_WR3220_XCC
763 lenovo.EntiretySummaryStatus
764
765 </graph_item>
766 <graph_item>
767 1
768 2774A4
769
770 Template_SNMP_Lenovo_WR3220_XCC
771 snmp.sysUpTime
772
773 </graph_item>
774 </graph_items>
775
776
777 </zabbix_export>

http://www.cnnetsun.cn/news/2865246.html

相关文章:

  • 别再只调包了!手把手教你用RDKit和PyTorch Geometric从SMILES字符串构建分子图数据
  • DeepMosaics终极指南:零门槛AI马赛克处理,让图片视频隐私保护如此简单
  • CADET模型:LinkedIn广告点击率预测的Transformer创新
  • Vue3项目里,那个‘会动’的图表墙是怎么做的?聊聊拖拽组件的状态保持与性能优化
  • QMT量化交易中,如何用Python实现60秒自动撤单与重下单(附完整代码)
  • NanaZip:重新定义Windows文件压缩的智能革命
  • STM32G431RBT6按键进阶:从轮询扫描到中断处理(附长短按、连按实现)
  • 论文双审时代:告别降重、去AI痕迹两难,百考通AI一站式解决方案
  • 如何在3分钟内完成QQ空间数据备份:GetQzonehistory终极指南
  • ProperTree:跨平台GUI plist编辑器的5个核心优势与实用指南
  • BilibiliDown终极指南:轻松实现B站视频批量下载与音频提取
  • 你的EC11编码器程序抗干扰吗?基于STM32的按键消抖、双击与长按检测的完整实现方案
  • FT61F02单片机实操包:按一下按键,LED亮灭自动翻转(带工程文件+PDF详解)
  • CS2 练枪服怎么选配置?低延迟比堆内存更重要
  • 终极指南:用Hackintool轻松搞定黑苹果配置的7个简单步骤
  • Unlock Music:一站式音频格式转换与音乐解密解决方案
  • 中央维护系统级综合验证平台
  • 智能家居入门:如何用STM32和Proteus低成本模拟一个光控窗帘系统(附Keil工程源码)
  • 【优化分配】基于matlab构建数字化广告投放优化系统差分进化算法多平台预算分配【含Matlab源码 15611期】含报告
  • 【机器人】基于matlab三台6自由度连续介质机器人的灵巧度分析【含Matlab源码 15612期】
  • 告别屏幕忽明忽暗:手把手教你用VEML7700光照传感器实现智能背光调节(附STM32代码)
  • 2017–2020年Unity音乐节奏游戏实战工程:含判定逻辑、谱面解析与完整可运行项目
  • 基于单片机的汽车胎压与温度监控系统
  • 那条漫长的CI流水线:端到端测试为什么总是最后一个“守门员”
  • 终极Aria2GUI完整指南:从命令行到macOS图形界面的技术实现
  • 行业定制开发:对接业务系统的AI客服与知识库智能体实现
  • MATLAB自适应RK4求解器:带误差控制的ODE数值计算工具包
  • 终极React AI聊天组件库:assistant-ui完整开发指南
  • 重构旧硬件价值:OCLP-Mod深度解析老旧Mac系统兼容性突破方案
  • 终极解决edge-tts语音合成WebSocket 403错误的完整指南