zabbix_export: version: '6.0' date: '2021-11-21T22:08:25Z' groups: - uuid: 357667219cde4e2fb8d1b215503ece4b name: Templates/DiskArray templates: - uuid: a29e546c8b1545009ab43dc0096846ae template: Huawei_DiskArray_monitor name: 'Huawei DiskArray Monitor' description: | ## Description Huawei_DiskArray_monitor_template Known Issues: device : OceanStor-2600, OceanStor-5300, OceanStor-5600, OceanStor-6800, OceanStor-Dorado6000 ## Overview Monitor Template of Huawei OceanStor DiskArray. Suitable for OceanStor-2600, OceanStor-5300, OceanStor-5600, OceanStor-6800, OceanStor-Dorado6000. Include health status of controller, disk, fan and power. Repalce macro {$CLOUD\_SNMP\_COMMUNITY} with your snmp community ## Author zhangzhefeng groups: - name: Templates/DiskArray discovery_rules: - uuid: fa0aaa78f38a454c83f1054ac00ee222 name: 'Controller Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.34774.4.1.23.5.2.1.5]' key: ControllerDiscovery delay: 12h lifetime: 0d item_prototypes: - uuid: 0f5d4f339b41459aa61a6e7776e260c1 name: 'ControllerHealthStatus {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.34774.4.1.23.5.2.1.2.{#SNMPINDEX}' key: 'ControllerHealthStatus.[{#SNMPINDEX}]' delay: 10m history: 3d trends: 0d valuemap: name: Huawei_HEALTH_STATUS_E tags: - tag: Application value: 'Controller Status' trigger_prototypes: - uuid: 94c7cddaf2434487a0dc2b0cce891481 expression: 'last(/Huawei_DiskArray_monitor/ControllerHealthStatus.[{#SNMPINDEX}])<>1' name: 'Controller Abnormal' priority: HIGH type: MULTIPLE manual_close: 'YES' - uuid: bdb2d7434b12448995b02c6be4901c99 name: 'Disk Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.34774.4.1.23.5.1.1.4]' key: DiskDiscovery delay: 12h lifetime: 0d item_prototypes: - uuid: ad9f8c5d1fc74341ba48450cd51f9fb5 name: 'DiskHealthStatus {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.34774.4.1.23.5.1.1.2.{#SNMPINDEX}' key: 'DiskHealthStatus.[{#SNMPINDEX}]' delay: 10m history: 3d trends: 0d valuemap: name: Huawei_HEALTH_STATUS_E tags: - tag: Application value: 'Disk Status' trigger_prototypes: - uuid: 1a2c74d6fa664260ad1624612c14ff10 expression: 'last(/Huawei_DiskArray_monitor/DiskHealthStatus.[{#SNMPINDEX}])<>1' name: 'Disk Abnormal' priority: HIGH type: MULTIPLE manual_close: 'YES' - uuid: 65b0d6a5003448bd818133dcc658efea name: 'Fan Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.34774.4.1.23.5.4.1.2]' key: FanDiscovery delay: 12h lifetime: 0d item_prototypes: - uuid: 3f13301cdcab45afa5bbe1c0568cdbb6 name: 'FanHealthStatus {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.34774.4.1.23.5.4.1.3.{#SNMPINDEX}' key: 'FanHealthStatus.[{#SNMPINDEX}]' delay: 10m history: 3d trends: 0d valuemap: name: Huawei_HEALTH_STATUS_E tags: - tag: Application value: 'Fan Status' trigger_prototypes: - uuid: a62d1e17f866415f88b77db0fb3902c4 expression: 'last(/Huawei_DiskArray_monitor/FanHealthStatus.[{#SNMPINDEX}])<>1' name: 'Fan Abnormal' priority: HIGH type: MULTIPLE manual_close: 'YES' - uuid: ced9bb0347a3485f867c4f7071a4dc7f name: 'Power Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.34774.4.1.23.5.3.1.2]' key: PowerDiscovery delay: 12h lifetime: 0d item_prototypes: - uuid: 55e5135f7aea422d89c748586f7303df name: 'PowerHealthStatus {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.34774.4.1.23.5.3.1.3.{#SNMPINDEX}' key: 'PowerHealthStatus.[{#SNMPINDEX}]' delay: 10m history: 3d trends: 0d valuemap: name: Huawei_HEALTH_STATUS_E tags: - tag: Application value: 'Power Status' trigger_prototypes: - uuid: 8ffa1793597c417aab8f112d509f7a98 expression: 'last(/Huawei_DiskArray_monitor/PowerHealthStatus.[{#SNMPINDEX}])<>1' name: 'Power Abnormal' priority: HIGH type: MULTIPLE manual_close: 'YES' macros: - macro: '{$CLOUD_SNMP_COMMUNITY}' value: public valuemaps: - uuid: 26b8a828a8554d899aee3d2ed122514b name: Huawei_HEALTH_STATUS_E mappings: - value: '0' newvalue: Unknown - value: '1' newvalue: Normal - value: '2' newvalue: Fault - value: '3' newvalue: Pre-Fail - value: '4' newvalue: 'partially broken' - value: '5' newvalue: Degraded - value: '6' newvalue: 'Bad sectors found' - value: '7' newvalue: 'Bit errors found' - value: '8' newvalue: Consistent - value: '9' newvalue: Inconsistent - value: '10' newvalue: Busy - value: '11' newvalue: 'No input' - value: '12' newvalue: 'Low battery' - value: '13' newvalue: 'Single link fault' - value: '14' newvalue: Invalid - value: '15' newvalue: WRITE_PROTECT