﻿<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>7.0</version>
    <template_groups>
        <template_group>
            <uuid>8c0e3cb77b9b4f8f9bb8e1dcb4a03c51</uuid>
            <name>Templates/Server hardware</name>
        </template_group>
    </template_groups>
    <templates>
        <template>
            <uuid>f86d55fd6f0344969cf7cbd6348af1a9</uuid>
            <template>NT Pantera-26 G3 Redfish</template>
            <name>NT Pantera-26 G3 (Redfish)</name>
            <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
            <groups>
                <group>
                    <name>Templates/Server hardware</name>
                </group>
            </groups>
            <items>
                <item>
                    <uuid>2dc26dd60d4a4c989540c592f6389af1</uuid>
                    <name>_RAW: Service root</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.root.raw</key>
                    <delay>{$POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>7712c134d03f42cc896d0fb2952d192c</uuid>
                    <name>_RAW: System</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.system.raw</key>
                    <delay>{$AUTH_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Systems/{$SYSTEM_ID}</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>4f3d43c7ef9341ba9605ad4ba0127339</uuid>
                    <name>_RAW: Chassis</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.chassis.raw</key>
                    <delay>{$AUTH_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Chassis/{$CHASSIS_ID}</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>d3df7ce57dab4a14b6b18f17d0372d2d</uuid>
                    <name>_RAW: Manager</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.manager.raw</key>
                    <delay>{$AUTH_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Managers/{$MANAGER_ID}</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>86d3722035954868a74d48f17d1ed8bf</uuid>
                    <name>_RAW: Sensors collection</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.sensors.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Chassis/{$CHASSIS_ID}/Sensors</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>f8d1acfb20f54e96bc038fc02097530d</uuid>
                    <name>_RAW: Memory collection</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.memory.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Systems/{$SYSTEM_ID}/Memory</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>c732fa71fc374f8888d1263d42f956c5</uuid>
                    <name>_RAW: Processor collection</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.processors.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Systems/{$SYSTEM_ID}/Processors</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>c6cc41572a544c048f666e3ca4254ef8</uuid>
                    <name>_RAW: Storage collection</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.storage.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Systems/{$SYSTEM_ID}/Storage</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>82f8f6b1c2484e0a8d4102258d55bdc6</uuid>
                    <name>_RAW: PCIe device collection</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.pcie.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Systems/{$SYSTEM_ID}/PCIeDevices</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>1f9024aaf06349e08b10ef06e4d35b32</uuid>
                    <name>_RAW: Baseboard thermal</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.baseboard.thermal.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Chassis/{$CHASSIS_ID}/Thermal</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>da8773e0d3b74f7f839fc896f990714d</uuid>
                    <name>_RAW: Baseboard power</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.baseboard.power.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Chassis/{$CHASSIS_ID}/Power</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>5874f22196454f8ca8ddc71c8cb413a0</uuid>
                    <name>_RAW: Fan thermal</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.fan.thermal.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Chassis/{$FAN_CHASSIS_ID}/Thermal</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>f1f7074890fb492ba7128aaee95ca1fc</uuid>
                    <name>_RAW: Event log</name>
                    <type>HTTP_AGENT</type>
                    <key>redfish.eventlog.raw</key>
                    <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                    <history>{$RAW_HISTORY_PERIOD}</history>
                    <value_type>TEXT</value_type>
                    <authtype>BASIC</authtype>
                    <username>{$API.USER}</username>
                    <password>{$API.PASSWORD}</password>
                    <timeout>30s</timeout>
                    <url>{$PROTOCOL}://{$HOST_IP}/redfish/v1/Systems/{$SYSTEM_ID}/LogServices/EventLog/Entries</url>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>_RAW data</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>f1e33769a5054c6f8a6d9f5cc7d7ce10</uuid>
                    <name>Event log entries count</name>
                    <type>DEPENDENT</type>
                    <key>eventlog.entries.count</key>
                    <history>30d</history>
                    <value_type>UNSIGNED</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>return JSON.parse(value).length;</parameter>
                            </parameters>
                            <error_handler>DISCARD_VALUE</error_handler>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.eventlog.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Events</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>fd9890e7de6548d1b14eb1726bf04e97</uuid>
                    <name>Last event message</name>
                    <type>DEPENDENT</type>
                    <key>eventlog.last.message</key>
                    <history>7d</history>
                    <value_type>TEXT</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members[0].Message</parameter>
                            </parameters>
                            <error_handler>DISCARD_VALUE</error_handler>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.eventlog.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Events</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>83d08b0cf22c424a8f58e9275dd8c499</uuid>
                    <name>Last event severity</name>
                    <type>DEPENDENT</type>
                    <key>eventlog.last.severity</key>
                    <history>7d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members[0].Severity</parameter>
                            </parameters>
                            <error_handler>DISCARD_VALUE</error_handler>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.eventlog.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Events</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>4da8856984694d93a0fd919bd88df2b4</uuid>
                    <name>Redfish version</name>
                    <type>DEPENDENT</type>
                    <key>redfish.version</key>
                    <history>90d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.RedfishVersion</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.root.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>bc62df4f06fc4b1f84046f41386af95a</uuid>
                    <name>System model</name>
                    <type>DEPENDENT</type>
                    <key>system.model</key>
                    <history>90d</history>
                    <value_type>CHAR</value_type>
                    <inventory_link>MODEL</inventory_link>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Model</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.system.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>a014cab7adf9496f88a257dbf53b4ff3</uuid>
                    <name>System serial number</name>
                    <type>DEPENDENT</type>
                    <key>system.serial</key>
                    <history>90d</history>
                    <value_type>CHAR</value_type>
                    <inventory_link>SERIALNO_A</inventory_link>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.SerialNumber</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.system.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>dd0cf56bbcb8490bb852fc0b69ef4c48</uuid>
                    <name>BIOS version</name>
                    <type>DEPENDENT</type>
                    <key>system.bios.version</key>
                    <history>90d</history>
                    <value_type>CHAR</value_type>
                    <inventory_link>SOFTWARE</inventory_link>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.BiosVersion</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.system.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>73559139b87546629af8b8c2e6365316</uuid>
                    <name>System power state</name>
                    <type>DEPENDENT</type>
                    <key>system.power.state</key>
                    <history>30d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.PowerState</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.system.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>e0e14bfd89ec4ec39af9d65b3f7d4a24</uuid>
                    <name>System health</name>
                    <type>DEPENDENT</type>
                    <key>system.status.health</key>
                    <history>30d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Status.Health</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.system.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>91dc64f584af47ed9812ff688da36f87</uuid>
                            <expression>find(/NT\ Pantera-26\ G3\ Redfish/system.status.health,,"regexp","^OK$")=0</expression>
                            <name>System health status is {ITEM.LASTVALUE}</name>
                            <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>fc70930679c9465781f15eef0d6f6b84</uuid>
                    <name>Total memory</name>
                    <type>DEPENDENT</type>
                    <key>system.memory.total</key>
                    <history>30d</history>
                    <value_type>FLOAT</value_type>
                    <units>GiB</units>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.MemorySummary.TotalSystemMemoryGiB</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.system.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>19642101db3244a195f60ac734e1f5a3</uuid>
                    <name>Processor count</name>
                    <type>DEPENDENT</type>
                    <key>system.processor.count</key>
                    <history>30d</history>
                    <value_type>UNSIGNED</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.ProcessorSummary.Count</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.system.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>System</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>6a1760a447844a22af403822b535ce4f</uuid>
                    <name>Chassis name</name>
                    <type>DEPENDENT</type>
                    <key>chassis.name</key>
                    <history>90d</history>
                    <value_type>CHAR</value_type>
                    <inventory_link>CHASSIS</inventory_link>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Name</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.chassis.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Chassis</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>c0b2293f0e1941d7b445a2fbeb56af28</uuid>
                    <name>Chassis health</name>
                    <type>DEPENDENT</type>
                    <key>chassis.status.health</key>
                    <history>30d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Status.Health</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.chassis.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>Chassis</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>b80e6db877bf4c66b40717ed11486352</uuid>
                            <expression>find(/NT\ Pantera-26\ G3\ Redfish/chassis.status.health,,"regexp","^OK$")=0</expression>
                            <name>Chassis health status is {ITEM.LASTVALUE}</name>
                            <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <uuid>f9d61b1a637d48d5a767b32ba8997449</uuid>
                    <name>BMC firmware version</name>
                    <type>DEPENDENT</type>
                    <key>bmc.firmware.version</key>
                    <history>90d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.FirmwareVersion</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.manager.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>BMC</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>873178c908b6494b95dad3a4ca4dddad</uuid>
                    <name>BMC date and time</name>
                    <type>DEPENDENT</type>
                    <key>bmc.datetime</key>
                    <history>30d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.DateTime</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.manager.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>BMC</value>
                        </tag>
                    </tags>
                </item>
                <item>
                    <uuid>eb0142abf88549cfbf70765aa8ce065d</uuid>
                    <name>BMC health</name>
                    <type>DEPENDENT</type>
                    <key>bmc.status.health</key>
                    <history>30d</history>
                    <value_type>CHAR</value_type>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Status.Health</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                    <master_item>
                        <key>redfish.manager.raw</key>
                    </master_item>
                    <tags>
                        <tag>
                            <tag>Application</tag>
                            <value>BMC</value>
                        </tag>
                    </tags>
                    <triggers>
                        <trigger>
                            <uuid>0b696887dfe84f5f8f113c887af37d91</uuid>
                            <expression>find(/NT\ Pantera-26\ G3\ Redfish/bmc.status.health,,"regexp","^OK$")=0</expression>
                            <name>BMC health status is {ITEM.LASTVALUE}</name>
                            <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                            <priority>WARNING</priority>
                        </trigger>
                    </triggers>
                </item>
            </items>
            <discovery_rules>
                <discovery_rule>
                    <uuid>eaeeea0bd80f4b3db59ddd8cadc35583</uuid>
                    <name>Redfish sensors</name>
                    <type>DEPENDENT</type>
                    <key>sensors.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>23f1623852724267bfdf236fd1723318</uuid>
                            <name>_RAW: Sensor {#SENSOR_ID}</name>
                            <type>HTTP_AGENT</type>
                            <key>sensor.raw[{#SENSOR_ID}]</key>
                            <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <authtype>BASIC</authtype>
                            <username>{$API.USER}</username>
                            <password>{$API.PASSWORD}</password>
                            <timeout>30s</timeout>
                            <url>{$PROTOCOL}://{$HOST_IP}{#SENSOR_URI}</url>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c5df1762981a4f4ca9f260a13c713ef2</uuid>
                            <name>Sensor {#SENSOR_ID} reading</name>
                            <type>DEPENDENT</type>
                            <key>sensor.reading[{#SENSOR_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Reading</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                                <step>
                                    <type>MATCHES_REGEX</type>
                                    <parameters>
                                        <parameter>^-?[0-9]+(\.[0-9]+)?$</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>sensor.raw[{#SENSOR_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Sensors</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>0d61dff6f60349f58f2d535c4c7fb44b</uuid>
                            <name>Sensor {#SENSOR_ID} units</name>
                            <type>DEPENDENT</type>
                            <key>sensor.units[{#SENSOR_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.ReadingUnits</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>sensor.raw[{#SENSOR_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Sensors</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>47eb8bd013624d85a87a2f4c15e98e9b</uuid>
                            <name>Sensor {#SENSOR_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>sensor.health[{#SENSOR_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>sensor.raw[{#SENSOR_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Sensors</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>d81fc0af1f6b4828a45d9d2f26fb2bb1</uuid>
                                    <expression>find(/NT\ Pantera-26\ G3\ Redfish/sensor.health[{#SENSOR_ID}],,"regexp","^OK$")=0</expression>
                                    <name>Sensor {#SENSOR_ID} health status is {ITEM.LASTVALUE}</name>
                                    <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>4590da39e1fb460390c580f7cc2c3f36</uuid>
                            <name>Sensor {#SENSOR_ID} state</name>
                            <type>DEPENDENT</type>
                            <key>sensor.state[{#SENSOR_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.State</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>sensor.raw[{#SENSOR_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Sensors</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.sensors.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#SENSOR_ID}</lld_macro>
                            <path>$.SensorId</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#SENSOR_URI}</lld_macro>
                            <path>$.[&quot;@odata.id&quot;]</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    var uri = members[i]['@odata.id'] || '';
    members[i].SensorId = uri.split('/').pop();
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>9f6dded0dbf34d4dbde4973051edaa68</uuid>
                    <name>Memory DIMMs</name>
                    <type>DEPENDENT</type>
                    <key>memory.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>1b3899099e524fa8ba8ded0d7d45dbe1</uuid>
                            <name>_RAW: DIMM {#DIMM_ID}</name>
                            <type>HTTP_AGENT</type>
                            <key>memory.raw[{#DIMM_ID}]</key>
                            <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <authtype>BASIC</authtype>
                            <username>{$API.USER}</username>
                            <password>{$API.PASSWORD}</password>
                            <timeout>30s</timeout>
                            <url>{$PROTOCOL}://{$HOST_IP}{#DIMM_URI}</url>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>fd2f7caef4454973a7576898b2e7f396</uuid>
                            <name>DIMM {#DIMM_ID} locator</name>
                            <type>DEPENDENT</type>
                            <key>memory.locator[{#DIMM_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Locator</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>memory.raw[{#DIMM_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Memory</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>d8332c9ebdb745debb0fd4e8068e2cdc</uuid>
                            <name>DIMM {#DIMM_ID} size</name>
                            <type>DEPENDENT</type>
                            <key>memory.capacity[{#DIMM_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>GiB</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.CapacityMiB</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <parameters>
                                        <parameter>0.0009765625</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>memory.raw[{#DIMM_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Memory</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>72f70e5ff67f4fd0a9f29d9a5a220090</uuid>
                            <name>DIMM {#DIMM_ID} speed</name>
                            <type>DEPENDENT</type>
                            <key>memory.speed[{#DIMM_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>GHz</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.OperatingSpeedMhz</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <parameters>
                                        <parameter>0.001</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>memory.raw[{#DIMM_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Memory</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>4c6e8369196a483bb5fac302a4a5fc78</uuid>
                            <name>DIMM {#DIMM_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>memory.health[{#DIMM_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>memory.raw[{#DIMM_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Memory</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>942f8fe7c6cb4676b059785829a30b2a</uuid>
                                    <expression>find(/NT\ Pantera-26\ G3\ Redfish/memory.health[{#DIMM_ID}],,"regexp","^OK$")=0</expression>
                                    <name>DIMM {#DIMM_ID} health status is {ITEM.LASTVALUE}</name>
                                    <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c11f3aadf9f547ad911eab668e2fd580</uuid>
                            <name>DIMM {#DIMM_ID} state</name>
                            <type>DEPENDENT</type>
                            <key>memory.state[{#DIMM_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.State</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>memory.raw[{#DIMM_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Memory</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.memory.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#DIMM_ID}</lld_macro>
                            <path>$.DimmId</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#DIMM_URI}</lld_macro>
                            <path>$.[&quot;@odata.id&quot;]</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    var uri = members[i]['@odata.id'] || '';
    members[i].DimmId = uri.split('/').pop();
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>297e6f696b9c4bb894240b311c4633e8</uuid>
                    <name>Processors</name>
                    <type>DEPENDENT</type>
                    <key>processors.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>521f74fca8c640ce9f91dad1387dbf12</uuid>
                            <name>_RAW: CPU {#CPU_ID}</name>
                            <type>HTTP_AGENT</type>
                            <key>processor.raw[{#CPU_ID}]</key>
                            <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <authtype>BASIC</authtype>
                            <username>{$API.USER}</username>
                            <password>{$API.PASSWORD}</password>
                            <timeout>30s</timeout>
                            <url>{$PROTOCOL}://{$HOST_IP}{#CPU_URI}</url>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>8ae8b3661840457d86056fd4c8c13eb7</uuid>
                            <name>CPU {#CPU_ID} model</name>
                            <type>DEPENDENT</type>
                            <key>processor.model[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Model</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>2171dc3391f1441cbf4a29f6c18d2212</uuid>
                            <name>CPU {#CPU_ID} socket</name>
                            <type>DEPENDENT</type>
                            <key>processor.socket[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Socket</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>11d6de60d174458da07a8f52127e41f9</uuid>
                            <name>CPU {#CPU_ID} manufacturer</name>
                            <type>DEPENDENT</type>
                            <key>processor.manufacturer[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Manufacturer</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>6652ff2ee48c4f37a48598a7d91b414b</uuid>
                            <name>CPU {#CPU_ID} version</name>
                            <type>DEPENDENT</type>
                            <key>processor.version[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Version</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>9d1c0ea1e348431f9b9a4d28a89bbf45</uuid>
                            <name>CPU {#CPU_ID} architecture</name>
                            <type>DEPENDENT</type>
                            <key>processor.architecture[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.ProcessorArchitecture</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>df1ac07b84144641874a4988ea6fe3bb</uuid>
                            <name>CPU {#CPU_ID} instruction set</name>
                            <type>DEPENDENT</type>
                            <key>processor.instruction.set[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.InstructionSet</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>79fd60dfa8d84861afb536f1a179fe76</uuid>
                            <name>CPU {#CPU_ID} max speed</name>
                            <type>DEPENDENT</type>
                            <key>processor.max.speed[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>GHz</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.MaxSpeedMHz</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <parameters>
                                        <parameter>0.001</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>a1325d063c8849ecb1494681a840ee67</uuid>
                            <name>CPU {#CPU_ID} current frequency</name>
                            <type>DEPENDENT</type>
                            <key>processor.current.frequency[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>GHz</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.FrequencyMHz</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <parameters>
                                        <parameter>0.001</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>337a5fa4f5c2485fad6e04de589c4251</uuid>
                            <name>CPU {#CPU_ID} voltage</name>
                            <type>DEPENDENT</type>
                            <key>processor.voltage[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>V</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.ProcessorVoltage</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>697d022b747f4687826e0dc1f09e4295</uuid>
                            <name>CPU {#CPU_ID} L1 cache</name>
                            <type>DEPENDENT</type>
                            <key>processor.cache.l1[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>UNSIGNED</value_type>
                            <units>KiB</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.L1CacheKiB</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>12b8a99665704b24b6642ad80821214c</uuid>
                            <name>CPU {#CPU_ID} L2 cache</name>
                            <type>DEPENDENT</type>
                            <key>processor.cache.l2[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>UNSIGNED</value_type>
                            <units>KiB</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.L2CacheKiB</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>25583348a19342d6a26c8788cf3bcf4c</uuid>
                            <name>CPU {#CPU_ID} L3 cache</name>
                            <type>DEPENDENT</type>
                            <key>processor.cache.l3[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>MiB</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.L3CacheKiB</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <parameters>
                                        <parameter>0.0009765625</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>209f7b1b546240c09bcf91f9cb9b9137</uuid>
                            <name>CPU {#CPU_ID} cores</name>
                            <type>DEPENDENT</type>
                            <key>processor.cores[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>UNSIGNED</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.TotalCores</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c71603e0477b44cd86ca6c12ab8f0aa2</uuid>
                            <name>CPU {#CPU_ID} threads</name>
                            <type>DEPENDENT</type>
                            <key>processor.threads[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>UNSIGNED</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.TotalThreads</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>f8d9e9bfa562491eb2bd8bb47a2756dc</uuid>
                            <name>CPU {#CPU_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>processor.health[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>aa038d4f94b84758b6b1d33245652f42</uuid>
                                    <expression>find(/NT\ Pantera-26\ G3\ Redfish/processor.health[{#CPU_ID}],,"regexp","^OK$")=0</expression>
                                    <name>CPU {#CPU_ID} health status is {ITEM.LASTVALUE}</name>
                                    <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>4e50ef4b77074c739883a52f04da83d0</uuid>
                            <name>CPU {#CPU_ID} state</name>
                            <type>DEPENDENT</type>
                            <key>processor.state[{#CPU_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.State</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>processor.raw[{#CPU_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>CPU</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.processors.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#CPU_ID}</lld_macro>
                            <path>$.CpuId</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#CPU_URI}</lld_macro>
                            <path>$.[&quot;@odata.id&quot;]</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    var uri = members[i]['@odata.id'] || '';
    members[i].CpuId = uri.split('/').pop();
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>46dbd7ae0fe24ee8b0351b0e84f88cc0</uuid>
                    <name>RAID controllers</name>
                    <type>DEPENDENT</type>
                    <key>storage.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>2e21ae34c46746f588d4d357dc166035</uuid>
                            <name>_RAW: RAID controller {#STORAGE_ID}</name>
                            <type>HTTP_AGENT</type>
                            <key>storage.raw[{#STORAGE_ID}]</key>
                            <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <authtype>BASIC</authtype>
                            <username>{$API.USER}</username>
                            <password>{$API.PASSWORD}</password>
                            <timeout>30s</timeout>
                            <url>{$PROTOCOL}://{$HOST_IP}{#STORAGE_URI}</url>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>d5ff0eb99cb84e89b9fe487ec76922f8</uuid>
                            <name>RAID controller {#STORAGE_ID} model</name>
                            <type>DEPENDENT</type>
                            <key>storage.model[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.StorageControllers[0].Model</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>26b2a0d8a87c4e70a2981fd6a0a0b457</uuid>
                            <name>RAID controller {#STORAGE_ID} firmware</name>
                            <type>DEPENDENT</type>
                            <key>storage.firmware[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.StorageControllers[0].FirmwareVersion</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>f80946702b634a24ae9a274929a8cf7d</uuid>
                            <name>RAID controller {#STORAGE_ID} serial</name>
                            <type>DEPENDENT</type>
                            <key>storage.serial[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.StorageControllers[0].SerialNumber</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>b16d1a02909d411e93dd3dc6ae5df55e</uuid>
                            <name>RAID controller {#STORAGE_ID} temperature</name>
                            <type>DEPENDENT</type>
                            <key>storage.temperature[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>C</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.StorageControllers[0].Temperature</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>f48910cd34ea4f2b917267a32cfe399d</uuid>
                            <name>RAID controller {#STORAGE_ID} BBU state</name>
                            <type>DEPENDENT</type>
                            <key>storage.bbu.state[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.StorageControllers[0].BBUState</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>6b816b9a2587406f92bf6a4503940a2d</uuid>
                                    <expression>find(/NT\ Pantera-26\ G3\ Redfish/storage.bbu.state[{#STORAGE_ID}],,"regexp","^Optimal$|^OK$")=0</expression>
                                    <name>RAID controller {#STORAGE_ID} BBU state is {ITEM.LASTVALUE}</name>
                                    <opdata>Current state is {ITEM.LASTVALUE}</opdata>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>621e78304f0e483d80739f0231af4fe4</uuid>
                            <name>RAID controller {#STORAGE_ID} physical drives</name>
                            <type>DEPENDENT</type>
                            <key>storage.physical.drives[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>UNSIGNED</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.StorageControllers[0].PhysicalDriveCount</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>b5c8555d2d574025a11bcc45749cab84</uuid>
                            <name>RAID controller {#STORAGE_ID} virtual drives</name>
                            <type>DEPENDENT</type>
                            <key>storage.virtual.drives[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>UNSIGNED</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.StorageControllers[0].VirtualDriveCount</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>9a858763eb7f42f0b7dbd34a5d4b2d94</uuid>
                            <name>RAID controller {#STORAGE_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>storage.health[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>323c02e0e7b640e79b49a96e5bb4686b</uuid>
                                    <expression>find(/NT\ Pantera-26\ G3\ Redfish/storage.health[{#STORAGE_ID}],,"regexp","^OK$")=0</expression>
                                    <name>RAID controller {#STORAGE_ID} health status is {ITEM.LASTVALUE}</name>
                                    <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>c0d3bceaf15b4ec3964249a2fd33c5b6</uuid>
                            <name>RAID controller {#STORAGE_ID} state</name>
                            <type>DEPENDENT</type>
                            <key>storage.state[{#STORAGE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.State</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>storage.raw[{#STORAGE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Storage</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.storage.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#STORAGE_ID}</lld_macro>
                            <path>$.StorageId</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#STORAGE_URI}</lld_macro>
                            <path>$.[&quot;@odata.id&quot;]</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    var uri = members[i]['@odata.id'] || '';
    members[i].StorageId = uri.split('/').pop();
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>e62b2e53be8340b79214a39059a504e1</uuid>
                    <name>PCIe devices</name>
                    <type>DEPENDENT</type>
                    <key>pcie.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>4de58a8fe134414f9f2fb8e7de246829</uuid>
                            <name>_RAW: PCIe device {#PCIE_ID}</name>
                            <type>HTTP_AGENT</type>
                            <key>pcie.raw[{#PCIE_ID}]</key>
                            <delay>{$DETAIL_POLLING_INTERVAL}</delay>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <authtype>BASIC</authtype>
                            <username>{$API.USER}</username>
                            <password>{$API.PASSWORD}</password>
                            <timeout>30s</timeout>
                            <url>{$PROTOCOL}://{$HOST_IP}{#PCIE_URI}</url>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>6d740ec8f13d42aa91de0206b5769f86</uuid>
                            <name>PCIe device {#PCIE_ID} manufacturer</name>
                            <type>DEPENDENT</type>
                            <key>pcie.manufacturer[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Manufacturer</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>7b640cafb1ab4169adf5d404ffca36dc</uuid>
                            <name>PCIe device {#PCIE_ID} model</name>
                            <type>DEPENDENT</type>
                            <key>pcie.model[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Model</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>ccfe20e376d441d683a07ec72d706407</uuid>
                            <name>PCIe device {#PCIE_ID} card model</name>
                            <type>DEPENDENT</type>
                            <key>pcie.card.model[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.CardModel</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>1514605f71ee43bca240c9049cb966ec</uuid>
                            <name>PCIe device {#PCIE_ID} locator</name>
                            <type>DEPENDENT</type>
                            <key>pcie.locator[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.DeviceLocator</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>cb0713a67c5e4527916cf38655fa1a71</uuid>
                            <name>PCIe device {#PCIE_ID} link width</name>
                            <type>DEPENDENT</type>
                            <key>pcie.link.width[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.LinkWidth</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>fd44e4b7ffca4ea1944f77120b291147</uuid>
                            <name>PCIe device {#PCIE_ID} type</name>
                            <type>DEPENDENT</type>
                            <key>pcie.type[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.PCIeType</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>8982dc342e7b4570a61cba4ee2801792</uuid>
                            <name>PCIe device {#PCIE_ID} BDF</name>
                            <type>DEPENDENT</type>
                            <key>pcie.bdf[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Oem.Public.RootBDF</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>a29839c0ae7c4f8ebf5917247ddc4ac1</uuid>
                            <name>PCIe device {#PCIE_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>pcie.health[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>fc4d1638bf734a449d81c9e99d823979</uuid>
                                    <expression>find(/NT\ Pantera-26\ G3\ Redfish/pcie.health[{#PCIE_ID}],,"regexp","^OK$")=0</expression>
                                    <name>PCIe device {#PCIE_ID} health status is {ITEM.LASTVALUE}</name>
                                    <opdata>Current status is {ITEM.LASTVALUE}</opdata>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>24c42a34bb6c4da189205ad8b197d5f7</uuid>
                            <name>PCIe device {#PCIE_ID} state</name>
                            <type>DEPENDENT</type>
                            <key>pcie.state[{#PCIE_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.State</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>pcie.raw[{#PCIE_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>PCIe</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.pcie.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#PCIE_ID}</lld_macro>
                            <path>$.PcieId</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#PCIE_URI}</lld_macro>
                            <path>$.[&quot;@odata.id&quot;]</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    var uri = members[i]['@odata.id'] || '';
    members[i].PcieId = uri.split('/').pop();
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>24bc2508cc124fb290d08d43a5ad747c</uuid>
                    <name>Fan removal events</name>
                    <type>DEPENDENT</type>
                    <key>events.fan.removal.discovery</key>
                    <lifetime>0</lifetime>
                    <lifetime_type>DELETE_IMMEDIATELY</lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>cf3af578ab5c425bbf9816715d159d31</uuid>
                            <name>{#MESSAGE}</name>
                            <type>CALCULATED</type>
                            <key>event.fan.removal[{#ID}]</key>
                            <delay>30s</delay>
                            <history>7d</history>
                            <value_type>TEXT</value_type>
                            <params>{#DATE}</params>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>48193d55aecb49b1ba14bf399feb8a65</uuid>
                                    <expression>nodata(/NT\ Pantera-26\ G3\ Redfish/event.fan.removal[{#ID}],6h)=0</expression>
                                    <name>Fan removed: {#MESSAGE}</name>
                                    <priority>HIGH</priority>
                                    <manual_close>YES</manual_close>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.eventlog.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#DATE}</lld_macro>
                            <path>$.Created</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.Id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#MESSAGE}</lld_macro>
                            <path>$.Message</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#RESOLVED}</lld_macro>
                            <path>$.Resolved</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <filter>
                        <conditions>
                            <condition>
                                <macro>{#RESOLVED}</macro>
                                <value>false</value>
                                <formulaid>A</formulaid>
                            </condition>
                        </conditions>
                    </filter>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var val_new = JSON.parse(value);
var val_new1 = [];
for (var i = 0; i &lt; val_new.length; i++) {
    var message = (val_new[i].Message || '').toLowerCase();
    if (val_new[i].MessageId == "OpenBMC.0.1.FanRemoved" ||
        (val_new[i].MessageId == "ResourceEvent.1.0.ResourceRemoved" &amp;&amp; message.indexOf('fan') !== -1)) {
        val_new1.push(val_new[i]);
    }
}
return JSON.stringify(val_new1);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>5c8fffd8f9b0419a8738f550f1553355</uuid>
                    <name>PSU events</name>
                    <type>DEPENDENT</type>
                    <key>events.psu.discovery</key>
                    <lifetime>0</lifetime>
                    <lifetime_type>DELETE_IMMEDIATELY</lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>94d07f27f5c04fe09633757abda166a1</uuid>
                            <name>{#MESSAGE}</name>
                            <type>CALCULATED</type>
                            <key>event.psu[{#ID}]</key>
                            <delay>30s</delay>
                            <history>7d</history>
                            <value_type>TEXT</value_type>
                            <params>{#DATE}</params>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>e864a28f9165478cbc1113de6626fd8f</uuid>
                                    <expression>nodata(/NT\ Pantera-26\ G3\ Redfish/event.psu[{#ID}],6h)=0</expression>
                                    <name>Power supply event: {#MESSAGE}</name>
                                    <priority>AVERAGE</priority>
                                    <manual_close>YES</manual_close>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.eventlog.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#DATE}</lld_macro>
                            <path>$.Created</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#ID}</lld_macro>
                            <path>$.Id</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#MESSAGE}</lld_macro>
                            <path>$.Message</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#RESOLVED}</lld_macro>
                            <path>$.Resolved</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <filter>
                        <conditions>
                            <condition>
                                <macro>{#RESOLVED}</macro>
                                <value>false</value>
                                <formulaid>A</formulaid>
                            </condition>
                        </conditions>
                    </filter>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Members</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var val_new = JSON.parse(value);
var val_new1 = [];
for (var i = 0; i &lt; val_new.length; i++) {
    var message = (val_new[i].Message || '').toLowerCase();
    if (val_new[i].MessageId == "OpenBMC.0.1.PowerSupplyPowerLost" ||
        val_new[i].MessageId == "Power.1.0.PowerSupplyFailed" ||
        (message.indexOf('power supply') !== -1 &amp;&amp; (message.indexOf('lost') !== -1 || message.indexOf('failed') !== -1))) {
        val_new1.push(val_new[i]);
    }
}
return JSON.stringify(val_new1);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>d2b3c13cb44f44998c6c747ed40f2f31</uuid>
                    <name>Fans</name>
                    <type>DEPENDENT</type>
                    <key>fans.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>5a3cce7196ef4a39831f1316da89f248</uuid>
                            <name>_RAW: Fan {#FAN_ID}</name>
                            <type>DEPENDENT</type>
                            <key>fan.raw[{#FAN_ID}]</key>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JAVASCRIPT</type>
                                    <parameters>
                                        <parameter>var data = JSON.parse(value).Fans || [];
for (var i = 0; i &lt; data.length; i++) {
    var id = data[i].MemberId || data[i].Name || '';
    if (id === '{#FAN_ID}') {
        return JSON.stringify(data[i]);
    }
}
return null;</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>redfish.fan.thermal.raw</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>51fc71372dfa48f8bcbce078b83ca640</uuid>
                            <name>Fan {#FAN_ID} speed</name>
                            <type>DEPENDENT</type>
                            <key>fan.reading[{#FAN_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>RPM</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Reading</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>fan.raw[{#FAN_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Fans</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>f58f5414f0404b0ab222fe127c66977c</uuid>
                                    <expression>last(/NT\ Pantera-26\ G3\ Redfish/fan.reading[{#FAN_ID}])&lt;={#FAN_CRIT}</expression>
                                    <name>Fan {#FAN_ID} speed low: &lt;= {#FAN_CRIT} RPM</name>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>9833d23f7e2d4b1aadfd52eb2f73e073</uuid>
                            <name>Fan {#FAN_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>fan.health[{#FAN_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>fan.raw[{#FAN_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Fans</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>bf7be4cce76a472ead6d174476f230f4</uuid>
                            <name>Fan {#FAN_ID} state</name>
                            <type>DEPENDENT</type>
                            <key>fan.state[{#FAN_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.State</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>fan.raw[{#FAN_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Fans</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.fan.thermal.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#FAN_ID}</lld_macro>
                            <path>$.FanId</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#FAN_CRIT}</lld_macro>
                            <path>$.LowerThresholdCritical</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Fans</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    members[i].FanId = members[i].MemberId || members[i].Name || ('Fan' + i);
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>7f20b1f2e8d94ccf9b5bc174e0f5d0cc</uuid>
                    <name>Temperatures</name>
                    <type>DEPENDENT</type>
                    <key>temperatures.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>dd0ce73fe36e4842bd0308ad06e2848f</uuid>
                            <name>_RAW: Temperature {#TEMP_ID}</name>
                            <type>DEPENDENT</type>
                            <key>temperature.raw[{#TEMP_ID}]</key>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JAVASCRIPT</type>
                                    <parameters>
                                        <parameter>var data = JSON.parse(value).Temperatures || [];
for (var i = 0; i &lt; data.length; i++) {
    var id = data[i].MemberId || data[i].Name || '';
    if (id === '{#TEMP_ID}') {
        return JSON.stringify(data[i]);
    }
}
return null;</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>redfish.baseboard.thermal.raw</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>f0f4f3377dca4e49be1f96ab7d1bb2ad</uuid>
                            <name>Temperature {#TEMP_ID}</name>
                            <type>DEPENDENT</type>
                            <key>temperature.reading[{#TEMP_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>C</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.ReadingCelsius</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>temperature.raw[{#TEMP_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Temperatures</value>
                                </tag>
                            </tags>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <uuid>395b4f0480bb4b4e8ef3f83f6786e80f</uuid>
                                    <expression>last(/NT\ Pantera-26\ G3\ Redfish/temperature.reading[{#TEMP_ID}])&gt;={#TEMP_WARN} and last(/NT\ Pantera-26\ G3\ Redfish/temperature.reading[{#TEMP_ID}])&lt;{#TEMP_CRIT}</expression>
                                    <name>Temperature {#TEMP_ID} high: &gt;= {#TEMP_WARN} C</name>
                                    <priority>WARNING</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <uuid>b309be7b5973448eb30f22a8384c97a6</uuid>
                                    <expression>last(/NT\ Pantera-26\ G3\ Redfish/temperature.reading[{#TEMP_ID}])&gt;={#TEMP_CRIT}</expression>
                                    <name>Temperature {#TEMP_ID} critical: &gt;= {#TEMP_CRIT} C</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <uuid>f1d0ebee540b44cc844e70a7cdfbdd7a</uuid>
                            <name>Temperature {#TEMP_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>temperature.health[{#TEMP_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>temperature.raw[{#TEMP_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Temperatures</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.baseboard.thermal.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#TEMP_ID}</lld_macro>
                            <path>$.TempId</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#TEMP_WARN}</lld_macro>
                            <path>$.UpperThresholdNonCritical</path>
                        </lld_macro_path>
                        <lld_macro_path>
                            <lld_macro>{#TEMP_CRIT}</lld_macro>
                            <path>$.UpperThresholdCritical</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Temperatures</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    members[i].TempId = members[i].MemberId || members[i].Name || ('Temp' + i);
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
                <discovery_rule>
                    <uuid>0c53c04629a34d1787a0a1b3d27da35a</uuid>
                    <name>Voltages</name>
                    <type>DEPENDENT</type>
                    <key>voltages.discovery</key>
                    <lifetime>{$KEEP_LOST_RESOURCES_PERIOD}</lifetime>
                    <enabled_lifetime_type>DISABLE_NEVER</enabled_lifetime_type>
                    <item_prototypes>
                        <item_prototype>
                            <uuid>5a0a31089ddb43d8a38cf640d4f80a7a</uuid>
                            <name>_RAW: Voltage {#VOLT_ID}</name>
                            <type>DEPENDENT</type>
                            <key>voltage.raw[{#VOLT_ID}]</key>
                            <history>{$RAW_HISTORY_PERIOD}</history>
                            <value_type>TEXT</value_type>
                            <preprocessing>
                                <step>
                                    <type>JAVASCRIPT</type>
                                    <parameters>
                                        <parameter>var data = JSON.parse(value).Voltages || [];
for (var i = 0; i &lt; data.length; i++) {
    var id = data[i].MemberId || data[i].Name || '';
    if (id === '{#VOLT_ID}') {
        return JSON.stringify(data[i]);
    }
}
return null;</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>redfish.baseboard.power.raw</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>_RAW data</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>ad5ec3a114de4fd1bbf03485f6a22498</uuid>
                            <name>Voltage {#VOLT_ID}</name>
                            <type>DEPENDENT</type>
                            <key>voltage.reading[{#VOLT_ID}]</key>
                            <history>30d</history>
                            <value_type>FLOAT</value_type>
                            <units>V</units>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.ReadingVolts</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>voltage.raw[{#VOLT_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Voltages</value>
                                </tag>
                            </tags>
                        </item_prototype>
                        <item_prototype>
                            <uuid>088dc3cdd46f49309240862bf3656895</uuid>
                            <name>Voltage {#VOLT_ID} health</name>
                            <type>DEPENDENT</type>
                            <key>voltage.health[{#VOLT_ID}]</key>
                            <history>30d</history>
                            <value_type>CHAR</value_type>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <parameters>
                                        <parameter>$.Status.Health</parameter>
                                    </parameters>
                                    <error_handler>DISCARD_VALUE</error_handler>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>voltage.raw[{#VOLT_ID}]</key>
                            </master_item>
                            <tags>
                                <tag>
                                    <tag>Application</tag>
                                    <value>Voltages</value>
                                </tag>
                            </tags>
                        </item_prototype>
                    </item_prototypes>
                    <master_item>
                        <key>redfish.baseboard.power.raw</key>
                    </master_item>
                    <lld_macro_paths>
                        <lld_macro_path>
                            <lld_macro>{#VOLT_ID}</lld_macro>
                            <path>$.VoltId</path>
                        </lld_macro_path>
                    </lld_macro_paths>
                    <preprocessing>
                        <step>
                            <type>JSONPATH</type>
                            <parameters>
                                <parameter>$.Voltages</parameter>
                            </parameters>
                        </step>
                        <step>
                            <type>JAVASCRIPT</type>
                            <parameters>
                                <parameter>var members = JSON.parse(value);
for (var i = 0; i &lt; members.length; i++) {
    members[i].VoltId = members[i].MemberId || members[i].Name || ('Volt' + i);
}
return JSON.stringify(members);</parameter>
                            </parameters>
                        </step>
                    </preprocessing>
                </discovery_rule>
            </discovery_rules>
            <macros>
                <macro>
                    <macro>{$API.PASSWORD}</macro>
                    <value>change_me</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$API.USER}</macro>
                    <value>admin</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$AUTH_POLLING_INTERVAL}</macro>
                    <value>3m</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$CHASSIS_ID}</macro>
                    <value>Zvezda_Arctur_Baseboard</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$DETAIL_POLLING_INTERVAL}</macro>
                    <value>3m</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$FAN_CHASSIS_ID}</macro>
                    <value>chassis</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$HOST_IP}</macro>
                    <value>10.30.90.109</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$KEEP_LOST_RESOURCES_PERIOD}</macro>
                    <value>0d</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$RAW_HISTORY_PERIOD}</macro>
                    <value>1d</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$MANAGER_ID}</macro>
                    <value>bmc</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$POLLING_INTERVAL}</macro>
                    <value>3m</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$PROTOCOL}</macro>
                    <value>https</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
                <macro>
                    <macro>{$SYSTEM_ID}</macro>
                    <value>system</value>
                    <description>Template for NT Pantera-26 G3 hardware monitoring over the Redfish API.
Platform profile:
- Form factor: 2U
- Drive bays: 24 x LFF + 2 x SFF
- Storage enclosures: 2
- PCIe: 2 x PCIe x8 Low Profile, 3 x PCIe x16, 1 x OCP 3.0 x16
- Power supplies: 2
- Usage profile: universal server with dual drive enclosures and variable PCIe/OCP peripherals
This template is based on the merged Altair Z Redfish profile and is intended for the NT Pantera-26 G3 server model.
It combines inventory monitoring, EventLog monitoring, fan removal events, PSU events and threshold-based thermal/fan alerting.
Actual peripheral visibility depends on what the BMC publishes through Redfish.</description>
                </macro>
            </macros>
        </template>
    </templates>
</zabbix_export>



