Configs/Templates/Templates USV/APC-Rack PDU-LLD SNMP.xml

1032 lines
44 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.0</version>
<date>2018-12-13T09:27:46Z</date>
<groups>
<group>
<name>Templates USV</name>
</group>
</groups>
<templates>
<template>
<template>APC-Rack PDU-LLD SNMP</template>
<name>APC-Rack PDU-LLD SNMP</name>
<description/>
<groups>
<group>
<name>Templates USV</name>
</group>
</groups>
<applications>
<application>
<name>Generic</name>
</application>
<application>
<name>Power</name>
</application>
</applications>
<items>
<item>
<name>Maximalleistung in A</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>.1.3.6.1.4.1.318.1.1.12.1.7.0</snmp_oid>
<key>.1.3.6.1.4.1.318.1.1.12.1.7.0</key>
<delay>86400</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>A</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>This OID will return the electrical rating of the device in Amps.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Dosenanzahl</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>.1.3.6.1.4.1.318.1.1.12.1.8.0</snmp_oid>
<key>.1.3.6.1.4.1.318.1.1.12.1.8.0</key>
<delay>86400</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>This OID will return the number of outlets contained in the device.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Generic</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Phasenanzahl</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>.1.3.6.1.4.1.318.1.1.12.1.9.0</snmp_oid>
<key>.1.3.6.1.4.1.318.1.1.12.1.9.0</key>
<delay>86400</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>This OID will return the number of phases supported by the device.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Generic</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Leistung in Watt</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>.1.3.6.1.4.1.318.1.1.12.1.16.0</snmp_oid>
<key>.1.3.6.1.4.1.318.1.1.12.1.16.0</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>W</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>This OID will return the Power in Watts.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Leistung in VA</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>.1.3.6.1.4.1.318.1.1.12.1.18.0</snmp_oid>
<key>.1.3.6.1.4.1.318.1.1.12.1.18.0</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>VA</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>This OID will return the Power in VA.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Supply 1 Status</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.318.1.1.12.4.1.1.0</snmp_oid>
<key>apc.pdu.supply.1.state</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap>
<name>Cisco-Interface state</name>
</valuemap>
<logtimefmt/>
</item>
<item>
<name>Supply 2 Status</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.318.1.1.12.4.1.2.0</snmp_oid>
<key>apc.pdu.supply.2.state</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap>
<name>Cisco-Interface state</name>
</valuemap>
<logtimefmt/>
</item>
<item>
<name>Spannung (line to line)</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.318.1.1.12.1.15.0</snmp_oid>
<key>apc.pdu.voltage</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>V</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Power Feed</name>
<type>15</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>powerFeed</key>
<delay>120</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>A</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params>{$MAX_FEED}</params>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Maximum load on the powerfeed the powerswitch has been connected to.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Power Usage</name>
<type>4</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>1</multiplier>
<snmp_oid>SNMPv2-SMI::enterprises.318.1.1.12.2.3.1.1.2.1</snmp_oid>
<key>powerUsage</key>
<delay>120</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>A</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>0.1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Low Load Warning Threshold</name>
<type>4</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>SNMPv2-SMI::enterprises.318.1.1.12.2.2.1.1.2.1</snmp_oid>
<key>thresholdLow</key>
<delay>1800</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>A</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Near Overload Warning Threshold</name>
<type>4</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>SNMPv2-SMI::enterprises.318.1.1.12.2.2.1.1.3.1</snmp_oid>
<key>thresholdNear</key>
<delay>1800</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>A</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Overload Alarm Threshold</name>
<type>4</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>SNMPv2-SMI::enterprises.318.1.1.12.2.2.1.1.4.1</snmp_oid>
<key>thresholdOverload</key>
<delay>1800</delay>
<history>7</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>A</units>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Outlet Discovery</name>
<type>1</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.318.1.1.12.3.3.1.1.2]</snmp_oid>
<key>outlet.discovery</key>
<delay>300</delay>
<status>0</status>
<allowed_hosts/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<delay_flex/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<filter>
<evaltype>0</evaltype>
<formula/>
<conditions/>
</filter>
<lifetime>30</lifetime>
<description>discovers the amount of outlets of the APC.</description>
<item_prototypes>
<item_prototype>
<name>Description for port {#SNMPINDEX}</name>
<type>4</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>SNMPv2-SMI::enterprises.318.1.1.12.3.3.1.1.2.{#SNMPINDEX}</snmp_oid>
<key>portdescr[{#SNMPINDEX}]</key>
<delay>3600</delay>
<history>90</history>
<trends>0</trends>
<status>0</status>
<value_type>1</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
<item_prototype>
<name>Status for port {#SNMPINDEX}</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>.1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.{#SNMPINDEX}</snmp_oid>
<key>portstatus[{#SNMPINDEX}]</key>
<delay>120</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Power</name>
</application>
</applications>
<valuemap>
<name>APC Port Status</name>
</valuemap>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
<item_prototype>
<name>Phase for port {#SNMPINDEX}</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.318.1.1.12.3.5.1.1.3.{#SNMPINDEX}</snmp_oid>
<key>snmp.discovery.pdu.outlets.phase.[{#SNMPINDEX}]</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Generic</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
<item_prototype>
<name>Status &quot;[{#SNMPVALUE}]&quot;</name>
<type>1</type>
<snmp_community>public</snmp_community>
<multiplier>0</multiplier>
<snmp_oid>1.3.6.1.4.1.318.1.1.12.3.5.1.1.4.{#SNMPINDEX}</snmp_oid>
<key>snmp.discovery.pdu.outlets.status.[{#SNMPINDEX}]</key>
<delay>30</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<delta>0</delta>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<formula>1</formula>
<delay_flex/>
<params/>
<ipmi_sensor/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications/>
<valuemap>
<name>APC Port Status</name>
</valuemap>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{APC-Rack PDU-LLD SNMP:portstatus[{#SNMPINDEX}].last(0)}=2 and {APC-Rack PDU-LLD SNMP:portstatus[{#SNMPINDEX}].change(0)}=1</expression>
<name>Port {#SNMPINDEX} on {HOSTNAME} has been powered off ({#SNMPVALUE})</name>
<url>http://{HOST.CONN}/</url>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger_prototype>
<trigger_prototype>
<expression>{APC-Rack PDU-LLD SNMP:portstatus[{#SNMPINDEX}].last(0)}=1 and {APC-Rack PDU-LLD SNMP:portstatus[{#SNMPINDEX}].change(0)}=1</expression>
<name>Port {#SNMPINDEX} on {HOSTNAME} has been powered on ({#SNMPVALUE})</name>
<url>http://{HOST.CONN}/</url>
<status>0</status>
<priority>1</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger_prototype>
<trigger_prototype>
<expression>{APC-Rack PDU-LLD SNMP:portstatus[{#SNMPINDEX}].last(0)}=4</expression>
<name>Port {#SNMPINDEX} on {HOSTNAME} is in error state ({#SNMPVALUE})</name>
<url>http://{HOST.CONN}/</url>
<status>0</status>
<priority>4</priority>
<description>The power outlet is faulty, please investigate.</description>
<type>0</type>
<dependencies/>
</trigger_prototype>
<trigger_prototype>
<expression>{APC-Rack PDU-LLD SNMP:portstatus[{#SNMPINDEX}].last(0)}=3 and {APC-Rack PDU-LLD SNMP:portstatus[{#SNMPINDEX}].change(0)}=1</expression>
<name>Port {#SNMPINDEX} on {HOSTNAME} is rebooting ({#SNMPVALUE})</name>
<url>http://{HOST.CONN}/</url>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes>
<graph_prototype>
<name>Port status ({#SNMPVALUE})</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>5.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>0</ymin_type_1>
<ymax_type_1>1</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>5</drawtype>
<color>EE00EE</color>
<yaxisside>0</yaxisside>
<calc_fnc>7</calc_fnc>
<type>0</type>
<item>
<host>APC-Rack PDU-LLD SNMP</host>
<key>portstatus[{#SNMPINDEX}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
<host_prototypes/>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$MAX_FEED}</macro>
<value>16</value>
</macro>
<macro>
<macro>{$SNMP_COMMUNITY}</macro>
<value>public</value>
</macro>
</macros>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{APC-Rack PDU-LLD SNMP:powerUsage.last(0)}&gt;{APC-Rack PDU-LLD SNMP:thresholdNear.last(0)}</expression>
<name>Powerusage on {HOSTNAME} is nearly overloaded</name>
<url>http://{HOST.CONN}/</url>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies>
<dependency>
<name>Power usage on {HOSTNAME} is overloaded</name>
<expression>{APC-Rack PDU-LLD SNMP:powerUsage.last(0)}&gt;{APC-Rack PDU-LLD SNMP:thresholdOverload.last(0)}</expression>
</dependency>
</dependencies>
</trigger>
<trigger>
<expression>{APC-Rack PDU-LLD SNMP:powerUsage.last(0)}&gt;{APC-Rack PDU-LLD SNMP:thresholdOverload.last(0)}</expression>
<name>Power usage on {HOSTNAME} is overloaded</name>
<url>http://{HOST.CONN}/</url>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{APC-Rack PDU-LLD SNMP:powerUsage.max(300)}={APC-Rack PDU-LLD SNMP:thresholdLow.last(0)}</expression>
<name>Power usage on {HOSTNAME} is too low</name>
<url>http://{HOST.CONN}/</url>
<status>0</status>
<priority>3</priority>
<description>The power usage has reached the Low threshold.</description>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
<graphs>
<graph>
<name>Power usage</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>2</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>
<host>APC-Rack PDU-LLD SNMP</host>
<key>powerFeed</key>
</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>1</drawtype>
<color>EEEE00</color>
<yaxisside>0</yaxisside>
<calc_fnc>4</calc_fnc>
<type>0</type>
<item>
<host>APC-Rack PDU-LLD SNMP</host>
<key>powerUsage</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>4</drawtype>
<color>E56717</color>
<yaxisside>0</yaxisside>
<calc_fnc>1</calc_fnc>
<type>0</type>
<item>
<host>APC-Rack PDU-LLD SNMP</host>
<key>thresholdNear</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>4</drawtype>
<color>DD0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>1</calc_fnc>
<type>0</type>
<item>
<host>APC-Rack PDU-LLD SNMP</host>
<key>thresholdOverload</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
<value_maps>
<value_map>
<name>APC Port Status</name>
<mappings>
<mapping>
<value>1</value>
<newvalue>On</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>Off</newvalue>
</mapping>
<mapping>
<value>3</value>
<newvalue>Rebooting</newvalue>
</mapping>
<mapping>
<value>4</value>
<newvalue>Error</newvalue>
</mapping>
</mappings>
</value_map>
<value_map>
<name>Cisco-Interface state</name>
<mappings>
<mapping>
<value>1</value>
<newvalue>up</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>down</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>