<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>5.0</version>
    <date>2020-09-09T18:12:23Z</date>
    <groups>
        <group>
            <name>Templates</name>
        </group>
        <group>
            <name>Templates/Network devices</name>
        </group>
    </groups>
    <templates>
        <template>
            <template>Template Net Huawei VRP SNMPv2 - Optical Modules Info</template>
            <name>Template Net Huawei VRP SNMPv2 - Optical Modules Info</name>
            <description>Template for Huawei VRP Optical Modules Info</description>
            <groups>
                <group>
                    <name>Templates</name>
                </group>
                <group>
                    <name>Templates/Network devices</name>
                </group>
            </groups>
            <discovery_rules>
                <discovery_rule>
                    <name>Network Optical Modules Info</name>
                    <type>SNMP_AGENT</type>
                    <snmp_oid>discovery[{#IFNAME},1.3.6.1.2.1.47.1.1.1.1.7,{#IFPRESENT},.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.14,{#IFCLASS},.1.3.6.1.2.1.47.1.1.1.1.5]</snmp_oid>
                    <key>net.if.optical.discovery</key>
                    <delay>1h</delay>
                    <filter>
                        <evaltype>AND</evaltype>
                        <conditions>
                            <condition>
                                <macro>{#IFCLASS}</macro>
                                <value>10</value>
                                <formulaid>A</formulaid>
                            </condition>
                            <condition>
                                <macro>{#IFPRESENT}</macro>
                                <value>-1</value>
                                <operator>NOT_MATCHES_REGEX</operator>
                                <formulaid>B</formulaid>
                            </condition>
                        </conditions>
                    </filter>
                    <description>Discovering interfaces from IF-MIB. Interfaces with down(2) Administrative Status are not discovered.</description>
                    <item_prototypes>
                        <item_prototype>
                            <name>{#IFNAME}:  Rx Power</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.32.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalLaneRxPower[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Tx Power</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.33.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalLaneTxPower[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Rx High Threshold</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.14.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalRxHighThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Rx High Warning</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.21.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalRxHighWarnThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Rx Low Threshold</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.13.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalRxLowThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Rx Low Warning</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.20.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalRxLowWarnThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}: Temperatura</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>1.3.6.1.4.1.2011.5.25.31.1.1.3.1.5.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalTemperature[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <units>C</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{last()}&gt;{$OPT_MOD_TEMP_WARN} and {last()}&lt;{$OPT_MOD_TEMP_CRIT}</expression>
                                    <name>Interface {#IFNAME}: Temperatura do Modulo Otico   &gt; 85C</name>
                                    <priority>WARNING</priority>
                                    <description>Temperatura Atual: {ITEM.LASTVALUE1}.</description>
                                </trigger_prototype>
                                <trigger_prototype>
                                    <expression>{last()}&gt;={$OPT_MOD_TEMP_CRIT}</expression>
                                    <name>Interface {#IFNAME}: Temperatura do Modulo Otico    &gt; 90C</name>
                                    <priority>DISASTER</priority>
                                    <description>Temperatura Atual: {ITEM.LASTVALUE1}.</description>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Tx High Threshold</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.16.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalTxHighThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Tx High Warning</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.23.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalTxHighWarnThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Tx Low Threshold</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.15.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalTxLowThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                        <item_prototype>
                            <name>{#IFNAME}:  Tx Low Warning</name>
                            <type>SNMP_AGENT</type>
                            <snmp_oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.22.{#SNMPINDEX}</snmp_oid>
                            <key>hwEntityOpticalTxLowWarnThreshold[{#SNMPINDEX}]</key>
                            <delay>5m</delay>
                            <history>30d</history>
                            <trends>90d</trends>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Optical Module {#IFNAME}</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                        </item_prototype>
                    </item_prototypes>
                    <trigger_prototypes>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&gt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&lt;={Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighWarnThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01)</expression>
                            <name>Interface {#IFNAME}: Rx Power Alto</name>
                            <priority>WARNING</priority>
                            <description>Rx Atual: {ITEM.LASTVALUE1}&#13;
Rx Referencia: {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&lt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&gt;={Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowWarnThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01)and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&gt; -40)</expression>
                            <name>Interface {#IFNAME}: Rx Power Baixo</name>
                            <priority>WARNING</priority>
                            <description>Rx Atual: {ITEM.LASTVALUE1}&#13;
Rx Referencia: {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&gt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01)</expression>
                            <name>Interface {#IFNAME}: Rx Power Muito Alto</name>
                            <priority>DISASTER</priority>
                            <description>Rx Atual: {ITEM.LASTVALUE1}&#13;
Rx Referencia : {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&lt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowThreshold[{#SNMPINDEX}].last()}) and {Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01 and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}&gt; -40)</expression>
                            <name>Interface {#IFNAME}: Rx Power Muito Baixo</name>
                            <priority>DISASTER</priority>
                            <description>Rx Atual: {ITEM.LASTVALUE1}&#13;
Rx Referencia: {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&gt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&gt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighWarnThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01)</expression>
                            <name>Interface {#IFNAME}: Tx Power Alto</name>
                            <priority>WARNING</priority>
                            <description>Tx Atual: {ITEM.LASTVALUE1}&#13;
Tx Referencia: {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&lt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&lt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowWarnThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&gt; -40)</expression>
                            <name>Interface {#IFNAME}: Tx Power Baixo</name>
                            <priority>WARNING</priority>
                            <description>Tx Atual: {ITEM.LASTVALUE1}&#13;
Tx Referencia: {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&gt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighThreshold[{#SNMPINDEX}].last()}) and {Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01</expression>
                            <name>Interface {#IFNAME}: Tx Power Muito Alto</name>
                            <priority>DISASTER</priority>
                            <description>Tx Atual: {ITEM.LASTVALUE1}&#13;
Tx Referencia: {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&lt;{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowThreshold[{#SNMPINDEX}].last()}) and {Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowThreshold[{#SNMPINDEX}].last()} &lt;&gt; -0.01 and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}&gt; -40)</expression>
                            <name>Interface {#IFNAME}: Tx Power Muito Baixo</name>
                            <priority>DISASTER</priority>
                            <description>Tx Atual: {ITEM.LASTVALUE1}&#13;
Tx Referencia: {ITEM.LASTVALUE2}</description>
                        </trigger_prototype>
                    </trigger_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <name>{#IFNAME}:  Rx Power</name>
                            <graph_items>
                                <graph_item>
                                    <color>199C0D</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalRxHighThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalRxHighWarnThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalRxLowThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>3</sortorder>
                                    <color>F7941D</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalRxLowWarnThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>4</sortorder>
                                    <color>FC6EA3</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalLaneRxPower[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <name>{#IFNAME}: Temperatura do Modulo Otico</name>
                            <graph_items>
                                <graph_item>
                                    <color>1A7C11</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalTemperature[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <name>{#IFNAME}: Tx Power</name>
                            <graph_items>
                                <graph_item>
                                    <color>199C0D</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalTxHighThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalTxHighWarnThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <color>2774A4</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalTxLowThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>3</sortorder>
                                    <color>F7941D</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalTxLowWarnThreshold[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>4</sortorder>
                                    <color>FC6EA3</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalLaneTxPower[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                        <graph_prototype>
                            <name>{#IFNAME}: Tx Power / Rx Power</name>
                            <graph_items>
                                <graph_item>
                                    <color>199C0D</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalLaneRxPower[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>F63100</color>
                                    <item>
                                        <host>Template Net Huawei VRP SNMPv2 - Optical Modules Info</host>
                                        <key>hwEntityOpticalLaneTxPower[{#SNMPINDEX}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
            </discovery_rules>
            <macros>
                <macro>
                    <macro>{$OPT_MOD_TEMP_CRIT}</macro>
                    <value>90</value>
                </macro>
                <macro>
                    <macro>{$OPT_MOD_TEMP_WARN}</macro>
                    <value>85</value>
                </macro>
            </macros>
        </template>
    </templates>
</zabbix_export>
