first commit
This commit is contained in:
Executable
+49
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zabbix_export>
|
||||
<version>5.0</version>
|
||||
<date>2020-09-09T18:18:33Z</date>
|
||||
<value_maps>
|
||||
<value_map>
|
||||
<name>bgpPeerAdminStatus</name>
|
||||
<mappings>
|
||||
<mapping>
|
||||
<value>1</value>
|
||||
<newvalue>Stop</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>2</value>
|
||||
<newvalue>Start</newvalue>
|
||||
</mapping>
|
||||
</mappings>
|
||||
</value_map>
|
||||
<value_map>
|
||||
<name>BgpPeerState</name>
|
||||
<mappings>
|
||||
<mapping>
|
||||
<value>1</value>
|
||||
<newvalue>idle</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>2</value>
|
||||
<newvalue>connect</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>3</value>
|
||||
<newvalue>active</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>4</value>
|
||||
<newvalue>opensent</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>5</value>
|
||||
<newvalue>openconfirm</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>6</value>
|
||||
<newvalue>established</newvalue>
|
||||
</mapping>
|
||||
</mappings>
|
||||
</value_map>
|
||||
</value_maps>
|
||||
</zabbix_export>
|
||||
@@ -0,0 +1,284 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zabbix_export>
|
||||
<version>5.0</version>
|
||||
<date>2020-09-09T18:10:32Z</date>
|
||||
<groups>
|
||||
<group>
|
||||
<name>Templates</name>
|
||||
</group>
|
||||
<group>
|
||||
<name>Templates/Network devices</name>
|
||||
</group>
|
||||
</groups>
|
||||
<templates>
|
||||
<template>
|
||||
<template>Template Net Huawei VRP SNMPv2 - BGP</template>
|
||||
<name>Template Net Huawei VRP SNMPv2 - BGP</name>
|
||||
<description>Template for Huawei VRP to monitor BGP sessions</description>
|
||||
<groups>
|
||||
<group>
|
||||
<name>Templates</name>
|
||||
</group>
|
||||
<group>
|
||||
<name>Templates/Network devices</name>
|
||||
</group>
|
||||
</groups>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Routing Table Info</name>
|
||||
</application>
|
||||
</applications>
|
||||
<items>
|
||||
<item>
|
||||
<name>Total IPv4 FIB Routes</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>.1.3.6.1.2.1.4.24.3.0</snmp_oid>
|
||||
<key>hwIPv4FibRoutes</key>
|
||||
<delay>5m</delay>
|
||||
<history>7d</history>
|
||||
<trends>30d</trends>
|
||||
<units>Prefixes</units>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Routing Table Info</name>
|
||||
</application>
|
||||
</applications>
|
||||
</item>
|
||||
<item>
|
||||
<name>Total IPv4 RIB Routes</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>.1.3.6.1.4.1.2011.5.25.177.9.1.0</snmp_oid>
|
||||
<key>hwIPv4RibRoutes</key>
|
||||
<delay>5m</delay>
|
||||
<history>7d</history>
|
||||
<trends>30d</trends>
|
||||
<units>Prefixes</units>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Routing Table Info</name>
|
||||
</application>
|
||||
</applications>
|
||||
</item>
|
||||
<item>
|
||||
<name>Total IPv6 FIB Routes</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>1.3.6.1.2.1.55.1.9.0</snmp_oid>
|
||||
<key>hwIPv6FibRoutes</key>
|
||||
<delay>5m</delay>
|
||||
<history>7d</history>
|
||||
<trends>30d</trends>
|
||||
<units>Prefixes</units>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Routing Table Info</name>
|
||||
</application>
|
||||
</applications>
|
||||
</item>
|
||||
</items>
|
||||
<discovery_rules>
|
||||
<discovery_rule>
|
||||
<name>BGP4 Peer(s)</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>discovery[{#BGPPEER},.1.3.6.1.4.1.2011.5.25.177.1.1.2.1.4.0,{#ASNUM},.1.3.6.1.4.1.2011.5.25.177.1.1.2.1.2.0,{#ADMSTATUS},.1.3.6.1.4.1.2011.5.25.177.1.1.2.1.11.0]</snmp_oid>
|
||||
<key>BgpPeerRemoteAddr</key>
|
||||
<delay>1h</delay>
|
||||
<filter>
|
||||
<conditions>
|
||||
<condition>
|
||||
<macro>{#ADMSTATUS}</macro>
|
||||
<value>2</value>
|
||||
<formulaid>A</formulaid>
|
||||
</condition>
|
||||
</conditions>
|
||||
</filter>
|
||||
<lifetime>0</lifetime>
|
||||
<item_prototypes>
|
||||
<item_prototype>
|
||||
<name>AS Name for IPv4 peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
<type>EXTERNAL</type>
|
||||
<key>asname[{#BGPPEER},{HOST.IP},{#ASNUM}]</key>
|
||||
<delay>1d</delay>
|
||||
<history>30d</history>
|
||||
<trends>0</trends>
|
||||
<value_type>TEXT</value_type>
|
||||
<description>as_name["-p",{#ASNUM}]
|
||||
asname[{#BGPPEER},{HOST.IP},{#ASNUM}]</description>
|
||||
<application_prototypes>
|
||||
<application_prototype>
|
||||
<name>BGP Peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
</application_prototype>
|
||||
</application_prototypes>
|
||||
</item_prototype>
|
||||
<item_prototype>
|
||||
<name>Established time for peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>1.3.6.1.4.1.2011.5.25.177.1.1.2.1.7.0.{#SNMPINDEX}</snmp_oid>
|
||||
<key>BgpPeerFsmEstablishedTime[{#BGPPEER}]</key>
|
||||
<delay>2m</delay>
|
||||
<history>30d</history>
|
||||
<trends>90d</trends>
|
||||
<units>uptime</units>
|
||||
<application_prototypes>
|
||||
<application_prototype>
|
||||
<name>BGP Peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
</application_prototype>
|
||||
</application_prototypes>
|
||||
</item_prototype>
|
||||
<item_prototype>
|
||||
<name>Total routes from peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>1.3.6.1.4.1.2011.5.25.177.1.1.3.1.1.0.{#SNMPINDEX}</snmp_oid>
|
||||
<key>BgpPeerRoutes[{#BGPPEER}]</key>
|
||||
<delay>5m</delay>
|
||||
<history>30d</history>
|
||||
<trends>90d</trends>
|
||||
<units>prefixes</units>
|
||||
<application_prototypes>
|
||||
<application_prototype>
|
||||
<name>BGP Peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
</application_prototype>
|
||||
</application_prototypes>
|
||||
</item_prototype>
|
||||
<item_prototype>
|
||||
<name>Operational status for peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>1.3.6.1.4.1.2011.5.25.177.1.1.2.1.5.0.{#SNMPINDEX}</snmp_oid>
|
||||
<key>BgpPeerState[{#BGPPEER}]</key>
|
||||
<delay>2m</delay>
|
||||
<history>30d</history>
|
||||
<trends>90d</trends>
|
||||
<application_prototypes>
|
||||
<application_prototype>
|
||||
<name>BGP Peer {#BGPPEER} - AS{#ASNUM}</name>
|
||||
</application_prototype>
|
||||
</application_prototypes>
|
||||
<valuemap>
|
||||
<name>BgpPeerState</name>
|
||||
</valuemap>
|
||||
<trigger_prototypes>
|
||||
<trigger_prototype>
|
||||
<expression>{last()}<>6</expression>
|
||||
<name>Peer {#BGPPEER} - AS{#ASNUM} is DOWN !!!</name>
|
||||
<priority>AVERAGE</priority>
|
||||
</trigger_prototype>
|
||||
</trigger_prototypes>
|
||||
</item_prototype>
|
||||
</item_prototypes>
|
||||
<graph_prototypes>
|
||||
<graph_prototype>
|
||||
<name>Routes from Peer {#SNMPVALUE}</name>
|
||||
<show_work_period>NO</show_work_period>
|
||||
<show_triggers>NO</show_triggers>
|
||||
<graph_items>
|
||||
<graph_item>
|
||||
<color>1A7C11</color>
|
||||
<item>
|
||||
<host>Template Net Huawei VRP SNMPv2 - BGP</host>
|
||||
<key>BgpPeerRoutes[{#BGPPEER}]</key>
|
||||
</item>
|
||||
</graph_item>
|
||||
</graph_items>
|
||||
</graph_prototype>
|
||||
</graph_prototypes>
|
||||
</discovery_rule>
|
||||
</discovery_rules>
|
||||
</template>
|
||||
</templates>
|
||||
<graphs>
|
||||
<graph>
|
||||
<name>FIB - IPv4</name>
|
||||
<graph_items>
|
||||
<graph_item>
|
||||
<sortorder>1</sortorder>
|
||||
<drawtype>FILLED_REGION</drawtype>
|
||||
<color>00EE00</color>
|
||||
<item>
|
||||
<host>Template Net Huawei VRP SNMPv2 - BGP</host>
|
||||
<key>hwIPv4FibRoutes</key>
|
||||
</item>
|
||||
</graph_item>
|
||||
</graph_items>
|
||||
</graph>
|
||||
<graph>
|
||||
<name>FIB - IPv6</name>
|
||||
<graph_items>
|
||||
<graph_item>
|
||||
<sortorder>1</sortorder>
|
||||
<color>F63100</color>
|
||||
<item>
|
||||
<host>Template Net Huawei VRP SNMPv2 - BGP</host>
|
||||
<key>hwIPv6FibRoutes</key>
|
||||
</item>
|
||||
</graph_item>
|
||||
</graph_items>
|
||||
</graph>
|
||||
<graph>
|
||||
<name>RIB - IPv4</name>
|
||||
<graph_items>
|
||||
<graph_item>
|
||||
<sortorder>1</sortorder>
|
||||
<drawtype>FILLED_REGION</drawtype>
|
||||
<color>EE0000</color>
|
||||
<item>
|
||||
<host>Template Net Huawei VRP SNMPv2 - BGP</host>
|
||||
<key>hwIPv4RibRoutes</key>
|
||||
</item>
|
||||
</graph_item>
|
||||
</graph_items>
|
||||
</graph>
|
||||
<graph>
|
||||
<name>RIB x FIB - IPv4</name>
|
||||
<graph_items>
|
||||
<graph_item>
|
||||
<sortorder>1</sortorder>
|
||||
<drawtype>BOLD_LINE</drawtype>
|
||||
<color>00EE00</color>
|
||||
<item>
|
||||
<host>Template Net Huawei VRP SNMPv2 - BGP</host>
|
||||
<key>hwIPv4FibRoutes</key>
|
||||
</item>
|
||||
</graph_item>
|
||||
<graph_item>
|
||||
<sortorder>2</sortorder>
|
||||
<drawtype>BOLD_LINE</drawtype>
|
||||
<color>EE0000</color>
|
||||
<item>
|
||||
<host>Template Net Huawei VRP SNMPv2 - BGP</host>
|
||||
<key>hwIPv4RibRoutes</key>
|
||||
</item>
|
||||
</graph_item>
|
||||
</graph_items>
|
||||
</graph>
|
||||
</graphs>
|
||||
<value_maps>
|
||||
<value_map>
|
||||
<name>BgpPeerState</name>
|
||||
<mappings>
|
||||
<mapping>
|
||||
<value>1</value>
|
||||
<newvalue>idle</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>2</value>
|
||||
<newvalue>connect</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>3</value>
|
||||
<newvalue>active</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>4</value>
|
||||
<newvalue>opensent</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>5</value>
|
||||
<newvalue>openconfirm</newvalue>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<value>6</value>
|
||||
<newvalue>established</newvalue>
|
||||
</mapping>
|
||||
</mappings>
|
||||
</value_map>
|
||||
</value_maps>
|
||||
</zabbix_export>
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<zabbix_export>
|
||||
<version>5.0</version>
|
||||
<date>2020-09-09T18:11:55Z</date>
|
||||
<groups>
|
||||
<group>
|
||||
<name>Templates</name>
|
||||
</group>
|
||||
<group>
|
||||
<name>Templates/Network devices</name>
|
||||
</group>
|
||||
</groups>
|
||||
<templates>
|
||||
<template>
|
||||
<template>Template Net Huawei VRP SNMPv2 - Extra Inventory</template>
|
||||
<name>Template Net Huawei VRP SNMPv2 - Extra Inventory</name>
|
||||
<description>Template for Huawei VRP - Extra items to Inventory
|
||||
Works fine on NE routers series and partially on S67xx switch series</description>
|
||||
<groups>
|
||||
<group>
|
||||
<name>Templates</name>
|
||||
</group>
|
||||
<group>
|
||||
<name>Templates/Network devices</name>
|
||||
</group>
|
||||
</groups>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Inventory</name>
|
||||
</application>
|
||||
</applications>
|
||||
<items>
|
||||
<item>
|
||||
<name>Device ESN</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>.1.3.6.1.4.1.2011.5.25.188.1.1.0</snmp_oid>
|
||||
<key>hwDeviceEsn</key>
|
||||
<delay>1d</delay>
|
||||
<trends>0</trends>
|
||||
<value_type>TEXT</value_type>
|
||||
<inventory_link>SERIALNO_A</inventory_link>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Inventory</name>
|
||||
</application>
|
||||
</applications>
|
||||
</item>
|
||||
<item>
|
||||
<name>Patch Version</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>1.3.6.1.4.1.2011.5.25.19.1.8.5.1.1.4.128.3</snmp_oid>
|
||||
<key>hwPatchVersion</key>
|
||||
<delay>1d</delay>
|
||||
<trends>0</trends>
|
||||
<value_type>TEXT</value_type>
|
||||
<inventory_link>SOFTWARE_APP_A</inventory_link>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Inventory</name>
|
||||
</application>
|
||||
</applications>
|
||||
</item>
|
||||
<item>
|
||||
<name>Product Name</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>1.3.6.1.4.1.2011.6.3.11.4.0</snmp_oid>
|
||||
<key>hwProductName</key>
|
||||
<delay>1d</delay>
|
||||
<trends>0</trends>
|
||||
<value_type>TEXT</value_type>
|
||||
<inventory_link>TYPE</inventory_link>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Inventory</name>
|
||||
</application>
|
||||
</applications>
|
||||
</item>
|
||||
<item>
|
||||
<name>Software Version</name>
|
||||
<type>SNMP_AGENT</type>
|
||||
<snmp_oid>1.3.6.1.4.1.2011.5.25.19.1.8.5.1.1.6.128.3</snmp_oid>
|
||||
<key>hwProductVersion</key>
|
||||
<delay>1d</delay>
|
||||
<trends>0</trends>
|
||||
<value_type>TEXT</value_type>
|
||||
<inventory_link>SOFTWARE</inventory_link>
|
||||
<applications>
|
||||
<application>
|
||||
<name>Inventory</name>
|
||||
</application>
|
||||
</applications>
|
||||
</item>
|
||||
</items>
|
||||
</template>
|
||||
</templates>
|
||||
</zabbix_export>
|
||||
+495
@@ -0,0 +1,495 @@
|
||||
<?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()}>{$OPT_MOD_TEMP_WARN} and {last()}<{$OPT_MOD_TEMP_CRIT}</expression>
|
||||
<name>Interface {#IFNAME}: Temperatura do Modulo Otico > 85C</name>
|
||||
<priority>WARNING</priority>
|
||||
<description>Temperatura Atual: {ITEM.LASTVALUE1}.</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>{last()}>={$OPT_MOD_TEMP_CRIT}</expression>
|
||||
<name>Interface {#IFNAME}: Temperatura do Modulo Otico > 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()}>{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}<={Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighWarnThreshold[{#SNMPINDEX}].last()} <> -0.01)</expression>
|
||||
<name>Interface {#IFNAME}: Rx Power Alto</name>
|
||||
<priority>WARNING</priority>
|
||||
<description>Rx Atual: {ITEM.LASTVALUE1}
|
||||
Rx Referencia: {ITEM.LASTVALUE2}</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}<{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}>={Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowWarnThreshold[{#SNMPINDEX}].last()} <> -0.01)and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}> -40)</expression>
|
||||
<name>Interface {#IFNAME}: Rx Power Baixo</name>
|
||||
<priority>WARNING</priority>
|
||||
<description>Rx Atual: {ITEM.LASTVALUE1}
|
||||
Rx Referencia: {ITEM.LASTVALUE2}</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}>{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxHighThreshold[{#SNMPINDEX}].last()} <> -0.01)</expression>
|
||||
<name>Interface {#IFNAME}: Rx Power Muito Alto</name>
|
||||
<priority>DISASTER</priority>
|
||||
<description>Rx Atual: {ITEM.LASTVALUE1}
|
||||
Rx Referencia : {ITEM.LASTVALUE2}</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}<{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowThreshold[{#SNMPINDEX}].last()}) and {Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalRxLowThreshold[{#SNMPINDEX}].last()} <> -0.01 and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneRxPower[{#SNMPINDEX}].last()}> -40)</expression>
|
||||
<name>Interface {#IFNAME}: Rx Power Muito Baixo</name>
|
||||
<priority>DISASTER</priority>
|
||||
<description>Rx Atual: {ITEM.LASTVALUE1}
|
||||
Rx Referencia: {ITEM.LASTVALUE2}</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}>{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}>{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighWarnThreshold[{#SNMPINDEX}].last()} <> -0.01)</expression>
|
||||
<name>Interface {#IFNAME}: Tx Power Alto</name>
|
||||
<priority>WARNING</priority>
|
||||
<description>Tx Atual: {ITEM.LASTVALUE1}
|
||||
Tx Referencia: {ITEM.LASTVALUE2}</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}<{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowWarnThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}<{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowThreshold[{#SNMPINDEX}].last()}) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowWarnThreshold[{#SNMPINDEX}].last()} <> -0.01) and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}> -40)</expression>
|
||||
<name>Interface {#IFNAME}: Tx Power Baixo</name>
|
||||
<priority>WARNING</priority>
|
||||
<description>Tx Atual: {ITEM.LASTVALUE1}
|
||||
Tx Referencia: {ITEM.LASTVALUE2}</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}>{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighThreshold[{#SNMPINDEX}].last()}) and {Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxHighThreshold[{#SNMPINDEX}].last()} <> -0.01</expression>
|
||||
<name>Interface {#IFNAME}: Tx Power Muito Alto</name>
|
||||
<priority>DISASTER</priority>
|
||||
<description>Tx Atual: {ITEM.LASTVALUE1}
|
||||
Tx Referencia: {ITEM.LASTVALUE2}</description>
|
||||
</trigger_prototype>
|
||||
<trigger_prototype>
|
||||
<expression>({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}<{Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowThreshold[{#SNMPINDEX}].last()}) and {Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalTxLowThreshold[{#SNMPINDEX}].last()} <> -0.01 and ({Template Net Huawei VRP SNMPv2 - Optical Modules Info:hwEntityOpticalLaneTxPower[{#SNMPINDEX}].last()}> -40)</expression>
|
||||
<name>Interface {#IFNAME}: Tx Power Muito Baixo</name>
|
||||
<priority>DISASTER</priority>
|
||||
<description>Tx Atual: {ITEM.LASTVALUE1}
|
||||
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>
|
||||
Reference in New Issue
Block a user