diff --git a/Huawei Server HMM Template V1.1.xml b/Huawei Server HMM Template V1.1.xml
new file mode 100644
index 0000000..8086874
--- /dev/null
+++ b/Huawei Server HMM Template V1.1.xml
@@ -0,0 +1,1911 @@
+
+
+ 3.4
+ 2018-10-24T19:10:37Z
+
+
+ Huawei Server
+
+
+
+
+ Huawei Server HMM Template
+ Huawei Server HMM Template
+
+
+
+ Huawei Server
+
+
+
+
+ Blade
+
+
+ CPU
+
+
+ Fan
+
+
+ PowerSupply
+
+
+ Switch
+
+
+ System Info
+
+
+ Temperature
+
+
+
+ -
+ Ambient Temp
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.2008.1.2.4
+ Ambient_Temp
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ °C
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ SMM Ambient Temp temperature
+ 0
+
+
+ Temperature
+
+
+
+
+
+
+
+
+ -
+ Inlet Temp
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.2008.1.2.1
+ Inlet_Temp
+ 600s
+ 90d
+ 365d
+ 0
+ 0
+
+ °C
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ SMM Inlet Temp temperature
+ 0
+
+
+ Temperature
+
+
+
+
+
+
+
+
+ -
+ LSW Temp
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.2008.1.2.3
+ LSW_Temp
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ °C
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ SMM LSW Temp temperature
+ 0
+
+
+ Temperature
+
+
+
+
+
+
+
+
+ -
+ Outlet Temp
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.2008.1.2.2
+ Outlet_Temp
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ °C
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ SMM Outlet Temp temperature
+ 0
+
+
+ Temperature
+
+
+
+
+
+
+
+
+ -
+ shelfHealth
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.2.5.0
+ shelfHealth
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Health information about a particular Location.
+ This will be one of the following:
+ (0-ok, 1-minor, 2-major, 3-majorandminor,4-critical,5-criticalandminor,6-criticalandmajor,7-criticalandmajorandminor)
+ 0
+
+
+ System Info
+
+
+
+ Huawei server HMMsystemHealth
+
+
+
+
+
+
+ -
+ shelfRealTimePower
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.2.13.0
+ shelfRealTimePower
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ W
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ System Info
+
+
+
+
+
+
+
+
+ -
+ shelfSerialNumber
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.2.2001.1.15.0
+ shelfSerialNumber
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Used to read the shelf Serial Number from the Fru.
+ 8
+
+
+ System Info
+
+
+
+
+
+
+
+
+ -
+ smmDeviceID
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.7.0
+ smmDeviceID
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Display the contents of the DEVICE ID information.
+ The fields are space separated:
+ Field 1 - Device ID
+ Field 2 - SDR Support
+ Field 3 - Device Revision
+ Field 4 - Device Available
+ Field 5 - Firmware Revision
+ Field 6 - IPMI Version
+ Field 7 - shelf Support
+ Field 8 - Bridge Support
+ Field 9 - IPMB Event Generator Support
+ Field 10 - IPMB Event Receiver Support
+ Field 11 - FRU Inventory Support
+ Field 12 - SEL Support
+ Field 13 - SDR Repository Support
+ Field 14 - Sensor Support
+ Field 15 - Manufacturer ID
+ Field 16 - Product ID
+ Field 17 - Aux Firmware Revision
+ 10
+
+
+ System Info
+
+
+
+
+
+
+
+
+ -
+ smmEthMac
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.2005.1.7.0
+ smmEthMac
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Get Eth MAC
+ 12
+
+
+ System Info
+
+
+
+
+
+
+
+
+ -
+ smmHealth
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.9.0
+ smmHealth
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ smmHealth information about a particular smmLocation.
+ This will be one of the following:
+ (0-ok, 1-minor, 2-major, 3-majorandminor,4-critical,5-criticalandminor,6-criticalandmajor,7-criticalandmajorandminor)
+ 0
+
+
+ System Info
+
+
+
+ Huawei server HMMsystemHealth
+
+
+
+
+
+
+ -
+ smmHostname
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.49.0
+ smmHostname
+ 86400s
+ 30d
+ 0
+ 0
+ 1
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Get the Hostname.
+ 3
+
+
+ System Info
+
+
+
+
+
+
+ 5
+ :.*
+\0
+
+
+ 3
+ :
+
+
+
+
+
+ -
+ smmProductName
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.3.74.0
+ smmProductName
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ The version of the smm software.
+ 1
+
+
+ System Info
+
+
+
+
+
+
+
+
+ -
+ sysName
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.2.1.1.5.0
+ sysName
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ An administratively-assigned name for this
+ managed node. By convention, this is the node's
+ fully-qualified domain name.
+ 5
+
+
+ System Info
+
+
+
+
+
+
+
+
+ -
+ systemHealth
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.1.1.0
+ systemHealth
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ systemHealth information about a particular systemLocation.
+ This will be one of the following:
+ (0-ok, 1-minor, 2-major, 3-majorandminor,4-critical,5-criticalandminor,6-criticalandmajor,7-criticalandmajorandminor)
+ 0
+
+
+ System Info
+
+
+
+ Huawei server HMMsystemHealth
+
+
+
+
+
+
+
+
+
+ mBlade
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE1},.1.3.6.1.4.1.2011.2.82.1.82.100.1.2001.1.1,{#SNMPCPU8},.1.3.6.1.4.1.2011.2.82.1.82.4.8.2006.1.1]
+ mBladeHealth-[{#SNMPVALUE1}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+ b1Health information about a particular b1Location.
+ This will be one of the following:
+ (0-ok, 1-minor, 2-major, 3-majorandminor,4-critical,5-criticalandminor,6-criticalandmajor,7-criticalandmajorandminor)
+
+
+ blade $1 System CPU Usage
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.4.{#SNMPINDEX}.60.0
+ bladeCPUusage[{#SNMPVALUE1}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Blade
+
+
+
+ Huawei sever invalid CPU usage
+
+
+
+
+
+
+
+
+ blade $1 Inlet Temperature
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.4.{#SNMPINDEX}.2012.1.2.1
+ bladeInletTemp[{#SNMPVALUE1}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+ °C
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Blade
+
+
+
+ Huawei sever HMM Blade temperature
+
+
+
+
+
+
+
+
+ Blade $1 Real Time Power
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.4.{#SNMPINDEX}.43.0
+ bladeRealTimePower[{#SNMPVALUE1}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+ W
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Blade
+
+
+
+
+
+
+
+
+
+
+ blade $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.100.1.2001.1.3.{#SNMPINDEX}
+ bladestatus[{#SNMPVALUE1}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Blade
+
+
+
+ Huawei server smmHealth
+
+
+
+
+
+
+
+
+ blade $1 CPU Power
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.4.{#SNMPINDEX}.62.0
+ CPUPower[{#SNMPVALUE1}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+ W
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ CPU
+
+
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server HMM Template:bladestatus[{#SNMPVALUE1}].last()}=4
+ 0
+
+ blade [{#SNMPVALUE1}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:bladestatus[{#SNMPVALUE1}].last()}=3
+ 0
+
+ blade [{#SNMPVALUE1}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:bladestatus[{#SNMPVALUE1}].last()}=2
+ 0
+
+ blade [{#SNMPVALUE1}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+ blade [{#SNMPVALUE1}] CPU Power
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ CPUPower[{#SNMPVALUE1}]
+
+
+
+
+
+ blade [{#SNMPVALUE1}] Inlet Temperature
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ bladeInletTemp[{#SNMPVALUE1}]
+
+
+
+
+
+ blade [{#SNMPVALUE1}] Real Time Power
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ CPUPower[{#SNMPVALUE1}]
+
+
+
+
+
+ blade[{#SNMPVALUE1}] System CPU Usage
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ bladeCPUusage[{#SNMPVALUE1}]
+
+
+
+
+
+
+
+
+
+ mFan
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.82.1.82.100.3.2001.1.1]
+ mFanHealth-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+ Fantray health level information.
+
+
+ fan $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.100.3.2001.1.3.{#SNMPINDEX}
+ mFanHealth[{#SNMPVALUE}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ 1: normal(1)
+2: minor(2)
+3: major(3)
+4: critical(4)
+ 0
+
+
+ Fan
+
+
+
+ Huawei server smmHealth
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server HMM Template:mFanHealth[{#SNMPVALUE}].last()}=4
+ 0
+
+ fan [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:mFanHealth[{#SNMPVALUE}].last()}=3
+ 0
+
+ fan [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:mFanHealth[{#SNMPVALUE}].last()}=2
+ 0
+
+ fan [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ mPsu
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.82.1.82.100.4.2001.1.1]
+ mPsuHealth-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+ PSU health level information.
+
+
+ powerSupply $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.100.4.2001.1.3.{#SNMPINDEX}
+ powerSupply[{#SNMPVALUE}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ PowerSupply
+
+
+
+ Huawei server smmHealth
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server HMM Template:powerSupply[{#SNMPVALUE}].last()}=4
+ 0
+
+ powerSupply [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:powerSupply[{#SNMPVALUE}].last()}=3
+ 0
+
+ powerSupply [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:powerSupply[{#SNMPVALUE}].last()}=2
+ 0
+
+ powerSupply [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ mSwi
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.82.1.82.100.2.2001.1.1]
+ mSwiHealth-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+ Switch health level information.
+
+
+ switch $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.82.1.82.100.2.2001.1.3.{#SNMPINDEX}
+ switch[{#SNMPVALUE}]
+ 600s
+ 7d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Switch
+
+
+
+ Huawei server smmHealth
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server HMM Template:switch[{#SNMPVALUE}].last()}=4
+ 0
+
+ switch [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:switch[{#SNMPVALUE}].last()}=3
+ 0
+
+ switch [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:switch[{#SNMPVALUE}].last()}=2
+ 0
+
+ switch [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+ {$SNMP_COMMUNITY}
+ Huawei12#$
+
+
+ {$SNMP_PORT}
+ 161
+
+
+
+
+
+
+
+
+ {Huawei Server HMM Template:shelfHealth.last()}>3 and {Huawei Server HMM Template:shelfHealth.last()}<8
+ 0
+
+ HMMshelfHealth critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:shelfHealth.last()}=2 or {Huawei Server HMM Template:shelfHealth.last()}=3
+ 0
+
+ HMMshelfHealth major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:shelfHealth.last()}=1
+ 0
+
+ HMMshelfHealth minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:systemHealth.last()}>3 and {Huawei Server HMM Template:systemHealth.last()}<8
+ 0
+
+ HMMsystemHealth critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:systemHealth.last()}=2 or {Huawei Server HMM Template:systemHealth.last()}=3
+ 0
+
+ HMMsystemHealth major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:systemHealth.last()}=1
+ 0
+
+ HMMsystemHealth minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:smmHealth.last()}>3 and {Huawei Server HMM Template:systemHealth.last()}<8
+ 0
+
+ smmHealth critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:smmHealth.last()}=2 or
+{Huawei Server HMM Template:smmHealth.last()}=3
+ 0
+
+ smmHealth major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server HMM Template:smmHealth.last()}=1
+ 0
+
+ smmHealth minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+ Ambient Temperature (°C)
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ Ambient_Temp
+
+
+
+
+
+ inlet Temperature (°C)
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ Inlet_Temp
+
+
+
+
+
+ LSW Temperature (°C)
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ LSW_Temp
+
+
+
+
+
+ outlet Temperature (°C)
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ Outlet_Temp
+
+
+
+
+
+ shelfRealTimePower (W)
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server HMM Template
+ shelfRealTimePower
+
+
+
+
+
+
+
+ Huawei server HMMsystemHealth
+
+
+ 0
+ ok
+
+
+ 1
+ minor
+
+
+ 2
+ major
+
+
+ 3
+ majorandminor
+
+
+ 4
+ critical
+
+
+ 5
+ criticalandminor
+
+
+ 6
+ criticalandmajor
+
+
+ 7
+ criticalandmajorandminor
+
+
+
+
+ Huawei server smmHealth
+
+
+ 1
+ normal
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+
+
+ Huawei sever HMM Blade temperature
+
+
+ 2.15 G
+ Invalide Temperature value
+
+
+ 2.15 G°C
+ Invalide Temperature value
+
+
+ 2147483647
+ Invalide Temperature value
+
+
+ 2147483647°C
+ Invalide Temperature value
+
+
+
+
+ Huawei sever invalid CPU usage
+
+
+ 65535 %
+ invalid current CPU usage
+
+
+ 65536
+ invalid current CPU usage
+
+
+
+
+
diff --git a/Huawei Server ValueMap V1.1.xml b/Huawei Server ValueMap V1.1.xml
new file mode 100644
index 0000000..379dec5
--- /dev/null
+++ b/Huawei Server ValueMap V1.1.xml
@@ -0,0 +1,419 @@
+
+
+ 3.4
+ 2018-10-22T11:38:58Z
+
+
+ Huawei server fanEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei server hardDiskEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei server HMMsystemHealth
+
+
+ 0
+ ok
+
+
+ 1
+ minor
+
+
+ 2
+ major
+
+
+ 3
+ majorandminor
+
+
+ 4
+ critical
+
+
+ 5
+ criticalandminor
+
+
+ 6
+ criticalandmajor
+
+
+ 7
+ criticalandmajorandminor
+
+
+
+
+ Huawei server hwEntityFanState
+
+
+ 1
+ normal
+
+
+ 2
+ abnormal
+
+
+
+
+ Huawei server invalid Memory usage
+
+
+ 65536
+ invalid current memory usage
+
+
+
+
+ Huawei server memoryEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei server powerSupplyEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei server raidControllerHealthStatus
+
+
+ 0
+ ok
+
+
+ 1
+ memory correctable error
+
+
+ 2
+ memory uncorrectable error
+
+
+ 3
+ memory correctable error and memory uncorrectable error
+
+
+ 4
+ memory ECC error reached limit
+
+
+ 5
+ memory ECC error reached limit and memory correctable error
+
+
+ 6
+ memory ECC error reached limit and memory uncorrectable error
+
+
+ 7
+ memory ECC error reached limit | uncorrectable|correctable error
+
+
+ 8
+ NVRAM uncorrectable error
+
+
+ 9
+ NVRAM uncorrectable error and memory correctable error
+
+
+ 10
+ NVRAM uncorrectable error and memory uncorrectable error
+
+
+ 11
+ NVRAM uncorrectable error | uncorrectable|correctable error
+
+
+ 12
+ NVRAM uncorrectable error and memory ECC error reached limit
+
+
+ 13
+ NVRAM uncorrectableError|ECC ErrorReachedLimit|correctableError
+
+
+ 14
+ NVRAM|memory uncorrectableError|ECC ErrorReachedLimit
+
+
+ 15
+ NVRAM|memory Uncorrectable Error|ECC ErrorReachedLimit
+
+
+ 65535
+ unknown
+
+
+
+
+ Huawei server smmHealth
+
+
+ 1
+ normal
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+
+
+ Huawei server systemHealth
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+
+
+ Huawei sever cpuEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei sever HMM Blade temperature
+
+
+ 2.15 G
+ Invalide Temperature value
+
+
+ 2.15 G°C
+ Invalide Temperature value
+
+
+ 2147483647
+ Invalide Temperature value
+
+
+ 2147483647°C
+ Invalide Temperature value
+
+
+
+
+ Huawei sever invalid CPU usage
+
+
+ 65535 %
+ invalid current CPU usage
+
+
+ 65536
+ invalid current CPU usage
+
+
+
+
+ Huawei sever invalid Memory usage
+
+
+ 65536
+ invalid current memory usage
+
+
+
+
+ Huawei sever memoryEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei sever systemHealth
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+
+
+
diff --git a/Huawei Server iBMC Template V1.1.xml b/Huawei Server iBMC Template V1.1.xml
new file mode 100644
index 0000000..13a1b38
--- /dev/null
+++ b/Huawei Server iBMC Template V1.1.xml
@@ -0,0 +1,2392 @@
+
+
+ 3.4
+ 2018-10-24T15:34:02Z
+
+
+ Huawei Server
+
+
+
+
+ Huawei Server iBMC Template
+ Huawei Server iBMC Template
+
+
+
+ Huawei Server
+
+
+
+
+ CPU
+
+
+ EntireStatus
+
+
+ Fan
+
+
+ HardDisk
+
+
+ Memory
+
+
+ PowerSupply
+
+
+ RaidController
+
+
+ System
+
+
+ Temperature
+
+
+
+ -
+ averagePower
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.20.3.0
+ averagePower
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ W
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ cpuEntireStatus
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.15.1.0
+ cpuEntireStatus
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Information about all cpu health status.
+ 0
+
+
+ EntireStatus
+
+
+
+ Huawei sever cpuEntireStatus
+
+
+
+
+
+
+ -
+ deviceName
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.6.0
+ deviceName
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ The device name value between 1 to 63 characters.
+ 1
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ deviceSerialNo
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.7.0
+ deviceSerialNo
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ The device serial number value between 1 to 63 characters.
+ 8
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ diskPartitionUsagethreshold
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.28.0
+ diskPartitionUsage
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Percent of hard disk partition usage threshold.
+ This value is in [0,100].
+ 0
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ ethMACAddress
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.12.50.1.6.1
+ ethMACAddress
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Information about MAC address.
+ 12
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ fanEntireStatus
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.8.3.0
+ fanEntireStatus
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Information about all fan health status.
+ 0
+
+
+ EntireStatus
+
+
+
+ Huawei server fanEntireStatus
+
+
+
+
+
+
+ -
+ hardDiskEntireStatus
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.18.1.0
+ hardDiskEntireStatus
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Information about all hard disk health status.
+ 0
+
+
+ EntireStatus
+
+
+
+ Huawei server hardDiskEntireStatus
+
+
+
+
+
+
+ -
+ hostName
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.9.0
+ hostName
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ The host name between 1 to 64 characters.
+ Supported characters: 0-9 a-z A-Z - ('-' is not allowed to be the first/last character).
+ Default value is huawei.
+ 3
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ memoryEntireStatus
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.16.1.0
+ memoryEntireStatus
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Information about all memory health status.
+ 0
+
+
+ EntireStatus
+
+
+
+ Huawei sever memoryEntireStatus
+
+
+
+
+
+
+ -
+ peakPower
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.20.1.0
+ peakPower
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ W
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ System peak power, unit is W.
+ 0
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ powerConsumption(kWh)
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.20.4.0
+ powerConsumption
+ 600s
+ 90d
+ 365d
+ 0
+ 0
+
+ kWh
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Power consume from power statistic start time, unit is kWh.
+ 0
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ powerSupplyEntireStatus
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.6.1.0
+ powerSupplyEntireStatus
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Information about all power supply health status.
+ 0
+
+
+ EntireStatus
+
+
+
+ Huawei server powerSupplyEntireStatus
+
+
+
+
+
+
+ -
+ presentSystemPower
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.13.0
+ presentSystemPower
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ W
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Display the present system power.
+ 0
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ sysName
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.2.1.1.5.0
+ sysName
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ An administratively-assigned name for this
+ managed node. By convention, this is the node's
+ fully-qualified domain name.
+ 5
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ systemCpuUsage
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.23.0
+ systemCpuUsage
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Percent of CPU usage.
+ The value defined as:
+ -1: invalid current CPU usage.
+ [0,100]: represents the current CPU usage.
+ 0
+
+
+ System
+
+
+
+ Huawei sever invalid CPU usage
+
+
+
+
+
+
+ -
+ systemGuid
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.10.0
+ systemGuid
+ 86400s
+ 30d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 10
+
+
+ System
+
+
+
+
+
+
+
+
+ -
+ systemHealth
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.1.0
+ systemHealth
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ systemHealth information about system present state of health.
+ This value will be one of the following:
+ (1-OK, 2-Minor, 3-Major, 4-Critical)
+ 0
+
+
+ System
+
+
+
+ Huawei sever systemHealth
+
+
+
+
+
+
+ -
+ systemMemUsage
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.1.25.0
+ systemMemUsage
+ 600s
+ 90d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Percent of memory usage.
+ The value defined as:
+ -1: invalid current memory usage.
+ [0,100]: represents the current memory usage.
+ 0
+
+
+ System
+
+
+
+ Huawei server invalid Memory usage
+
+
+
+
+
+
+ -
+ Inlet Temperature
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.26.50.1.3.1
+ temperatureVlue
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+ °C
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Temperature
+
+
+
+
+
+
+ 1
+ 0.1
+
+
+
+
+
+
+
+
+ cpuStatus
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.235.1.1.15.50.1.1]
+ cpuStatus-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+ Information about CPU index.
+
+
+ cpu $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.15.50.1.6.{#SNMPINDEX}
+ cpuStatus[{#SNMPVALUE}]
+ 600s
+ 7d
+ 90d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ CPU
+
+
+
+ Huawei sever cpuEntireStatus
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server iBMC Template:cpuStatus[{#SNMPVALUE}].last()}=4
+ 0
+
+ cpu [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:cpuStatus[{#SNMPVALUE}].last()}=3
+ 0
+
+ cpu [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:cpuStatus[{#SNMPVALUE}].last()}=2
+ 0
+
+ cpu [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ fanStatus
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.235.1.1.8.50.1.1]
+ fanStatus-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+
+
+
+ fan $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.8.50.1.4.{#SNMPINDEX}
+ fanStatus[{#SNMPVALUE}]
+ 600s
+ 7d
+ 90d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Fan
+
+
+
+ Huawei server fanEntireStatus
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server iBMC Template:fanStatus[{#SNMPVALUE}].last()}=4
+ 0
+
+ fan [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:fanStatus[{#SNMPVALUE}].last()}=3
+ 0
+
+ fan [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:fanStatus[{#SNMPVALUE}].last()}=2
+ 0
+
+ fan [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ hardDiskStatus
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.235.1.1.18.50.1.1]
+ hardDiskStatus-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+
+
+
+ hardDisk $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.18.50.1.3.{#SNMPINDEX}
+ hardDiskStatus[{#SNMPVALUE}]
+ 600s
+ 7d
+ 90d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ HardDisk
+
+
+
+ Huawei server hardDiskEntireStatus
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server iBMC Template:hardDiskStatus[{#SNMPVALUE}].last()}=4
+ 0
+
+ hardDisk [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:hardDiskStatus[{#SNMPVALUE}].last()}=3
+ 0
+
+ hardDisk [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:hardDiskStatus[{#SNMPVALUE}].last()}=2
+ 0
+
+ hardDisk [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ memoryStatus
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.235.1.1.16.50.1.1]
+ memoryStatus-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+
+
+
+ memory $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.16.50.1.6.{#SNMPINDEX}
+ memoryStatus[{#SNMPVALUE}]
+ 600s
+ 7d
+ 90d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Memory
+
+
+
+ Huawei sever memoryEntireStatus
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server iBMC Template:memoryStatus[{#SNMPVALUE}].last()}=4
+ 0
+
+ memory [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:memoryStatus[{#SNMPVALUE}].last()}=3
+ 0
+
+ memory [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:memoryStatus[{#SNMPVALUE}].last()}=2
+ 0
+
+ memory [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ powerSupplyStatus
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.235.1.1.6.50.1.1]
+ powerSupplyStatus-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+
+
+
+ powerSupply $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.6.50.1.7.{#SNMPINDEX}
+ powerSupplyStatus[{#SNMPVALUE}]
+ 600s
+ 7d
+ 90d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+ Information about power status.
+ 0
+
+
+ PowerSupply
+
+
+
+ Huawei server powerSupplyEntireStatus
+
+
+
+
+
+
+
+
+
+
+ {Huawei Server iBMC Template:powerSupplyStatus[{#SNMPVALUE}].last()}=4
+ 0
+
+ powerSupply [{#SNMPVALUE}] status critical
+ 0
+
+
+ 0
+ 5
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:powerSupplyStatus[{#SNMPVALUE}].last()}=3
+ 0
+
+ powerSupply [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:powerSupplyStatus[{#SNMPVALUE}].last()}=2
+ 0
+
+ powerSupply [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ raidControllerStatus
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},.1.3.6.1.4.1.2011.2.235.1.1.36.50.1.1]
+ raidControllerStatus-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ 0d
+
+
+
+ raidController $1 Status
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.36.50.1.7.{#SNMPINDEX}
+ raidControllerStatus[{#SNMPVALUE}]
+ 600s
+ 7d
+ 90d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ RaidController
+
+
+
+ Huawei server raidControllerHealthStatus
+
+
+
+
+
+
+
+
+
+
+ ({Huawei Server iBMC Template:raidControllerStatus[{#SNMPVALUE}].last()}>2 and {Huawei Server iBMC Template:raidControllerStatus[{#SNMPVALUE}].last()}<16 ) or {Huawei Server iBMC Template:raidControllerStatus[{#SNMPVALUE}].last()}=2
+ 0
+
+ raidController [{#SNMPVALUE}] status major
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:raidControllerStatus[{#SNMPVALUE}].last()}=1
+ 0
+
+ raidController [{#SNMPVALUE}] status minor
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+ temperature
+ 4
+ {$SNMP_COMMUNITY}
+ discovery[{#SNMPVALUE},1.3.6.1.4.1.2011.2.235.1.1.26.50.1.1,{#SNMPITEM},1.3.6.1.4.1.2011.2.235.1.1.26.50.1.2]
+ temperature-[{#SNMPVALUE}]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+
+ {#SNMPINDEX}
+ ^(2|3|4|5|6|7)$
+ 8
+ A
+
+
+
+ 0d
+
+
+
+ {#SNMPITEM} Temperature
+ 4
+ {$SNMP_COMMUNITY}
+ 1.3.6.1.4.1.2011.2.235.1.1.26.50.1.3.{#SNMPINDEX}
+ temperatureVlue[{#SNMPVALUE}]
+ 600s
+ 7d
+ 90d
+ 0
+ 3
+
+ °C
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+ {$SNMP_PORT}
+
+ 0
+
+
+ Temperature
+
+
+
+
+
+
+ 1
+ 0.1
+
+
+
+
+
+
+
+
+
+
+ {#SNMPITEM} Temperature
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server iBMC Template
+ temperatureVlue[{#SNMPVALUE}]
+
+
+
+
+
+
+
+
+
+
+
+
+ {$SNMP_COMMUNITY}
+ Huawei12#$
+
+
+ {$SNMP_PORT}
+ 161
+
+
+
+
+
+
+
+
+ {Huawei Server iBMC Template:systemHealth.last()}=4
+ 0
+
+ systemHealth Critical
+ 0
+
+
+ 0
+ 5
+ systemHealth information about system present state of health.
+ This value will be one of the following:
+ (1-OK, 2-Minor, 3-Major, 4-Critical)
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:systemHealth.last()}=3
+ 0
+
+ systemHealth major
+ 0
+
+
+ 0
+ 4
+ systemHealth information about system present state of health.
+ This value will be one of the following:
+ (1-OK, 2-Minor, 3-Major, 4-Critical)
+ 0
+ 0
+
+
+
+
+ {Huawei Server iBMC Template:systemHealth.last()}=2
+ 0
+
+ systemHealth minor
+ 0
+
+
+ 0
+ 2
+ systemHealth information about system present state of health.
+ 0
+ 0
+
+
+
+
+
+
+ averagePower
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server iBMC Template
+ averagePower
+
+
+
+
+
+ diskPartitionUsage
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server iBMC Template
+ diskPartitionUsage
+
+
+
+
+
+ InletTemperature
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server iBMC Template
+ temperatureVlue
+
+
+
+
+
+ peakPower
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server iBMC Template
+ peakPower
+
+
+
+
+
+ powerConsumption
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server iBMC Template
+ powerConsumption
+
+
+
+
+
+ presentSystemPower
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 2
+ 0
+ -
+ Huawei Server iBMC Template
+ presentSystemPower
+
+
+
+
+
+ systemCpuUsage
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 7
+ 0
+ -
+ Huawei Server iBMC Template
+ systemCpuUsage
+
+
+
+
+
+ systemMemUsage
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 1A7C11
+ 0
+ 7
+ 0
+ -
+ Huawei Server iBMC Template
+ systemMemUsage
+
+
+
+
+
+
+
+ Huawei server fanEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei server hardDiskEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei server invalid Memory usage
+
+
+ 65536
+ invalid current memory usage
+
+
+
+
+ Huawei server powerSupplyEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei server raidControllerHealthStatus
+
+
+ 0
+ ok
+
+
+ 1
+ memory correctable error
+
+
+ 2
+ memory uncorrectable error
+
+
+ 3
+ memory correctable error and memory uncorrectable error
+
+
+ 4
+ memory ECC error reached limit
+
+
+ 5
+ memory ECC error reached limit and memory correctable error
+
+
+ 6
+ memory ECC error reached limit and memory uncorrectable error
+
+
+ 7
+ memory ECC error reached limit | uncorrectable|correctable error
+
+
+ 8
+ NVRAM uncorrectable error
+
+
+ 9
+ NVRAM uncorrectable error and memory correctable error
+
+
+ 10
+ NVRAM uncorrectable error and memory uncorrectable error
+
+
+ 11
+ NVRAM uncorrectable error | uncorrectable|correctable error
+
+
+ 12
+ NVRAM uncorrectable error and memory ECC error reached limit
+
+
+ 13
+ NVRAM uncorrectableError|ECC ErrorReachedLimit|correctableError
+
+
+ 14
+ NVRAM|memory uncorrectableError|ECC ErrorReachedLimit
+
+
+ 15
+ NVRAM|memory Uncorrectable Error|ECC ErrorReachedLimit
+
+
+ 65535
+ unknown
+
+
+
+
+ Huawei sever cpuEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei sever invalid CPU usage
+
+
+ 65535 %
+ invalid current CPU usage
+
+
+ 65536
+ invalid current CPU usage
+
+
+
+
+ Huawei sever memoryEntireStatus
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+ 5
+ absence
+
+
+ 6
+ unknown
+
+
+
+
+ Huawei sever systemHealth
+
+
+ 1
+ ok
+
+
+ 2
+ minor
+
+
+ 3
+ major
+
+
+ 4
+ critical
+
+
+
+
+
diff --git a/README.md b/README.md
index 4d0310f..dd7ec36 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,83 @@
-# Server_Management_Plugin_Zabbix
\ No newline at end of file
+# 1.Zabbix Template Introduction
+
+Zabbix is free and open-source software. After a Huawei iBMC or HMM template is imported and community names of servers are configured in the template, you can view server asset information, monitor server component alarms, and view server temperature change curves, CPU and memory usage change curves, and real-time power change diagrams on the Zabbix WebUI.
+
+**Zabbix Template Names:**
+- Huawei - ValueMap V1.0.xml
+- Huawei - iBMC V1.0.xml
+- Huawei - HMM V1.0.xml
+
+**Supported Versions:**
+- Zabbix 3.4.X
+- Zabbix 4.0.X
+
+**Mapping Software:**
+- MM910: (U54) 6.86D or later
+- iBMC: 2.94 (U25) or later
+
+
+# 2.Template Functions
+
+**iBMC Template:**
+- Latest data: CPU, fan, hard disk, iBMC system information, memory, power supply, RAID controller card, and temperature
+- Problems and triggers: system health status, CPU status, fan status, power supply status, hard disk status, and memory status
+- Graphs: inlet temperature, power consumption, system CPU usage, averagePower, peakPower, presentSystemPower and system memory usage
+- Inventory: type, name, OS, serial number, tag, and MAC address
+
+**HMM Template:**
+- Latest data: CPU, fan, power supply, switch, system information, and temperature
+- Problems and triggers: system health, chassis health, SMM health, blade status, fan status, power supply status, and switch status
+- Graphs: ambient temperature, inlet temperature, LSW temperature, outlet temperature, real-time chassis power, blade CPU power, blade inlet temperature, real-time blade power, and blade system CPU usage
+- Inventory: type, name, OS, serial number, tag, and MAC address
+
+
+# 3.Template Configuration
+
+## 3.1 Configuring the iBMC
+- Step 1 Log in to the iBMC WebUI.
+- Step 2 Choose Configuration > System.
+- Step 3 Select SNMPv2c, and set the community name.
+
+## 3.2 Configuring the HMM
+- Step 1 Log in to the HMM CLI.
+- Step 2 Run the following command to configure the SNMPv2c protocol:
+ smmset -l smm -d snmpconfig -v v2c enable
+- Step 3 Enter y to confirm the configuration information.
+- Step 4 Run the following command to enter the community name configuration:
+ smmset -l smm -d snmpconfig -v community
+Step 5 Enter a community name.
+
+## 3.3 Importing and Configuring a Template
+**3.3.1 Importing a ValueMap Template**
+- Step 1 Log in to GitHub and obtain the Huawei Server ValueMap V1.1.xml template.
+- Step 2 Log in to the Zabbix WebUI.
+- Step 3 Choose Administration > General.
+- Step 4 Select Value mapping from the drop-down list box.
+- Step 5 Click Import to go to the import page.
+- Step 6 Click Browse and select the template obtained in step 1.
+- Step 7 Click Import.
+
+**3.3.2 Importing an iBMC or HMM Template**
+- Step 1 Log in to GitHub and obtain the Huawei Server iBMC Template V1.1.xml or Huawei Server HMM Template V1.1.xml template.
+- Step 2 Log in to the Zabbix WebUI.
+- Step 3 Choose Configuration > Templates.
+- Step 4 Click Import to go to the import page.
+- Step 5 Click Browse and select the template obtained in step 1.
+- Step 6 Click Import.
+
+**3.3.3 Configuring a Template**
+- Step 1 Log in to the Zabbix WebUI.
+- Step 2 Choose Configuration > Templates.
+- Step 3 Select the template to be imported.
+- Step 4 Select Macros and set {$SNMP_COMMUNITY} and {$SNMP_PORT}.
+ The value of {$SNMP_COMMUNITY} is the community name configured in section 3.1 or section 3.2.
+ Retain the default value 161 for {$SNMP_PORT}.
+- Step 5 Click Update.
+
+**3.3.4 Adding a Host**
+- Step 1 Log in to the Zabbix WebUI.
+- Step 2 Choose Configuration > Hosts.The Hosts page is displayed.
+- Step 3 Select Create Hosts to go to the creation page.
+ Set In groups under Groups to Huawei Server.
+ Set IP address and Port under SNMP interfaces to the iBMC IP address and 161 respectively.
+- Step 4 Click Update.