<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>5.0</version>
    <date>2021-10-27T09:39:54Z</date>
    <groups>
        <group>
            <name>Templates</name>
        </group>
    </groups>
    <templates>
        <template>
            <template>APC Rack PDU SNMP</template>
            <name>APC Rack PDU SNMP</name>
            <groups>
                <group>
                    <name>Templates</name>
                </group>
            </groups>
            <applications>
                <application>
                    <name>Bank</name>
                </application>
                <application>
                    <name>Device</name>
                </application>
                <application>
                    <name>General</name>
                </application>
                <application>
                    <name>Ident</name>
                </application>
                <application>
                    <name>Phase</name>
                </application>
                <application>
                    <name>Status</name>
                </application>
            </applications>
            <items>
                <item>
                    <name>Bank count</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>.1.3.6.1.4.1.318.1.1.26.7.0</snmp_oid>
                    <key>rPDU2BankTableSize.0</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$INFO_HISTORY_PERIOD}</history>
                    <trends>{$INFO_TRENDS_PERIOD}</trends>
                    <description>The number of connected Rack PDU banks</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Device count</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>.1.3.6.1.4.1.318.1.1.26.3.0</snmp_oid>
                    <key>rPDU2DeviceTableSize.0</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$INFO_HISTORY_PERIOD}</history>
                    <trends>{$INFO_TRENDS_PERIOD}</trends>
                    <description>The total number of Rack PDUs</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Ident count</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>.1.3.6.1.4.1.318.1.1.26.1.0</snmp_oid>
                    <key>rPDU2IdentTableSize.0</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$INFO_HISTORY_PERIOD}</history>
                    <trends>{$INFO_TRENDS_PERIOD}</trends>
                    <description>The total number of Rack PDUs</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Outlet Metered count</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>.1.3.6.1.4.1.318.1.1.26.9.3.0</snmp_oid>
                    <key>rPDU2OutletMeteredTableSize.0</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$INFO_HISTORY_PERIOD}</history>
                    <trends>{$INFO_TRENDS_PERIOD}</trends>
                    <description>The number of metered outlets on connect Rack PDUs</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Outlet Switched count</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>.1.3.6.1.4.1.318.1.1.26.9.1.0</snmp_oid>
                    <key>rPDU2OutletSwitchedTableSize.0</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$INFO_HISTORY_PERIOD}</history>
                    <trends>{$INFO_TRENDS_PERIOD}</trends>
                    <description>The number of switched outlets on connected Rack PDUs</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Phase count</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>.1.3.6.1.4.1.318.1.1.26.5.0</snmp_oid>
                    <key>rPDU2PhaseTableSize.0</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$INFO_HISTORY_PERIOD}</history>
                    <trends>{$INFO_TRENDS_PERIOD}</trends>
                    <description>The number of connected Rack PDU phases</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>Sensor Temp Humidity count</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>.1.3.6.1.4.1.318.1.1.26.10.1.0</snmp_oid>
                    <key>rPDU2SensorTempHumidityTableSize.0</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$INFO_HISTORY_PERIOD}</history>
                    <trends>{$INFO_TRENDS_PERIOD}</trends>
                    <description>The number of connected temperature-humidity sensors</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                </item>
                <item>
                    <name>System contact details</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>1.3.6.1.2.1.1.4.0</snmp_oid>
                    <key>system.contact[sysContact.0]</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$HISTORY_PERIOD}</history>
                    <trends>0</trends>
                    <value_type>CHAR</value_type>
                    <description>MIB: SNMPv2-MIB&#13;
The textual identification of the contact person for this managed&#13;
node, together with information on how to contact this person.  If no contact&#13;
information is known, the value is the zero-length string.</description>
                    <inventory_link>CONTACT</inventory_link>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                    <preprocessing>
                        <step>
                            <type>DISCARD_UNCHANGED_HEARTBEAT</type>
                            <params>1d</params>
                        </step>
                    </preprocessing>
                </item>
                <item>
                    <name>System description</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>1.3.6.1.2.1.1.1.0</snmp_oid>
                    <key>system.descr[sysDescr.0]</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$HISTORY_PERIOD}</history>
                    <trends>0</trends>
                    <value_type>CHAR</value_type>
                    <description>MIB: SNMPv2-MIB&#13;
