diff --git a/Server_Hardware/H3C/template_h3c_server_G3G5_monitor/5.0/README.md b/Server_Hardware/H3C/template_h3c_server_G3G5_monitor/5.0/README.md deleted file mode 100644 index 201fab686..000000000 --- a/Server_Hardware/H3C/template_h3c_server_G3G5_monitor/5.0/README.md +++ /dev/null @@ -1,102 +0,0 @@ -# H3C_server_G3/G5_basic_monitoring - -## Description - -H3C server G3 and G5 basic monitoring items - -## Overview - -通过SNMP监控H3C HDM的模板,适用于G3和G5的机型。支持获取信息有入风口温度、出风口温度、总功耗、HDM版本号、BIOS版本号、处理器信息、风扇信息、FRU信息、物理驱动器信息、健康状态、内存信息、电源信息、散热信息。 - -Monitoring H3C HDM template through SNMP, for all G3 and G5 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 BMC - -## Macros used - -|Name|Description|Default|Type| -|----|-----------|-------|----| -|{$SNMP_COMMUNITY}|

-

|`public`|Text macro| - - -## Template links - -There are no template links in this template. - -## Discovery rules - -|Name|Description|Type|Key and additional info| -|----|-----------|----|----| -|h3cFru_discovery|

-

|`SNMP agent`|h3cFru_discovery

Update: 30s

| -|h3cHardDiskInfo_discovery|

-

|`SNMP agent`|h3cHardDiskInfo_discovery

Update: 30s

| -|h3cPowerInfo_discovery|

-

|`SNMP agent`|h3cPowerInfo_discovery

Update: 30s

| -|h3cMem_discovery|

-

|`SNMP agent`|h3cMem_Discovery

Update: 30s

| -|h3cTempInfo_discovery|

-

|`SNMP agent`|h3cTempInfo_discovery

Update: 30s

| -|h3cHealthInfo_discovery|

-

|`SNMP agent`|h3cHealthInfo_discovery

Update: 30s

| -|h3cFan_discover|

-

|`SNMP agent`|h3cFan_discover

Update: 30s

| -|h3cCPUInfo_discovery|

-

|`SNMP agent`|h3cCPUInfo_discovery

Update: 30s

| - - -## Items collected - -|Name|Description|Type|Key and additional info| -|----|-----------|----|----| -|h3cPowerTotalCost|

-

|`SNMP agent`|h3cPowerTotalCost

Update: 30s

| -|h3cSrvHdmVersion|

-

|`SNMP agent`|h3cSrvHdmVersion

Update: 60s

| -|h3cOutletTempReading|

-

|`SNMP agent`|h3cOutletTempReading

Update: 30s

| -|h3cInletTempReading|

-

|`SNMP agent`|h3cInletTempReading

Update: 30s

| -|h3cSrvBiosVersion|

-

|`SNMP agent`|h3cSrvBiosVersion

Update: 60s

