|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>2.0</version>
|
|
<date>2015-02-12T23:52:40Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>Network Devices</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Template SNMP BGP</template>
|
|
<name>Template SNMP BGP</name>
|
|
<groups>
|
|
<group>
|
|
<name>Network Devices</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>Routing</name>
|
|
</application>
|
|
</applications>
|
|
<items/>
|
|
<discovery_rules>
|
|
<discovery_rule>
|
|
<name>BGP Peers</name>
|
|
<type>10</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>advsnmp.discovery[{HOST.IP},"-v2c -c{$SNMP_COMMUNITY}",.1.3.6.1.2.1.15.3.1.7,1.4]</key>
|
|
<delay>3600</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>:</filter>
|
|
<lifetime>30</lifetime>
|
|
<description/>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>BGP Peer {#ADVSNMPVALUE} Administrative Status</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>BGP4-MIB::bgpPeerAdminStatus.{#ADVSNMPINDEX2}</snmp_oid>
|
|
<key>bgpPeerAdminStatus[{#ADVSNMPVALUE}]</key>
|
|
<delay>60</delay>
|
|
<history>7</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>Routing</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap>
|
|
<name>SNMP BGP Peer Admin Status (bgpPeerAdminStatus)</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>BGP Peer {#ADVSNMPVALUE} Session Time</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>BGP4-MIB::bgpPeerFsmEstablishedTime.{#ADVSNMPINDEX2}</snmp_oid>
|
|
<key>bgpPeerFsmEstablishedTime[{#ADVSNMPVALUE}]</key>
|
|
<delay>60</delay>
|
|
<history>7</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units>s</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>Routing</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>BGP Peer {#ADVSNMPVALUE} State</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>BGP4-MIB::bgpPeerState.{#ADVSNMPINDEX2}</snmp_oid>
|
|
<key>bgpPeerState[{#ADVSNMPVALUE}]</key>
|
|
<delay>60</delay>
|
|
<history>7</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>Routing</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap>
|
|
<name>SNMP BGP Peer State (bgpPeerState)</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
<trigger_prototypes>
|
|
<trigger_prototype>
|
|
<expression>{Template SNMP BGP:bgpPeerAdminStatus[{#ADVSNMPVALUE}].count(#4320, 2, "eq")}=4320 & {Template SNMP BGP:bgpPeerState[{#ADVSNMPVALUE}].count(#4320, 6,"eq")}<3888 & {Template SNMP BGP:bgpPeerState[{#ADVSNMPVALUE}].last(#1)}#6</expression>
|
|
<name>BGP Session Down (>3j) with Peer {#ADVSNMPVALUE} on host {HOST.NAME}</name>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>3</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
</trigger_prototype>
|
|
<trigger_prototype>
|
|
<expression>{Template SNMP BGP:bgpPeerAdminStatus[{#ADVSNMPVALUE}].count(#300, 2, "eq")}=300 & {Template SNMP BGP:bgpPeerState[{#ADVSNMPVALUE}].count(#300, 6,"eq")}<270 & {Template SNMP BGP:bgpPeerState[{#ADVSNMPVALUE}].last(#1)}#6</expression>
|
|
<name>BGP Session Down (>5h) with Peer {#ADVSNMPVALUE} on host {HOST.NAME}</name>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>2</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
</trigger_prototype>
|
|
</trigger_prototypes>
|
|
<graph_prototypes/>
|
|
<host_prototypes/>
|
|
</discovery_rule>
|
|
</discovery_rules>
|
|
<macros/>
|
|
<templates/>
|
|
<screens/>
|
|
</template>
|
|
</templates>
|
|
</zabbix_export>
|