zabbix_export: version: '6.0' date: '2021-11-21T22:05:38Z' groups: - uuid: dc579cd7a1a34222933f24f52a68bcd8 name: 'Linux servers' templates: - uuid: 1fe9aaa8ef064e39b0bfc1b5e114e254 template: H3C_basic_monitoring name: H3C_basic_monitoring description: | ## Description H3C server basic monitoring items ## Overview 通过SNMP监控H3C HDM的模板,适用于HDM版本为1.30.x。我们在R4900 G3上进行了测试验证,但理论上适配所有G3机型。支持获取信息有入风口温度、出风口温度、总功耗、HDM版本号、BIOS版本号、处理器信息、风扇信息、FRU信息、物理驱动器信息、健康状态、内存信息、电源信息、散热信息。 Monitoring H3C HDM template through SNMP, For HDM version 1.30.x. We have verified it in R4900 G3, but it is theoretically suitable for all G3 models. Support to obtain information including Inlet Temp, Outlet Temp, Total Power Consumption, HDM version, BIOS Version, Processors Information, Fan Information, Fru Information, Physical Drive Information, Health Status of Server, Memory Information, Power Information and Thermal Information. ## Author H3C groups: - name: 'Linux servers' items: - uuid: 3ae67650774b4e5781aa656d1385da4b name: h3cInletTempReading type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.25506.13.1.2.1.1.11.2.0 key: h3cInletTempReading delay: 30s tags: - tag: Application value: temperature triggers: - uuid: e901235cec554fb2a27a17b2df8c185c expression: last(/H3C_basic_monitoring/h3cInletTempReading)>54 name: Inlet_Temp_Critical priority: HIGH - uuid: abbee1252f11494ea52a6f5dd52fc09c expression: last(/H3C_basic_monitoring/h3cInletTempReading)>52 name: Inlet_Temp_Major priority: AVERAGE - uuid: 216ff0cc640b49aca9952063bcfda0bb expression: last(/H3C_basic_monitoring/h3cInletTempReading)>50 name: Inlet_Temp_Minor priority: WARNING - uuid: 9a37bf7987074293a615a5b36e6d21df name: h3cOutletTempReading type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.25506.13.1.2.1.1.11.4.0 key: h3cOutletTempReading delay: 30s tags: - tag: Application value: temperature triggers: - uuid: 1adfe36b28734fa4bac3b9b06e334105 expression: last(/H3C_basic_monitoring/h3cOutletTempReading)>100 name: Outlet_Temp_Major priority: AVERAGE - uuid: 4b1a4051a7ce427f9cdf4ce760b04918 expression: last(/H3C_basic_monitoring/h3cOutletTempReading)>95 name: Outlet_Temp_Minor priority: WARNING - uuid: 894ef283b7624cb885cd42d51a6d6025 name: h3cPowerTotalCost type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.25506.13.1.2.1.1.7.1.3.0 key: h3cPowerTotalCost delay: 30s tags: - tag: Application value: power - uuid: 62043444191042bebd358c4f722db178 name: h3cSrvBiosVersion type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.25506.13.1.2.2.7.2.0 key: h3cSrvBiosVersion delay: 60s trends: '0' value_type: CHAR tags: - tag: Application value: fire_vision - uuid: 34835aa3993c42728fa08cbd48577217 name: h3cSrvHdmVersion type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.25506.13.1.2.2.7.1.0 key: h3cSrvHdmVersion delay: 60s trends: '0' value_type: CHAR tags: - tag: Application value: fire_vision discovery_rules: - uuid: d7ba1836b90048dc85b60464c5ccfc35 name: h3cCPUInfo_discovery type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.1.1.1.1.1.2]' key: h3cCPUInfo_discovery delay: 30s item_prototypes: - uuid: a60fc7a88eae4facb516d345af125b07 name: 'CPU_[{#SNMPINDEX}]_PresentStatus' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.1.1.1.13.{#SNMPINDEX}' key: 'CPUPresentStatus[{#SNMPINDEX}]' delay: 30s description: 'The present status of CPU associated with the ID.' tags: - tag: Application value: CPU trigger_prototypes: - uuid: 018f2d951f164689bd9d9dcd2651ff74 expression: 'last(/H3C_basic_monitoring/CPUPresentStatus[{#SNMPINDEX}])=0' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/CPUPresentStatus[{#SNMPINDEX}])=1' name: CPU_absense priority: WARNING - uuid: 5c472ffff1574b94b612337404d03eab name: 'CPU_[{#SNMPINDEX}]_Status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.1.1.1.6.{#SNMPINDEX}' key: 'CPUStatus[{#SNMPINDEX}]' delay: 30s description: 'The working status of the CPU associated with the ID' tags: - tag: Application value: CPU trigger_prototypes: - uuid: 1a726ff5f1e04c2e98719fe762a6cc26 expression: 'last(/H3C_basic_monitoring/CPUStatus[{#SNMPINDEX}])=0' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/CPUStatus[{#SNMPINDEX}])=1' name: CPUStatus_alarm priority: WARNING - uuid: 05080ad83c4d4a089791e80626bf62b3 name: h3cFan_discover type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.1.1.10.1.1.4]' key: h3cFan_discover delay: 30s item_prototypes: - uuid: 870a660fb4884d0e91a5a4cc4c279ff8 name: 'FAN_[{#SNMPINDEX}]_PresentStatus' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.10.1.1.6.{#SNMPINDEX}' key: 'FANPresentStatus[{#SNMPINDEX}]' delay: 30s tags: - tag: Application value: FAN trigger_prototypes: - uuid: c4cf659eb56b457191bf5095b2ab4bd6 expression: 'last(/H3C_basic_monitoring/FANPresentStatus[{#SNMPINDEX}])=0' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/FANPresentStatus[{#SNMPINDEX}])=1' name: FAN_Status_alarm priority: AVERAGE description: 'fan absence' - uuid: 601717eb8b40496795d3c3e2f10078c9 name: 'FAN_[{#SNMPINDEX}]_Speed' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.10.1.1.5.{#SNMPINDEX}' key: 'FANSpeed[{#SNMPINDEX}]' delay: 30s units: RPM tags: - tag: Application value: FAN - uuid: b9448eb492a5462d8fe2ac6741c5f375 name: h3cFru_discovery type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.1.3.1.1.4]' key: h3cFru_discovery delay: 30s item_prototypes: - uuid: f044835865844b4eb9bd84298fe9c4d5 name: 'Fru_[{#SNMPINDEX}]_Name' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.3.1.1.4.{#SNMPINDEX}' key: 'FruName[{#SNMPINDEX}]' delay: 30s trends: '0' value_type: CHAR tags: - tag: Application value: FRU - uuid: ed5353f5f29944a48297b88f04971b16 name: h3cHardDiskInfo_discovery type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.1.1.9.6.1.2]' key: h3cHardDiskInfo_discovery delay: 30s item_prototypes: - uuid: ad817b6992ed41ee94a380072f449fad name: 'HardDisk_[{#SNMPINDEX}]_HealthStatus' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.9.6.1.3.{#SNMPINDEX}' key: 'HardDiskHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'The hard disk health status' tags: - tag: Application value: HardDisk trigger_prototypes: - uuid: cc8bbcd8b0204e2cbace3857c3f15e27 expression: 'last(/H3C_basic_monitoring/HardDiskHealthStatus[{#SNMPINDEX}])>3' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/HardDiskHealthStatus[{#SNMPINDEX}])=2' name: HardDiskStatus_major priority: HIGH manual_close: 'YES' - uuid: b2f6e1119cb842cd8749c2b7a9f3a69b expression: 'last(/H3C_basic_monitoring/HardDiskHealthStatus[{#SNMPINDEX}])=3' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/HardDiskHealthStatus[{#SNMPINDEX}])=2' name: HardDiskStatus_minor priority: WARNING manual_close: 'YES' - uuid: 6558ce00e89e4e6db19785dd7bf64fae name: 'HardDisk_[{#SNMPINDEX}]_Location' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.9.6.1.2.{#SNMPINDEX}' key: 'HardDiskStatus[{#SNMPINDEX}]' delay: 30s trends: '0' value_type: CHAR description: 'The location of hard disk' tags: - tag: Application value: HardDisk - uuid: 1140327c9fe74f7096fbd8839400cce5 name: h3cHealthInfo_discovery type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.4.7.1]' key: h3cHealthInfo_discovery delay: 30s item_prototypes: - uuid: f6c4e7d730334cc5a2ac1d0d24ff2b11 name: 'h3cCPUHealthStatus[{#SNMPINDEX}]' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.4.7.4.{#SNMPINDEX}' key: 'h3cCPUHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'Health status of the CPU overall, normal(0), caution(1), warning(2), critical(3)' tags: - tag: Application value: health_status - uuid: 7edc9251e01c4f909114b3847262e1f1 name: 'h3cDiskHealthStatus[{#SNMPINDEX}]' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.4.7.8.{#SNMPINDEX}' key: 'h3cDiskHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'Health status of the disk overall, normal(0), caution(1), warning(2), critical(3)' tags: - tag: Application value: health_status - uuid: 42eb6804673543eca4acf3a63521661e name: 'h3cEntiretyHealthStatus[{#SNMPINDEX}]' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.4.7.1.{#SNMPINDEX}' key: 'h3cEntiretyHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'The entirety health status of this machine, normal(0), caution(1), warning(2), critical(3)' tags: - tag: Application value: health_status trigger_prototypes: - uuid: a811967caacd43859eefbe74d0ad1617 expression: 'last(/H3C_basic_monitoring/h3cEntiretyHealthStatus[{#SNMPINDEX}])=1' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/h3cEntiretyHealthStatus[{#SNMPINDEX}])=0' name: EntiretyHeathStatus_caution priority: WARNING - uuid: 51c442802bd146dbbf1526fad8ebbfe7 expression: 'last(/H3C_basic_monitoring/h3cEntiretyHealthStatus[{#SNMPINDEX}])=3' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/h3cEntiretyHealthStatus[{#SNMPINDEX}])=0' name: EntiretyHeathStatus_critical priority: HIGH - uuid: 532a0e1959e24c3e8d582dc634d748fa expression: 'last(/H3C_basic_monitoring/h3cEntiretyHealthStatus[{#SNMPINDEX}])=2' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/h3cEntiretyHealthStatus[{#SNMPINDEX}])=0' name: EntiretyHeathStatus_warning priority: AVERAGE - uuid: beb1d6deddbe443ba2bea52997500d13 name: 'h3cFanHealthStatus[{#SNMPINDEX}]' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.4.7.3.{#SNMPINDEX}' key: 'h3cFanHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'Health status of the FAN overall, normal(0), caution(1), warning(2), critical(3)' tags: - tag: Application value: health_status - uuid: 2b02a1ee56264a27a2f54a98dd4ac21d name: 'h3cMemHealthStatus[{#SNMPINDEX}]' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.4.7.7.{#SNMPINDEX}' key: 'h3cMemHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'Health status of the memory overall, normal(0), caution(1), warning(2), critical(3)' tags: - tag: Application value: health_status - uuid: ce550e3b0d254309b2209c048eb251ac name: 'h3cPwrHealthStatus[{#SNMPINDEX}]' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.4.7.2.{#SNMPINDEX}' key: 'h3cPwrHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'Health status of the power supply overall, normal(0), caution(1), warning(2), critical(3)' tags: - tag: Application value: health_status trigger_prototypes: - uuid: 30d1b83030f54e3cad780b70e15b0397 expression: 'last(/H3C_basic_monitoring/h3cPwrHealthStatus[{#SNMPINDEX}])=1' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/h3cPwrHealthStatus[{#SNMPINDEX}])=0' name: PwrHealthStatus_caution priority: WARNING manual_close: 'YES' - uuid: 5ccf8f3fd3f743fa9e6e16951ac7b109 expression: 'last(/H3C_basic_monitoring/h3cPwrHealthStatus[{#SNMPINDEX}])=2' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/h3cPwrHealthStatus[{#SNMPINDEX}])=0' name: PwrHealthStatus_warning priority: AVERAGE - uuid: db8661ea55704624868539b2dc71793d name: 'h3cTempHealthStatus[{#SNMPINDEX}]' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.4.7.10.{#SNMPINDEX}' key: 'h3cTempHealthStatus[{#SNMPINDEX}]' delay: 30s description: 'Health status of the temprature overall, normal(0), caution(1), warning(2), critical(3)' tags: - tag: Application value: health_status - uuid: ba7048313de1483197fc5ccb1bb9e00d name: h3cMem_discovery type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.1.1.2.2.1.5]' key: h3cMem_Discovery delay: 30s item_prototypes: - uuid: 82c6ea9f7eed4d0496071298fc4c9f07 name: 'Mem_[{#SNMPINDEX}]_Status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.2.2.1.5.{#SNMPINDEX}' key: 'MemStatus[{#SNMPINDEX}]' delay: 30s tags: - tag: Application value: Memory trigger_prototypes: - uuid: 4da32247e73a4ba2988f77f5b30c2117 expression: 'last(/H3C_basic_monitoring/MemStatus[{#SNMPINDEX}])>1' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/MemStatus[{#SNMPINDEX}])=1' name: MemStatus_alarm priority: WARNING - uuid: 03a45579c143413aa2b84a4d6dd6bbcb name: h3cPowerInfo_discovery type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.1.1.7.1.1.1.2]' key: h3cPowerInfo_discovery delay: 30s item_prototypes: - uuid: eb864e98bfcd4d148adf0b4f5f05c5b4 name: 'Power_[{#SNMPINDEX}]_Cost' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.7.1.1.1.10.{#SNMPINDEX}' key: 'PowerCost[{#SNMPINDEX}]' delay: 30s units: W description: 'Information about the cost of power. The unit is watt.' tags: - tag: Application value: power - uuid: 7f71922439a5425dab1d9f5224aef1db name: 'Power_[{#SNMPINDEX}]_PresnetStatus' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.7.1.1.1.2.{#SNMPINDEX}' key: 'PowerPresnetStatus[{#SNMPINDEX}]' delay: 30s description: 'The present status of power supply , absence(0), presence(1)' tags: - tag: Application value: power trigger_prototypes: - uuid: 9f3513d2f4d0425480a3ec69c0f390d5 expression: 'last(/H3C_basic_monitoring/PowerPresnetStatus[{#SNMPINDEX}])=0' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/PowerPresnetStatus[{#SNMPINDEX}])=1' name: PowerPresentStatus_absense priority: INFO - uuid: 3454ca1d5d304017af2cbc0faa59f0ac name: h3cTempInfo_discovery type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.25506.13.1.2.1.1.11.3.1.4]' key: h3cTempInfo_discovery delay: 30s item_prototypes: - uuid: 6e93bf074dcb4d60b03c6c7bdaf492f2 name: 'TempSensor_[{#SNMPINDEX}]_Reading' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.11.3.1.4.{#SNMPINDEX}' key: 'TempSensorReading[{#SNMPINDEX}]' delay: 30s value_type: FLOAT units: C description: 'Information about temperature reading, the unit is degree C.' tags: - tag: Application value: TempInfo - uuid: 7959e1061cb341119da01924a4d8d93c name: 'TempSensor_[{#SNMPINDEX}]_Status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.25506.13.1.2.1.1.11.3.1.6.{#SNMPINDEX}' key: 'TempSensorStatus[{#SNMPINDEX}]' delay: 30s tags: - tag: Application value: TempInfo trigger_prototypes: - uuid: 96c8e93fa81e4d8ab8a35c74dddb43d0 expression: 'last(/H3C_basic_monitoring/TempSensorStatus[{#SNMPINDEX}])>2' recovery_mode: RECOVERY_EXPRESSION recovery_expression: 'last(/H3C_basic_monitoring/TempSensorStatus[{#SNMPINDEX}])=2' name: TempSensorStatus_alarm priority: WARNING macros: - macro: '{$SNMP_COMMUNITY}' value: rocommstr graphs: - uuid: 5ca650cfb6b245859e4df62b3949d7c8 name: h3cPowerTotalCost graph_items: - color: 1A7C11 item: host: H3C_basic_monitoring key: h3cPowerTotalCost - uuid: 526508d618e94c689c6f8146ac2ce360 name: inlet_outlet_temperature graph_items: - color: 1A7C11 item: host: H3C_basic_monitoring key: h3cInletTempReading - sortorder: '1' color: F63100 item: host: H3C_basic_monitoring key: h3cOutletTempReading