A textual description of the entity. This value should&#13;
include the full name and version identification of the system's hardware type, software operating-system, and&#13;
networking software.</description>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                    <preprocessing>
                        <step>
                            <type>DISCARD_UNCHANGED_HEARTBEAT</type>
                            <params>1d</params>
                        </step>
                    </preprocessing>
                </item>
                <item>
                    <name>System location</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>1.3.6.1.2.1.1.6.0</snmp_oid>
                    <key>system.location[sysLocation.0]</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$HISTORY_PERIOD}</history>
                    <trends>0</trends>
                    <value_type>CHAR</value_type>
                    <description>MIB: SNMPv2-MIB&#13;
The physical location of this node (e.g., `telephone closet,&#13;
3rd floor').  If the location is unknown, the value is the zero-length string.</description>
                    <inventory_link>LOCATION</inventory_link>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                    <preprocessing>
                        <step>
                            <type>DISCARD_UNCHANGED_HEARTBEAT</type>
                            <params>1d</params>
                        </step>
                    </preprocessing>
                </item>
                <item>
                    <name>System name</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>1.3.6.1.2.1.1.5.0</snmp_oid>
                    <key>system.name[sysName.0]</key>
                    <delay>{$REQUEST_LONG_PERIOD}</delay>
                    <history>{$HISTORY_PERIOD}</history>
                    <trends>0</trends>
                    <value_type>CHAR</value_type>
                    <description>MIB: SNMPv2-MIB&#13;
An administratively-assigned name for this managed node.By&#13;
convention, this is the node's fully-qualified domain name.  If the name is unknown,&#13;
the value is the zero-length string.</description>
                    <inventory_link>NAME</inventory_link>
                    <applications>
                        <application>
                            <name>General</name>
                        </application>
                    </applications>
                    <preprocessing>
                        <step>
                            <type>DISCARD_UNCHANGED_HEARTBEAT</type>
                            <params>1d</params>
                        </step>
                    </preprocessing>
                </item>
                <item>
                    <name>Uptime</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>1.3.6.1.2.1.1.3.0</snmp_oid>
                    <key>system.uptime[sysUpTime.0]</key>
                    <delay>{$REQUEST_HOT_PERIOD}</delay>
                    <history>{$HISTORY_PERIOD}</history>
                    <trends>{$TRENDS_PERIOD}</trends>
                    <units>uptime</units>
                    <applications>
                        <application>
                            <name>Status</name>
                        </application>
                    </applications>
                    <preprocessing>
                        <step>
                            <type>MULTIPLIER</type>
                            <params>0.01</params>
                        </step>
                    </preprocessing>
                    <triggers>
                        <trigger>
                            <expression>{last()}&lt;10m</expression>
                            <name>{HOST.NAME} has been restarted (uptime &lt; 10m)</name>
                            <priority>WARNING</priority>
                            <description>Uptime is less than 10 minutes</description>
                            <manual_close>YES</manual_close>
                            <dependencies>
                                <dependency>
                                    <name>No SNMP data collection</name>
                                    <expression>{APC Rack PDU SNMP:zabbix[host,snmp,available].max({$SNMP.TIMEOUT})}=0</expression>
                                </dependency>
                            </dependencies>
                        </trigger>
                    </triggers>
                </item>
                <item>
                    <name>SNMP agent availability</name>
                    <type>INTERNAL</type>
                    <key>zabbix[host,snmp,available]</key>
                    <delay>{$REQUEST_SHORT_PERIOD}</delay>
                    <history>{$HISTORY_PERIOD}</history>
                    <trends>{$TRENDS_PERIOD}</trends>
                    <applications>
                        <application>
                            <name>Status</name>
                        </application>
                    </applications>
                    <valuemap>
                        <name>zabbix.host.available</name>
                    </valuemap>
                    <preprocessing>
                        <step>
                            <type>DISCARD_UNCHANGED_HEARTBEAT</type>
                            <params>6h</params>
                        </step>
                    </preprocessing>
                    <triggers>
                        <trigger>
                            <expression>{max({$SNMP.TIMEOUT})}=0</expression>
                            <name>No SNMP data collection</name>
                            <opdata>Current state: {ITEM.LASTVALUE1}</opdata>
                            <priority>WARNING</priority>
                            <description>SNMP is not available for polling. Please check device connectivity and SNMP settings.</description>
                        </trigger>
                    </triggers>
                </item>
            </items>
            <discovery_rules>
                <discovery_rule>
                    <name>Bank</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.318.1.1.26.8.3.1.1]</snmp_oid>
                    <key>rPDU2Bank</key>
                    <delay>{$DISCOVERY_PERIOD}</delay>
                    <item_prototypes>
                        <item_prototype>
                            <name>Bank {#SNMPINDEX} current</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.8.3.1.5.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2BankCurrent[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_SHORT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>A</units>
                            <description>Indicates the current draw, in tenths of Amps, of the load on the Rack PDU bank being queried</description>
                            <applications>
                                <application>
                                    <name>Bank</name>
                                </application>
                            </applications>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.1</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>Bank {#SNMPINDEX} load state</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.8.3.1.4.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2BankStatusLoadState[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_HOT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <description>Indicates the present load status of the Rack PDU bank being queried</description>
                            <applications>
                                <application>
                                    <name>Bank</name>
                                </application>
                            </applications>
                            <valuemap>
                                <name>APC Status Load State</name>
                            </valuemap>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{nodata({$NODATA_PERIOD})}=1</expression>
                                    <name>{HOST.NAME}: Bank {#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <expression>{last()}&lt;&gt;2</expression>
                                    <name>{HOST.NAME}: Bank {#SNMPINDEX} load state is {ITEM.LASTVALUE} (HW)</name>
                                    <priority>AVERAGE</priority>
                                    <dependencies>
                                        <dependency>
                                            <name>{HOST.NAME}: Bank {#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                            <expression>{APC Rack PDU SNMP:rPDU2BankStatusLoadState[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1</expression>
                                        </dependency>
                                    </dependencies>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <name>Bank {#SNMPINDEX} current</name>
                            <graph_items>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>APC Rack PDU SNMP</host>
                                        <key>rPDU2BankCurrent[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
                <discovery_rule>
                    <name>Device</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.318.1.1.26.4.3.1.1]</snmp_oid>
                    <key>rPDU2Device</key>
                    <delay>{$DISCOVERY_PERIOD}</delay>
                    <item_prototypes>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} max current rating</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.2.1.9.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DevicePropertiesMaxCurrentRating[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>A</units>
                            <description>The maximum current rating, measured in Amps, for the Rack PDU</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} max phase current rating</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.2.1.12.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DevicePropertiesMaxPhaseCurrentRating[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>A</units>
                            <description>The maximum current rating, measured in Amps, for the Rack PDU</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} energy start time</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.10.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusEnergyStartTime[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>Indicates the date and time of the last device energy meter reset</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} energy</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.9.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusEnergy[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>Wh</units>
                            <description>A user resettable energy meter measuring Rack PDU load energy consumption in tenths of kilowatt-hours</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>100</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} load state</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.4.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusLoadState[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_HOT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <description>Indicates the present load status of the Rack PDU</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                            <valuemap>
                                <name>APC Status Load State</name>
                            </valuemap>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{last()}&lt;&gt;2</expression>
                                    <name>{HOST.NAME}: Device {#SNMPINDEX} load state is {ITEM.LASTVALUE} (HW)</name>
                                    <priority>AVERAGE</priority>
                                    <dependencies>
                                        <dependency>
                                            <name>{HOST.NAME}: Device {#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                            <expression>{APC Rack PDU SNMP:rPDU2DeviceStatusLoadState[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply1Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply2Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupplyAlarm[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1</expression>
                                        </dependency>
                                    </dependencies>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} name</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.3.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusName[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>A user-defined string identifying the Rack PDU</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} outlets energy start time</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.15.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusOutletsEnergyStartTime[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>Indicates the date and time of the last outlets energy meter reset</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} peak power start time</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.8.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusPeakPowerStartTime[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>Indicates the date and time of the last device peak power reset</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} peak power timestamp</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.7.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusPeakPowerTimestamp[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>Indicates the date and time that peak power consumption occurred</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} peak power</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.6.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusPeakPower[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>W</units>
                            <description>The peak power consumption of the Rack PDU load in hundredths of kilowatts</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>10</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} power supply 1 status</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.13.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusPowerSupply1Status[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_HOT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <description>Indicates whether or not an alarm is active in Power Supply 1</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                            <valuemap>
                                <name>APC Power Supply Status</name>
                            </valuemap>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{last()}=2</expression>
                                    <name>{HOST.NAME}: Device {#SNMPINDEX} power supply 1 alarm (HW)</name>
                                    <priority>AVERAGE</priority>
                                    <dependencies>
                                        <dependency>
                                            <name>{HOST.NAME}: Device {#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                            <expression>{APC Rack PDU SNMP:rPDU2DeviceStatusLoadState[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply1Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply2Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupplyAlarm[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1</expression>
                                        </dependency>
                                    </dependencies>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} power supply 2 status</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.14.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusPowerSupply2Status[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_HOT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <description>Indicates whether or not an alarm is active in Power Supply 2</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                            <valuemap>
                                <name>APC Power Supply Status</name>
                            </valuemap>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{last()}=2</expression>
                                    <name>{HOST.NAME}: Device {#SNMPINDEX} power supply 2 alarm (HW)</name>
                                    <priority>AVERAGE</priority>
                                    <dependencies>
                                        <dependency>
                                            <name>{HOST.NAME}: Device {#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                            <expression>{APC Rack PDU SNMP:rPDU2DeviceStatusLoadState[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply1Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply2Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupplyAlarm[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1</expression>
                                        </dependency>
                                    </dependencies>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} power supply alarm</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.12.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusPowerSupplyAlarm[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_HOT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <description>Indicates a power supply alarm is active when value equals alarm (2)&#13;
normal   (1),&#13;
alarm    (2)</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                            <valuemap>
                                <name>APC Device Status Alarm</name>
                            </valuemap>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{last()}&lt;&gt;1</expression>
                                    <name>{HOST.NAME}: Device {#SNMPINDEX} power supply alarm (HW)</name>
                                    <priority>AVERAGE</priority>
                                    <dependencies>
                                        <dependency>
                                            <name>{HOST.NAME}: Device {#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                            <expression>{APC Rack PDU SNMP:rPDU2DeviceStatusLoadState[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply1Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply2Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupplyAlarm[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1</expression>
                                        </dependency>
                                    </dependencies>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>Device {#SNMPINDEX} power</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.4.3.1.5.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2DeviceStatusPower[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_SHORT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>W</units>
                            <description>The power consumption of the Rack PDU load in hundredths of kilowatts</description>
                            <applications>
                                <application>
                                    <name>Device</name>
                                </application>
                            </applications>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>10</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                    </item_prototypes>
                    <trigger_prototypes>
                        <trigger_prototype>
                            <expression>{APC Rack PDU SNMP:rPDU2DeviceStatusLoadState[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply1Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupply2Status[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1 or {APC Rack PDU SNMP:rPDU2DeviceStatusPowerSupplyAlarm[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1</expression>
                            <name>{HOST.NAME}: Device {#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                            <priority>HIGH</priority>
                        </trigger_prototype>
                    </trigger_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <name>Device {#SNMPINDEX} power</name>
                            <graph_items>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>APC Rack PDU SNMP</host>
                                        <key>rPDU2DeviceStatusPower[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
                <discovery_rule>
                    <name>Ident</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.318.1.1.26.2.1.1]</snmp_oid>
                    <key>rPDU2Ident</key>
                    <delay>{$DISCOVERY_PERIOD}</delay>
                    <item_prototypes>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} contact</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.10.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentContact[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <status>DISABLED</status>
                            <discover>NO_DISCOVER</discover>
                            <value_type>CHAR</value_type>
                            <description>A user-defined string identifying the person to contact regarding the Rack PDU</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} date of manufacture</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.7.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentDateOfManufacture[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>The date the Rack PDU was manufactured in mm/dd/yyyy format</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} firmware rev</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.6.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentFirmwareRev[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_MIDDLE_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>The Rack PDU firware version</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{diff()}=1 and {strlen()}&gt;0</expression>
                                    <name>{HOST.NAME}: Ident {#SNMPINDEX} firmware was changed</name>
                                    <priority>INFO</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} hardware rev</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.5.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentHardwareRev[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>The Rack PDU hardware version</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} location</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.4.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentLocation[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>A user-defined string identifying the location of the Rack PDU</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} model number</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.8.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentModelNumber[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>The Rack PDU model number</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} name</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.3.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentName[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>A user-defined string identifying the Rack PDU</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                        </item_prototype>
                        <item_prototype>
                            <name>Ident {#SNMPINDEX} serial number</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.2.1.9.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2IdentSerialNumber[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_LONG_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>0</trends>
                            <value_type>CHAR</value_type>
                            <description>The Rack PDU serial number</description>
                            <applications>
                                <application>
                                    <name>Ident</name>
                                </application>
                            </applications>
                        </item_prototype>
                    </item_prototypes>
                </discovery_rule>
                <discovery_rule>
                    <name>Phase</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>discovery[{#SNMPVALUE},.1.3.6.1.4.1.318.1.1.26.6.3.1.1]</snmp_oid>
                    <key>rPDU2Phase</key>
                    <delay>{$DISCOVERY_PERIOD}</delay>
                    <item_prototypes>
                        <item_prototype>
                            <name>Phase L{#SNMPINDEX} current</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.6.3.1.5.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2PhaseCurrent[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_SHORT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>A</units>
                            <description>Indicates the current draw, in tenths of Amps, of the load on the Rack PDU phase being queried</description>
                            <applications>
                                <application>
                                    <name>Phase</name>
                                </application>
                            </applications>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.1</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>Phase L{#SNMPINDEX} load state</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.6.3.1.4.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2PhaseLoadState[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_HOT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <description>Indicates the present load status of the Rack PDU phase being queried</description>
                            <applications>
                                <application>
                                    <name>Phase</name>
                                </application>
                            </applications>
                            <valuemap>
                                <name>APC Status Load State</name>
                            </valuemap>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{nodata({$NODATA_PERIOD})}=1</expression>
                                    <name>{HOST.NAME}: Phase L{#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                    <priority>HIGH</priority>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <expression>{last()}&lt;&gt;2</expression>
                                    <name>{HOST.NAME}: Phase L{#SNMPINDEX} load state is {ITEM.LASTVALUE} (HW)</name>
                                    <priority>AVERAGE</priority>
                                    <dependencies>
                                        <dependency>
                                            <name>{HOST.NAME}: Phase L{#SNMPINDEX} has no data {$NODATA_PERIOD} (HW)</name>
                                            <expression>{APC Rack PDU SNMP:rPDU2PhaseLoadState[{#SNMPINDEX}].nodata({$NODATA_PERIOD})}=1</expression>
                                        </dependency>
                                    </dependencies>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>Phase L{#SNMPINDEX} power</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.6.3.1.7.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2PhasePower[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_SHORT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <value_type>FLOAT</value_type>
                            <units>W</units>
                            <description>Indicates the load power, in hundredths of kilowatts, consumed on the Rack PDU phase being queried</description>
                            <applications>
                                <application>
                                    <name>Phase</name>
                                </application>
                            </applications>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>10</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>Phase L{#SNMPINDEX} voltage</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.318.1.1.26.6.3.1.6.{#SNMPINDEX}</snmp_oid>
                            <key>rPDU2PhaseVoltage[{#SNMPINDEX}]</key>
                            <delay>{$REQUEST_SHORT_PERIOD}</delay>
                            <history>{$HISTORY_PERIOD}</history>
                            <trends>{$TRENDS_PERIOD}</trends>
                            <units>V</units>
                            <description>Indicates the Voltage, in Volts, of the Rack PDU phase being queried</description>
                            <applications>
                                <application>
                                    <name>Phase</name>
                                </application>
                            </applications>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <name>Phase L{#SNMPINDEX} current</name>
                            <graph_items>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>APC Rack PDU SNMP</host>
                                        <key>rPDU2PhaseCurrent[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <name>Phase L{#SNMPINDEX} power</name>
                            <graph_items>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>APC Rack PDU SNMP</host>
                                        <key>rPDU2PhasePower[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <name>Phase L{#SNMPINDEX} voltage</name>
                            <graph_items>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>APC Rack PDU SNMP</host>
                                        <key>rPDU2PhaseVoltage[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
            </discovery_rules>
            <macros>
                <macro>
                    <macro>{$DISCOVERY_PERIOD}</macro>
                    <value>1h</value>
                    <description>1h</description>
                </macro>
                <macro>
                    <macro>{$HISTORY_PERIOD}</macro>
                    <value>90d</value>
                </macro>
                <macro>
                    <macro>{$NODATA_PERIOD}</macro>
                    <value>10m</value>
                    <description>10m &gt; {$REQUEST_HOT_PERIOD}</description>
                </macro>
                <macro>
                    <macro>{$REQUEST_HOT_PERIOD}</macro>
                    <value>120</value>
                    <description>120</description>
                </macro>
                <macro>
                    <macro>{$REQUEST_LONG_PERIOD}</macro>
                    <value>1d</value>
                    <description>1d</description>
                </macro>
                <macro>
                    <macro>{$REQUEST_MIDDLE_PERIOD}</macro>
                    <value>1h</value>
                    <description>1h</description>
                </macro>
                <macro>
                    <macro>{$REQUEST_SHORT_PERIOD}</macro>
                    <value>300</value>
                    <description>300</description>
                </macro>
                <macro>
                    <macro>{$SNMP_COMMUNITY}</macro>
                    <value>public</value>
                </macro>
                <macro>
                    <macro>{$TRENDS_PERIOD}</macro>
                    <value>180d</value>
                    <description>180d</description>
                </macro>
            </macros>
        </template>
    </templates>
    <value_maps>
        <value_map>
            <name>APC Device Status Alarm</name>
            <mappings>
                <mapping>
                    <value>1</value>
                    <newvalue>normal</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>alarm</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>APC Power Supply Status</name>
            <mappings>
                <mapping>
                    <value>1</value>
                    <newvalue>normal</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>alarm</newvalue>
                </mapping>
                <mapping>
                    <value>3</value>
                    <newvalue>notInstalled</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>APC Status Load State</name>
            <mappings>
                <mapping>
                    <value>1</value>
                    <newvalue>lowLoad</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>normal</newvalue>
                </mapping>
                <mapping>
                    <value>3</value>
                    <newvalue>nearOverload</newvalue>
                </mapping>
                <mapping>
                    <value>4</value>
                    <newvalue>overload</newvalue>
                </mapping>
            </mappings>
        </value_map>
        <value_map>
            <name>zabbix.host.available</name>
            <mappings>
                <mapping>
                    <value>0</value>
                    <newvalue>not available</newvalue>
                </mapping>
                <mapping>
                    <value>1</value>
                    <newvalue>available</newvalue>
                </mapping>
                <mapping>
                    <value>2</value>
                    <newvalue>unknown</newvalue>
                </mapping>
            </mappings>
        </value_map>
    </value_maps>
</zabbix_export>
