<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>5.0</version>
    <date>2021-08-02T16:04:46Z</date>
    <groups>
        <group>
            <name>9 Templates Group</name>
        </group>
    </groups>
    <templates>
        <template>
            <template>IPMI_HPML30G9</template>
            <name>IPMI_HPML30G9</name>
            <groups>
                <group>
                    <name>9 Templates Group</name>
                </group>
            </groups>
            <applications>
                <application>
                    <name>Drives</name>
                </application>
                <application>
                    <name>Fan</name>
                </application>
                <application>
                    <name>Health</name>
                </application>
                <application>
                    <name>Power</name>
                </application>
                <application>
                    <name>Temp</name>
                </application>
            </applications>
            <items>
                <item>
                    <name>01-Inlet Ambient</name>
                    <type>IPMI</type>
                    <key>01-InletAmbient</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>01-Inlet Ambient</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>02-CPU</name>
                    <type>IPMI</type>
                    <key>02-CPU</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>02-CPU</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                    <triggers>
                        <trigger>
                            <expression>{last()}&gt;70</expression>
                            <name>Error Temp CPU on {HOSTNAME} (HW)</name>
                            <priority>HIGH</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <name>03-P1 DIMM 1-4</name>
                    <type>IPMI</type>
                    <key>03-P1DIMM1-4</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>03-P1 DIMM 1-4</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>04-HD Max</name>
                    <type>IPMI</type>
                    <key>04-HDMax</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>04-HD Max</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>05-Chipset</name>
                    <type>IPMI</type>
                    <key>05-Chipset</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>05-Chipset</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>06-P/S 1</name>
                    <type>IPMI</type>
                    <key>06-PS1</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>06-P/S 1</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>07-P/S 2</name>
                    <type>IPMI</type>
                    <key>07-PS2</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>07-P/S 2</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>08-VR P1</name>
                    <type>IPMI</type>
                    <key>08-VRP1</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>08-VR P1</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>09-PCI 1</name>
                    <type>IPMI</type>
                    <key>09-PCI1</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>09-PCI 1</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>10-PCI 2</name>
                    <type>IPMI</type>
                    <key>10-PCI2</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>10-PCI 2</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>11-PCI 3</name>
                    <type>IPMI</type>
                    <key>11-PCI3</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>11-PCI 3</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>12-PCI 4</name>
                    <type>IPMI</type>
                    <key>12-PCI4</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>12-PCI 4</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>13-PCI 1 Zone</name>
                    <type>IPMI</type>
                    <key>13-PCI1Zone</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>13-PCI 1 Zone</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>14-PCI 2 Zone</name>
                    <type>IPMI</type>
                    <key>14-PCI2Zone</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>14-PCI 2 Zone</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>15-PCI 3 Zone</name>
                    <type>IPMI</type>
                    <key>15-PCI3Zone</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>15-PCI 3 Zone</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>16-PCI 4 Zone</name>
                    <type>IPMI</type>
                    <key>16-PCI4Zone</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>16-PCI 4 Zone</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>17-LOM</name>
                    <type>IPMI</type>
                    <key>17-LOM</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>17-LOM</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>18-Storage Batt</name>
                    <type>IPMI</type>
                    <key>18-StorageBatt</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>C</units>
                    <ipmi_sensor>18-Storage Batt</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Temp</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>C32 P1I Bay 1</name>
                    <type>IPMI</type>
                    <key>C32P1IBay1</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <ipmi_sensor>C32 P1I Bay 1</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Drives</name>
                        </application>
                    </applications>
                    <triggers>
                        <trigger>
                            <expression>{last()}&gt;1</expression>
                            <name>Predictive failure Drive 1 on {HOSTNAME} (HW)</name>
                            <priority>AVERAGE</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <name>C32 P1I Bay 2</name>
                    <type>IPMI</type>
                    <key>C32P1IBay2</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <ipmi_sensor>C32 P1I Bay 2</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Drives</name>
                        </application>
                    </applications>
                    <triggers>
                        <trigger>
                            <expression>{last()}&gt;1</expression>
                            <name>Predictive failure Drive 2 on {HOSTNAME} (HW)</name>
                            <priority>AVERAGE</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <name>Fan 1</name>
                    <type>IPMI</type>
                    <key>Fan1</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>Fan 1</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Fan</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Fan</name>
                    </valuemap>
                </item>
                <item>
                    <name>Fan 1 DutyCycle</name>
                    <type>IPMI</type>
                    <key>Fan1DutyCycle</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>% Speed</units>
                    <ipmi_sensor>Fan 1 DutyCycle</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Fan</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Fan</name>
                    </valuemap>
                </item>
                <item>
                    <name>Fan 1 Presence</name>
                    <type>IPMI</type>
                    <key>Fan1Presence</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>Fan 1 Presence</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Fan</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Fan</name>
                    </valuemap>
                </item>
                <item>
                    <name>Fan 2</name>
                    <type>IPMI</type>
                    <key>Fan2</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>Fan 2</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Fan</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Fan</name>
                    </valuemap>
                </item>
                <item>
                    <name>Fan 2 DutyCycle</name>
                    <type>IPMI</type>
                    <key>Fan2DutyCycle</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <units>% Speed</units>
                    <ipmi_sensor>Fan 2 DutyCycle</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Fan</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Fan</name>
                    </valuemap>
                </item>
                <item>
                    <name>Fan 2 Presence</name>
                    <type>IPMI</type>
                    <key>Fan2Presence</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>Fan 2 Presence</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Fan</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Fan</name>
                    </valuemap>
                </item>
                <item>
                    <name>Megacell Status</name>
                    <type>IPMI</type>
                    <key>MegacellStatus</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <ipmi_sensor>Megacell Status</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Health</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Health</name>
                    </valuemap>
                </item>
                <item>
                    <name>Memory Status</name>
                    <type>IPMI</type>
                    <key>MemoryStatus</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <ipmi_sensor>Memory Status</ipmi_sensor>
                    <description>Статусы потребуется дополнять https://www.kontron.com/downloads/application_notes/an09004-at8020-sensor-user-guide-v1.0.pdf&#13;