| -|Fru_[{#SNMPINDEX}]_Name|

-

|`SNMP agent`|FruName[{#SNMPINDEX}]

Update: 30s

LLD

| -|HardDisk_[{#SNMPINDEX}]_HealthStatus|

The hard disk health status

|`SNMP agent`|HardDiskHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|HardDisk_[{#SNMPINDEX}]_Location|

The location of hard disk

|`SNMP agent`|HardDiskStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|Power_[{#SNMPINDEX}]_Cost|

Information about the cost of power. The unit is watt.

|`SNMP agent`|PowerCost[{#SNMPINDEX}]

Update: 30s

LLD

| -|Power_[{#SNMPINDEX}]_PresnetStatus|

The present status of power supply , absence(0), presence(1)

|`SNMP agent`|PowerPresnetStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|Mem_[{#SNMPINDEX}]_Status|

-

|`SNMP agent`|MemStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|TempSensor_[{#SNMPINDEX}]_Reading|

Information about temperature reading, the unit is degree C.

|`SNMP agent`|TempSensorReading[{#SNMPINDEX}]

Update: 30s

LLD

| -|TempSensor_[{#SNMPINDEX}]_Status|

-

|`SNMP agent`|TempSensorStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|h3cCPUHealthStatus[{#SNMPINDEX}]|

Health status of the CPU overall, normal(0), caution(1), warning(2), critical(3)

|`SNMP agent`|h3cCPUHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|h3cDiskHealthStatus[{#SNMPINDEX}]|

Health status of the disk overall, normal(0), caution(1), warning(2), critical(3)

|`SNMP agent`|h3cDiskHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|h3cEntiretyHealthStatus[{#SNMPINDEX}]|

The entirety health status of this machine, normal(0), caution(1), warning(2), critical(3)

|`SNMP agent`|h3cEntiretyHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|h3cFanHealthStatus[{#SNMPINDEX}]|

Health status of the FAN overall, normal(0), caution(1), warning(2), critical(3)

|`SNMP agent`|h3cFanHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|h3cMemHealthStatus[{#SNMPINDEX}]|

Health status of the memory overall, normal(0), caution(1), warning(2), critical(3)

|`SNMP agent`|h3cMemHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|h3cPwrHealthStatus[{#SNMPINDEX}]|

Health status of the power supply overall, normal(0), caution(1), warning(2), critical(3)

|`SNMP agent`|h3cPwrHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|h3cTempHealthStatus[{#SNMPINDEX}]|

Health status of the temprature overall, normal(0), caution(1), warning(2), critical(3)

|`SNMP agent`|h3cTempHealthStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|FAN_[{#SNMPINDEX}]_PresentStatus|

-

|`SNMP agent`|FANPresentStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|FAN_[{#SNMPINDEX}]_Speed|

-

|`SNMP agent`|FANSpeed[{#SNMPINDEX}]

Update: 30s

LLD

| -|CPU_[{#SNMPINDEX}]_PresentStatus|

The present status of CPU associated with the ID.

|`SNMP agent`|CPUPresentStatus[{#SNMPINDEX}]

Update: 30s

LLD

| -|CPU_[{#SNMPINDEX}]_Status|

The working status of the CPU associated with the ID

|`SNMP agent`|CPUStatus[{#SNMPINDEX}]

Update: 30s

LLD

| - - -## Triggers - -|Name|Description|Expression|Priority| -|----|-----------|----------|--------| -|CPUStatus_alarm|

-

|

**Expression**: {H3C_basic_monitoring:CPUStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:CPUStatus[{#SNMPINDEX}].last()}=1

|warning| -|CPU_absense|

-

|

**Expression**: {H3C_basic_monitoring:CPUPresentStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:CPUPresentStatus[{#SNMPINDEX}].last()}=1

|warning| -|FAN_Status_alarm|

fan absence

|

**Expression**: {H3C_basic_monitoring:FANPresentStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:FANPresentStatus[{#SNMPINDEX}].last()}=1

|average| -|HardDiskStatus_major|

-

|

**Expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}>3

**Recovery expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}=2

|high| -|HardDiskStatus_minor|

-

|

**Expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}=3

**Recovery expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}=2

|warning| -|EntiretyHeathStatus_caution|

-

|

**Expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=1

**Recovery expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=0

|warning| -|EntiretyHeathStatus_critical|

-

|

**Expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=3

**Recovery expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=0

|high| -|EntiretyHeathStatus_warning|

-

|

**Expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=2

**Recovery expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=0

|average| -|PwrHealthStatus_caution|

-

|

**Expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=1

**Recovery expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=0

|warning| -|PwrHealthStatus_warning|

-

|

**Expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=2

**Recovery expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=0

|average| -|MemStatus_alarm|

-

|

**Expression**: {H3C_basic_monitoring:MemStatus[{#SNMPINDEX}].last()}>1

**Recovery expression**: {H3C_basic_monitoring:MemStatus[{#SNMPINDEX}].last()}=1

|warning| -|PowerPresentStatus_absense|

-

|

**Expression**: {H3C_basic_monitoring:PowerPresnetStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:PowerPresnetStatus[{#SNMPINDEX}].last()}=1

|information| -|TempSensorStatus_alarm|

-

|

**Expression**: {H3C_basic_monitoring:TempSensorStatus[{#SNMPINDEX}].last()}>2

**Recovery expression**: {H3C_basic_monitoring:TempSensorStatus[{#SNMPINDEX}].last()}=2

|warning| -|HardDiskStatus_major (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}>3

**Recovery expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}=2

|high| -|HardDiskStatus_minor (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}=3

**Recovery expression**: {H3C_basic_monitoring:HardDiskHealthStatus[{#SNMPINDEX}].last()}=2

|warning| -|PowerPresentStatus_absense (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:PowerPresnetStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:PowerPresnetStatus[{#SNMPINDEX}].last()}=1

|information| -|MemStatus_alarm (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:MemStatus[{#SNMPINDEX}].last()}>1

**Recovery expression**: {H3C_basic_monitoring:MemStatus[{#SNMPINDEX}].last()}=1

|warning| -|TempSensorStatus_alarm (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:TempSensorStatus[{#SNMPINDEX}].last()}>2

**Recovery expression**: {H3C_basic_monitoring:TempSensorStatus[{#SNMPINDEX}].last()}=2

|warning| -|EntiretyHeathStatus_caution (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=1

**Recovery expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=0

|warning| -|EntiretyHeathStatus_critical (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=3

**Recovery expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=0

|high| -|EntiretyHeathStatus_warning (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=2

**Recovery expression**: {H3C_basic_monitoring:h3cEntiretyHealthStatus[{#SNMPINDEX}].last()}=0

|average| -|PwrHealthStatus_caution (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=1

**Recovery expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=0

|warning| -|PwrHealthStatus_warning (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=2

**Recovery expression**: {H3C_basic_monitoring:h3cPwrHealthStatus[{#SNMPINDEX}].last()}=0

|average| -|FAN_Status_alarm (LLD)|

fan absence

|

**Expression**: {H3C_basic_monitoring:FANPresentStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:FANPresentStatus[{#SNMPINDEX}].last()}=1

|average| -|CPUStatus_alarm (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:CPUStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:CPUStatus[{#SNMPINDEX}].last()}=1

|warning| -|CPU_absense (LLD)|

-

|

**Expression**: {H3C_basic_monitoring:CPUPresentStatus[{#SNMPINDEX}].last()}=0

**Recovery expression**: {H3C_basic_monitoring:CPUPresentStatus[{#SNMPINDEX}].last()}=1

|warning| diff --git a/Server_Hardware/H3C/template_h3c_server_G3G5_monitor/5.0/H3C_server_G3G5_monitor.xml b/Server_Hardware/H3C/template_h3c_server_monitor/5.0/H3C_server_monitor.xml similarity index 98% rename from Server_Hardware/H3C/template_h3c_server_G3G5_monitor/5.0/H3C_server_G3G5_monitor.xml rename to Server_Hardware/H3C/template_h3c_server_monitor/5.0/H3C_server_monitor.xml index 445768058..d186b0300 100644 --- a/Server_Hardware/H3C/template_h3c_server_G3G5_monitor/5.0/H3C_server_G3G5_monitor.xml +++ b/Server_Hardware/H3C/template_h3c_server_monitor/5.0/H3C_server_monitor.xml @@ -9,9 +9,9 @@