Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
552 lines (552 sloc) 26.6 KB
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.4</version>
<date>2020-09-19T01:08:42Z</date>
<groups>
<group>
<name>Redback</name>
</group>
</groups>
<templates>
<template>
<template>Ericsson Redback SNMPv2</template>
<name>Ericsson Redback SNMPv2</name>
<templates>
<template>
<name>Redback Interfaces SNMPv2</name>
</template>
</templates>
<groups>
<group>
<name>Redback</name>
</group>
</groups>
<applications>
<application>
<name>Hardware Monitor</name>
</application>
</applications>
<items>
<item>
<name>CPU Usage AVG (1 minute)</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>.1.3.6.1.4.1.2352.2.6.1.2.0</snmp_oid>
<key>CPUUsage1ma</key>
<history>10d</history>
<units>%</units>
<applications>
<application>
<name>Hardware Monitor</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>120</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{avg(120)}&gt;=70</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{avg(180)}&lt;=70 and {last()}&lt;=60</recovery_expression>
<name>{#HOSTNAME} - CPU Usage 1m above 70%</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>Memory (used)</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>.1.3.6.1.4.1.2352.2.16.1.2.1.4.1</snmp_oid>
<key>MemUsed</key>
<history>10d</history>
<value_type>FLOAT</value_type>
<units>B</units>
<applications>
<application>
<name>Hardware Monitor</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>120</params>
</step>
</preprocessing>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Fan Tray Discovery</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.2352.2.4.1.1.1.2]</snmp_oid>
<key>Fan.discovery</key>
<delay>1d</delay>
<lifetime>7d</lifetime>
<item_prototypes>
<item_prototype>
<name>{#SNMPVALUE}: Status</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.4.1.2352.2.4.1.1.1.4.{#SNMPINDEX}</snmp_oid>
<key>fan.status[redBackFan.{#SNMPINDEX}]</key>
<history>10d</history>
<value_type>FLOAT</value_type>
<description>1—normal&#13;
2—failed&#13;
3—absent&#13;
4—unknown</description>
<applications>
<application>
<name>Hardware Monitor</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>120</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{min(#3)}&lt;&gt;1</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{min(#3)}=1</recovery_expression>
<name>{#SNMPVALUE} - Status error</name>
<priority>WARNING</priority>
<description>1 - normal、2 - failed、3 - absent、4 - unknown</description>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Power Discovery</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.2352.2.4.1.2.1.2]</snmp_oid>
<key>pdu.discovery</key>
<delay>1d</delay>
<lifetime>7d</lifetime>
<item_prototypes>
<item_prototype>
<name>{#SNMPVALUE}: status</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.4.1.2352.2.4.1.2.1.4.{#SNMPINDEX}</snmp_oid>
<key>power.status[redBackPower.{#SNMPINDEX}]</key>
<history>10d</history>
<description>1—normal&#13;
2—failed&#13;
3—absent&#13;
4—unknown</description>
<applications>
<application>
<name>Hardware Monitor</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>120</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{min(#3)}&lt;&gt;1</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{min(#3)}=1</recovery_expression>
<name>{#SNMPVALUE} - Status error</name>
<priority>WARNING</priority>
<description>1 - normal、2 - failed、3 - absent、4 - unknown</description>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>storage.discovery</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.2352.2.24.1.2.1.1.2]</snmp_oid>
<key>storage.discovery</key>
<delay>1d</delay>
<lifetime>7d</lifetime>
<item_prototypes>
<item_prototype>
<name>{#SNMPVALUE}: Usage</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.4.1.2352.2.24.1.2.1.1.6.{#SNMPINDEX}</snmp_oid>
<key>storage.value[redBackStorageUsage.{#SNMPINDEX}]</key>
<delay>5m</delay>
<units>%</units>
<applications>
<application>
<name>Hardware Monitor</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>120</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{avg(#10)}&gt;=90 and {last()}&gt;=90</expression>
<name>{#SNMPVALUE} - Usage above 90%</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>{#SNMPVALUE}: Usage</name>
<graph_items>
<graph_item>
<color>4527A0</color>
<calc_fnc>ALL</calc_fnc>
<item>
<host>Ericsson Redback SNMPv2</host>
<key>storage.value[redBackStorageUsage.{#SNMPINDEX}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
<discovery_rule>
<name>temp.discovery</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.2352.2.4.1.6.1.2,{#RBNENTITYTEMPDESCR},1.3.6.1.4.1.2352.2.4.1.6.1.2,{#RBNENTITYTEMPCURRENT},1.3.6.1.4.1.2352.2.4.1.6.1.3]</snmp_oid>
<key>temp.discovery</key>
<delay>1d</delay>
<filter>
<conditions>
<condition>
<macro>{#RBNENTITYTEMPDESCR}</macro>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<lifetime>7d</lifetime>
<description>User {#RBNENTITYTEMPDESCR} marco fliter .*5$|.*7$ or .*Exhaust.*</description>
<item_prototypes>
<item_prototype>
<name>{#SNMPVALUE}</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.4.1.2352.2.4.1.6.1.3.{#SNMPINDEX}</snmp_oid>
<key>temp.value[redBackTemperatureValue.{#SNMPINDEX}]</key>
<value_type>FLOAT</value_type>
<units>°C</units>
<applications>
<application>
<name>Hardware Monitor</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>120</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{min(120)}&gt;=60</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{max(180)}&lt;=58 and {avg(180)}&lt;=58</recovery_expression>
<name>{#SNMPVALUE} - High temperature</name>
<priority>INFO</priority>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>{#SNMPVALUE}</name>
<graph_items>
<graph_item>
<color>26C6DA</color>
<calc_fnc>ALL</calc_fnc>
<item>
<host>Ericsson Redback SNMPv2</host>
<key>temp.value[redBackTemperatureValue.{#SNMPINDEX}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
</discovery_rules>
</template>
<template>
<template>Redback Interfaces SNMPv2</template>
<name>Redback Interfaces SNMPv2</name>
<groups>
<group>
<name>Redback</name>
</group>
</groups>
<applications>
<application>
<name>Interfaces status</name>
</application>
<application>
<name>Interfaces traffic</name>
</application>
</applications>
<discovery_rules>
<discovery_rule>
<name>Interfaces discovery</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>discovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2]</snmp_oid>
<key>net.if.discovery</key>
<delay>1d</delay>
<filter>
<evaltype>AND</evaltype>
<conditions>
<condition>
<macro>{#IFADMINSTATUS}</macro>
<value>(1|3)</value>
<formulaid>A</formulaid>
</condition>
<condition>
<macro>{#IFNAME}</macro>
<value>@Network interfaces for discovery</value>
<formulaid>C</formulaid>
</condition>
<condition>
<macro>{#IFNAME}</macro>
<value>(vme|lsi|pfe|pfh|\.0|bme|gr|gre|tap|irb|dsc|ipip|pimd|pime|mtun|em0|em1|em2|esi|jsrv|vtep|me|lt|ip|lc|ut|mt|vt|pe|cbp|ud|fxp|dem|pip|pp)</value>
<operator>NOT_MATCHES_REGEX</operator>
<formulaid>B</formulaid>
</condition>
<condition>
<macro>{#IFOPERSTATUS}</macro>
<value>(1|3|4|5|7)</value>
<formulaid>D</formulaid>
</condition>
</conditions>
</filter>
<lifetime>12h</lifetime>
<description>Discovering interfaces from IF-MIB.</description>
<item_prototypes>
<item_prototype>
<name>{#IFDESCR}: Bits received</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}</snmp_oid>
<key>net.if.in[ifInOctets.{#SNMPINDEX}]</key>
<history>30d</history>
<status>DISABLED</status>
<units>bps</units>
<applications>
<application>
<name>Interfaces traffic</name>
</application>
</applications>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<params/>
</step>
<step>
<type>MULTIPLIER</type>
<params>8</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>{#IFDESCR}: Bits sent</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}</snmp_oid>
<key>net.if.out[ifOutOctets.{#SNMPINDEX}]</key>
<history>30d</history>
<status>DISABLED</status>
<units>bps</units>
<applications>
<application>
<name>Interfaces traffic</name>
</application>
</applications>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<params/>
</step>
<step>
<type>MULTIPLIER</type>
<params>8</params>
</step>
</preprocessing>
</item_prototype>
<item_prototype>
<name>{#IFDESCR}: Operational status</name>
<type>SNMPV2</type>
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
<snmp_oid>1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}</snmp_oid>
<key>net.if.status[ifOperStatus.{#SNMPINDEX}]</key>
<history>30d</history>
<trends>0</trends>
<applications>
<application>
<name>Interfaces status</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{$IFCONTROL:&quot;{#IFNAME}&quot;}=1 and {last()}=2 and {diff()}=1</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{last()}&lt;&gt;2</recovery_expression>
<name>{#IFNAME} - Interfaces down</name>
<opdata>{ITEM.LASTVALUE1}</opdata>
<priority>INFO</priority>
<description>1-up、2-down、3-testing、4-unknown、5-dormant、6-notPresent、7-lowerLayerDown</description>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<graph_prototypes>
<graph_prototype>
<name>{#IFDESCR}: traffic</name>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>00CF05</color>
<calc_fnc>ALL</calc_fnc>
<item>
<host>Redback Interfaces SNMPv2</host>
<key>net.if.in[ifInOctets.{#SNMPINDEX}]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>0040FF</color>
<calc_fnc>ALL</calc_fnc>
<item>
<host>Redback Interfaces SNMPv2</host>
<key>net.if.out[ifOutOctets.{#SNMPINDEX}]</key>
</item>
</graph_item>
</graph_items>
</graph_prototype>
</graph_prototypes>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$IF.ERRORS.WARN}</macro>
<value>2</value>
</macro>
<macro>
<macro>{$IF.UTIL.MAX}</macro>
<value>90</value>
</macro>
<macro>
<macro>{$IFCONTROL}</macro>
<value>1</value>
</macro>
<macro>
<macro>{$NET.IF.IFADMINSTATUS.MATCHES}</macro>
<value>^.*</value>
<description>Ignore notPresent(6)</description>
</macro>
<macro>
<macro>{$NET.IF.IFADMINSTATUS.NOT_MATCHES}</macro>
<value>^2$</value>
<description>Ignore down(2) administrative status</description>
</macro>
<macro>
<macro>{$NET.IF.IFALIAS.MATCHES}</macro>
<value>.*</value>
</macro>
<macro>
<macro>{$NET.IF.IFALIAS.NOT_MATCHES}</macro>
<value>CHANGE_IF_NEEDED</value>
</macro>
<macro>
<macro>{$NET.IF.IFDESCR.MATCHES}</macro>
<value>.*</value>
</macro>
<macro>
<macro>{$NET.IF.IFDESCR.NOT_MATCHES}</macro>
<value>CHANGE_IF_NEEDED</value>
</macro>
<macro>
<macro>{$NET.IF.IFNAME.MATCHES}</macro>
<value>^.*$</value>
</macro>
<macro>
<macro>{$NET.IF.IFNAME.NOT_MATCHES}</macro>
<value>(^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9a-z]+$|docker[0-9]+|br-[a-z0-9]{12})</value>
<description>Filter out loopbacks, nulls, docker veth links and docker0 bridge by default</description>
</macro>
<macro>
<macro>{$NET.IF.IFOPERSTATUS.MATCHES}</macro>
<value>^.*$</value>
</macro>
<macro>
<macro>{$NET.IF.IFOPERSTATUS.NOT_MATCHES}</macro>
<value>^6$</value>
<description>Ignore notPresent(6)</description>
</macro>
<macro>
<macro>{$NET.IF.IFTYPE.MATCHES}</macro>
<value>.*</value>
</macro>
<macro>
<macro>{$NET.IF.IFTYPE.NOT_MATCHES}</macro>
<value>CHANGE_IF_NEEDED</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>CPU Usage AVG (1 minute)</name>
<graph_items>
<graph_item>
<color>FFAB91</color>
<calc_fnc>ALL</calc_fnc>
<item>
<host>Ericsson Redback SNMPv2</host>
<key>CPUUsage1ma</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Memory (used)</name>
<graph_items>
<graph_item>
<color>26A69A</color>
<calc_fnc>ALL</calc_fnc>
<item>
<host>Ericsson Redback SNMPv2</host>
<key>MemUsed</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>