&#13;
HEX -&gt; BINARY&#13;
64 = 01 10 0100&#13;
                  3210&#13;
01b = previous stateand/or severity inbyte 2 (01h (bit 1): Uncorrectable ECC /other uncorrectable memory error)&#13;
&#13;
10b = OEM code inbyte 3 (00h (bit 0): Correctable ECC /other correctable memory error)&#13;
&#13;
Memory/ PICMG Front Board(160.96 ) (Discrete 0x6f)/ Memory ( 0x0c)&#13;
Memory Status &#13;
00h (bit 0): Correctable ECC /other correctable memory error&#13;
01h (bit 1): Uncorrectable ECC /other uncorrectable memory error&#13;
02h (bit 2): Parity&#13;
03h (bit 3): Memory Scrub Failed (stuckbit)&#13;
04h (bit 4): Memory Device Disabled&#13;
05h (bit 5): Correctable ECC /other correctable memory error logging limit reached&#13;
06h (bit 6): Presence detected. Indicates presence of entity associated with the sensor. Typically the entity will be a ‘memory module’ or other entity representing a physically replaceable unit of memory.&#13;
07h (bit 7): Configuration error. Indicates a memory configuration error for the entity associated with the sensor. This can include when agiven implementation of the entity is not supported by the system (e.g., when the particular size of the memory module is unsupported) or that the entity is part of an unsupported memory configuration (e.g. the configuration is not supported be cause the memory module doesn’t match other memory modules).&#13;
08h (bit 8): Spare. Indicates entity associated with the sensor represents a ‘spare’ unit of memory.&#13;
09h (bit 9): Memory Automatically Throttled. (memory throttling triggered by a hardware-based mechanism operating independent from system software, such as automatic еhermal throttling or throttling to limit power consumption.)&#13;
0Ah (bit 10): Critical Overtemperature. Memory device hasentereda criticalovertemperature state, exceeding specified operating conditions. Memory devices in this state may produce errors or become inaccessible.&#13;
&#13;
[7:6] - 00b = unspecified byte 2 &#13;
01b =previous state and/or severity in byte 2 &#13;
10b = OEM code inbyte 2 &#13;
11b = sensor-specificevent extension code inbyte 2&#13;
[5:4] - 00b = unspecified byte 3&#13;
01b = reserved &#13;
10b = OEM code inbyte 3&#13;
11b = sensor-specific event extension code in byte 3&#13;
[3:0] - Offset from Event/Reading Code for discrete event state&#13;
&#13;
[7:4] - Optional offset from ‘Severity’ Event/Reading Code. (0Fh if unspecified).&#13;
[3:0] - Optional offset from Event/Reading Type Code for previous discrete event state. (0Fh if unspecified.)&#13;
&#13;
The Event Data 3 field can be used to provide anevent extension code for the 8h offset&#13;
[7:0] - Memory module/device (e.g. DIMM/SIMM/RIMM) identification, relative to the entity that the sensor is associated with (if SDR provided for this sensor).</description>
                    <applications>
                        <application>
                            <name>Health</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>IPMI Memory</name>
                    </valuemap>
                    <triggers>
                        <trigger>
                            <expression>{last()}&lt;&gt;64</expression>
                            <name>Memory status changed - need check on {HOSTNAME}</name>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <name>Power Supplies</name>
                    <type>IPMI</type>
                    <key>PowerSupplies</key>
                    <delay>120</delay>
                    <history>30d</history>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>Power Supplies</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Power</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Power Supply 1</name>
                    <type>IPMI</type>
                    <key>PowerSupply1</key>
                    <delay>120</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>Power Supply 1</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Power</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Power Supply 2</name>
                    <type>IPMI</type>
                    <key>PowerSupply2</key>
                    <delay>120</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>Power Supply 2</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Power</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>PS 1 Presence</name>
                    <type>IPMI</type>
                    <key>PS1Presence</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>PS 1 Presence</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Power</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>PS 2 Presence</name>
                    <type>IPMI</type>
                    <key>PS2Presence</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <value_type>FLOAT</value_type>
                    <ipmi_sensor>PS 2 Presence</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Power</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Sys Health LED</name>
                    <type>IPMI</type>
                    <key>SysHealthLED</key>
                    <delay>300</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <ipmi_sensor>Sys Health LED</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Health</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Fan</name>
                    </valuemap>
                </item>
                <item>
                    <name>UID</name>
                    <type>IPMI</type>
                    <key>UID</key>
                    <delay>60</delay>
                    <history>30d</history>
                    <trends>180d</trends>
                    <ipmi_sensor>UID</ipmi_sensor>
                    <applications>
                        <application>
                            <name>Health</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>Server HP Health</name>
                    </valuemap>
                    <triggers>
                        <trigger>
                            <expression>{nodata(600)}=1</expression>
                            <name>Error UID on {HOSTNAME} (HW)</name>
                            <priority>HIGH</priority>
                        </trigger>
                    </triggers>
                </item>
            </items>
        </template>
    </templates>
    <triggers>
        <trigger>
            <expression>{IPMI_HPML30G9:PowerSupply1.last()}=0 or&#13;
{IPMI_HPML30G9:PowerSupply2.last()}=0</expression>
            <name>Empty Power Supply on {HOSTNAME} (HW)</name>
            <priority>HIGH</priority>
        </trigger>
        <trigger>
            <expression>{IPMI_HPML30G9:PowerSupply1.last()}&gt;1 or&#13;
{IPMI_HPML30G9:PowerSupply2.last()}&gt;1</expression>
            <name>Error Power Supply on {HOSTNAME} (HW)</name>
            <priority>HIGH</priority>
        </trigger>
    </triggers>
    <graphs>
        <graph>
            <name>CPU</name>
            <ymax_type_1>FIXED</ymax_type_1>
            <graph_items>
                <graph_item>
                    <color>0000EE</color>
                    <item>
                        <host>IPMI_HPML30G9</host>
                        <key>02-CPU</key>
                    </item>
                </graph_item>
            </graph_items>
        </graph>
    </graphs>
    <value_maps>
        <value_map>
            <name>IPMI Memory</name>
            <mappings>
                <mapping>
                    <value>1</value>
                    <newvalue>Correctable ECC</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>Uncorrectable ECC</newvalue>
                </mapping>
                <mapping>
                    <value>4</value>
                    <newvalue>Parity</newvalue>
                </mapping>
                <mapping>
                    <value>8</value>
                    <newvalue>Memory Scrub Failed</newvalue>
                </mapping>
                <mapping>
                    <value>16</value>
                    <newvalue>Memory Device Disabled</newvalue>
                </mapping>
                <mapping>
                    <value>32</value>
                    <newvalue>Correctable ECC / other correctable memory error logging limit r</newvalue>
                </mapping>
                <mapping>
                    <value>64</value>
                    <newvalue>Presence detected</newvalue>
                </mapping>
                <mapping>
                    <value>128</value>
                    <newvalue>Configuration error</newvalue>
                </mapping>
                <mapping>
                    <value>256</value>
                    <newvalue>Spare</newvalue>
                </mapping>
                <mapping>
                    <value>512</value>
                    <newvalue>Memory Automatically Throttled</newvalue>
                </mapping>
                <mapping>
                    <value>1024</value>
                    <newvalue>Critical Overtemperature</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>Server HP Fan</name>
            <mappings>
                <mapping>
                    <value>0</value>
                    <newvalue>Error</newvalue>
                </mapping>
                <mapping>
                    <value>1</value>
                    <newvalue>OK</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>Server HP Health</name>
            <mappings>
                <mapping>
                    <value>0</value>
                    <newvalue>OK</newvalue>
                </mapping>
                <mapping>
                    <value>1</value>
                    <newvalue>Error</newvalue>
                </mapping>
            </mappings>
        </value_map>
    </value_maps>
</zabbix_export>
