1636 lines
77 KiB
XML
1636 lines
77 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>3.0</version>
|
|
<date>2019-05-27T22:36:45Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>Templates/L2DM/LLDP</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Template_LLDP_General_freeversion_1.0</template>
|
|
<name>Template LLDP - General</name>
|
|
<description>LLDP Module Temaplate type1-1 version 1.1 (20190516)
|
|
|
|
Conditions
|
|
- Use with LLDP module installed
|
|
- Use with LLDP MIB installed
|
|
|
|
Specification:
|
|
- Use "ifName" as item name
|
|
- Use "ifName" as application name</description>
|
|
<groups>
|
|
<group>
|
|
<name>Templates/L2DM/LLDP</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>Port Management (LLDP) - Host Info</name>
|
|
</application>
|
|
</applications>
|
|
<items>
|
|
<item>
|
|
<name>[Topology] Host Descr</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>LLDP-MIB::lldpLocSysDesc.0</snmp_oid>
|
|
<key>lldp.loc.sys.desc</key>
|
|
<delay>86400</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>2</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>Port Management (LLDP) - Host Info</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>[Topology] Local Host Name</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>LLDP-MIB::lldpLocSysName.0</snmp_oid>
|
|
<key>lldp.loc.sys.name</key>
|
|
<delay>86400</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>4</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>Port Management (LLDP) - Host Info</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
</items>
|
|
<discovery_rules>
|
|
<discovery_rule>
|
|
<name>if_discovery</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>lldp.discovery[{HOST.CONN},{$SNMP_COMMUNITY},interface]</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>
|
|
<evaltype>0</evaltype>
|
|
<formula/>
|
|
<conditions>
|
|
<condition>
|
|
<macro>{#IF_TYPE}</macro>
|
|
<value>^(6|62|69|117)$</value>
|
|
<operator>8</operator>
|
|
<formulaid>A</formulaid>
|
|
</condition>
|
|
</conditions>
|
|
</filter>
|
|
<lifetime>30</lifetime>
|
|
<description/>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - Port Descr</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifDescr.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.descr[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - Link Speed</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifSpeed.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.ifSpeed[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units>bps</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - Port Index Num</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifIndex.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.index[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>1</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - Port MAC Address</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifPhysAddress.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.mac[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - Port Name</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifName.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.name[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NAME}
|
|
{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - Link Status</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifOperStatus.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.opstatus[{#PORT_NUM}]</key>
|
|
<delay>300</delay>
|
|
<history>30</history>
|
|
<trends>0</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap>
|
|
<name>SNMP interface status (ifOperStatus)</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - Port Type</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifType.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.type[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap>
|
|
<name>SNMP ifType</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
<trigger_prototypes>
|
|
<trigger_prototype>
|
|
<expression>{Template_LLDP_General_freeversion_1.0:lldp.loc.if.opstatus[{#PORT_NUM}].last()}=2</expression>
|
|
<name>[Port - {#PORT_NAME}] - Link Down</name>
|
|
<url/>
|
|
<status>1</status>
|
|
<priority>1</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<dependencies/>
|
|
</trigger_prototype>
|
|
</trigger_prototypes>
|
|
<graph_prototypes/>
|
|
<host_prototypes/>
|
|
</discovery_rule>
|
|
<discovery_rule>
|
|
<name>lldp_discovery_remote</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>lldp.discovery[{HOST.CONN},{$SNMP_COMMUNITY},remote]</key>
|
|
<delay>600</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>0</lifetime>
|
|
<description/>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - [ Connect to ] Interface Descr</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.port.desc[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - [ Connect to ] Interface Info</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.port.id[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX},{$FIXED_PORTNAME_{#PORT_NUM}}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - [ Connect to ] Interface Info Type</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.port.type[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX},{$FIXED_PORTTYPE_{#PORT_NUM}}]</key>
|
|
<delay>300</delay>
|
|
<history>10</history>
|
|
<trends>0</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap>
|
|
<name>LLDP LldpPortIdSubtype</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - [ Connect to ] Host Descr</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.sys.desc[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - List of connetct to Host Descr</name>
|
|
</application_prototype>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NAME}] - [ Connect to ] Host</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.sysname[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX},{$FIXED_SYSNAME_{#PORT_NUM}}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - List of connetct to Host Name</name>
|
|
</application_prototype>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NAME}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
<trigger_prototypes/>
|
|
<graph_prototypes/>
|
|
<host_prototypes/>
|
|
</discovery_rule>
|
|
</discovery_rules>
|
|
<macros/>
|
|
<templates/>
|
|
<screens/>
|
|
</template>
|
|
<template>
|
|
<template>Template_LLDP_IndexNum_freeversion_1.0</template>
|
|
<name>Template LLDP - IndexNum</name>
|
|
<description>LLDP Module Temaplate type1-2 version 1.1 (20190516)
|
|
|
|
Conditions
|
|
- Use with LLDP module installed
|
|
- Use with LLDP MIB installed
|
|
|
|
Specification:
|
|
- Use "ifIndex" as item name
|
|
- Use "ifIndex" as application name</description>
|
|
<groups>
|
|
<group>
|
|
<name>Templates/L2DM/LLDP</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>Port Management (LLDP) - Host Info</name>
|
|
</application>
|
|
</applications>
|
|
<items>
|
|
<item>
|
|
<name>[Topology] Host Descr</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>LLDP-MIB::lldpLocSysDesc.0</snmp_oid>
|
|
<key>lldp.loc.sys.desc</key>
|
|
<delay>86400</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>2</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>Port Management (LLDP) - Host Info</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>[Topology] Local Host Name</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>LLDP-MIB::lldpLocSysName.0</snmp_oid>
|
|
<key>lldp.loc.sys.name</key>
|
|
<delay>86400</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>4</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>Port Management (LLDP) - Host Info</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
</items>
|
|
<discovery_rules>
|
|
<discovery_rule>
|
|
<name>if_discovery</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>lldp.discovery[{HOST.CONN},{$SNMP_COMMUNITY},interface]</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>
|
|
<evaltype>0</evaltype>
|
|
<formula/>
|
|
<conditions>
|
|
<condition>
|
|
<macro>{#IF_TYPE}</macro>
|
|
<value>^(6|62|69|117)$</value>
|
|
<operator>8</operator>
|
|
<formulaid>A</formulaid>
|
|
</condition>
|
|
</conditions>
|
|
</filter>
|
|
<lifetime>30</lifetime>
|
|
<description/>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - Port Descr</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifDescr.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.descr[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - Link Speed</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifSpeed.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.ifSpeed[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units>bps</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - Port Index Num</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifIndex.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.index[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</history>
|
|
<trends>0</trends>
|
|
<status>1</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - Port MAC Address</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifPhysAddress.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.mac[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - Port Name</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifName.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.name[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NUM}
|
|
{#PORT_NAME}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - Link Status</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifOperStatus.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.opstatus[{#PORT_NUM}]</key>
|
|
<delay>300</delay>
|
|
<history>30</history>
|
|
<trends>0</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap>
|
|
<name>SNMP interface status (ifOperStatus)</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - Port Type</name>
|
|
<type>4</type>
|
|
<snmp_community>{$SNMP_COMMUNITY}</snmp_community>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid>ifType.{#PORT_NUM}</snmp_oid>
|
|
<key>lldp.loc.if.type[{#PORT_NUM}]</key>
|
|
<delay>3600</delay>
|
|
<history>10</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap>
|
|
<name>SNMP ifType</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
<trigger_prototypes>
|
|
<trigger_prototype>
|
|
<expression>{Template_LLDP_IndexNum_freeversion_1.0:lldp.loc.if.opstatus[{#PORT_NUM}].last()}=2</expression>
|
|
<name>[Port - {#PORT_NUM}] - Link Down</name>
|
|
<url/>
|
|
<status>1</status>
|
|
<priority>1</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<dependencies/>
|
|
</trigger_prototype>
|
|
</trigger_prototypes>
|
|
<graph_prototypes/>
|
|
<host_prototypes/>
|
|
</discovery_rule>
|
|
<discovery_rule>
|
|
<name>lldp_discovery_remote</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<snmp_oid/>
|
|
<key>lldp.discovery[{HOST.CONN},{$SNMP_COMMUNITY},remote]</key>
|
|
<delay>600</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>0</lifetime>
|
|
<description/>
|
|
<item_prototypes>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - [ Connect to ] Interface Descr</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.port.desc[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - [ Connect to ] Interface Info</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.port.id[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX},{$FIXED_PORTNAME_{#PORT_NUM}}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - [ Connect to ] Interface Info Type</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.port.type[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX},{$FIXED_PORTTYPE_{#PORT_NUM}}]</key>
|
|
<delay>300</delay>
|
|
<history>10</history>
|
|
<trends>0</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap>
|
|
<name>LLDP LldpPortIdSubtype</name>
|
|
</valuemap>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - [ Connect to ] Host Descr</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.sys.desc[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - List of connetct to Host Descr</name>
|
|
</application_prototype>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
<item_prototype>
|
|
<name>[Port - {#PORT_NUM}] - [ Connect to ] Host</name>
|
|
<type>3</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>lldp.rem.sysname[{HOST.CONN},{$SNMP_COMMUNITY},{#PORT_NUM},{#REM_IDX},{$FIXED_SYSNAME_{#PORT_NUM}}]</key>
|
|
<delay>300</delay>
|
|
<history>10</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>{#PORT_NUM}</description>
|
|
<inventory_link>0</inventory_link>
|
|
<applications/>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
<application_prototypes>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - List of connetct to Host Name</name>
|
|
</application_prototype>
|
|
<application_prototype>
|
|
<name>Port Management (LLDP) - Port {#PORT_NUM}</name>
|
|
</application_prototype>
|
|
</application_prototypes>
|
|
</item_prototype>
|
|
</item_prototypes>
|
|
<trigger_prototypes/>
|
|
<graph_prototypes/>
|
|
<host_prototypes/>
|
|
</discovery_rule>
|
|
</discovery_rules>
|
|
<macros/>
|
|
<templates/>
|
|
<screens/>
|
|
</template>
|
|
</templates>
|
|
<value_maps>
|
|
<value_map>
|
|
<name>LLDP LldpPortIdSubtype</name>
|
|
<mappings>
|
|
<mapping>
|
|
<value>1</value>
|
|
<newvalue>interfaceAlias</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>2</value>
|
|
<newvalue>portComponent</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>3</value>
|
|
<newvalue>macAddress</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>4</value>
|
|
<newvalue>networkAddress</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>5</value>
|
|
<newvalue>interfaceName</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>6</value>
|
|
<newvalue>agentCircuitId</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>7</value>
|
|
<newvalue>local</newvalue>
|
|
</mapping>
|
|
</mappings>
|
|
</value_map>
|
|
<value_map>
|
|
<name>SNMP ifType</name>
|
|
<mappings>
|
|
<mapping>
|
|
<value>6</value>
|
|
<newvalue>ethernetCsmacd</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>20</value>
|
|
<newvalue>basicISDN</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>23</value>
|
|
<newvalue>ppp</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>24</value>
|
|
<newvalue>softwareLoopback</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>54</value>
|
|
<newvalue>propMultiplexor</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>62</value>
|
|
<newvalue>fastEther</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>69</value>
|
|
<newvalue>fastEtherFX</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>117</value>
|
|
<newvalue>gigabitEthernet</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>131</value>
|
|
<newvalue>tunnel</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>161</value>
|
|
<newvalue>ieee8023adLag</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>258</value>
|
|
<newvalue>vmwareVirtualNic</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>272</value>
|
|
<newvalue>vmwareNicTeam</newvalue>
|
|
</mapping>
|
|
</mappings>
|
|
</value_map>
|
|
<value_map>
|
|
<name>SNMP interface status (ifOperStatus)</name>
|
|
<mappings>
|
|
<mapping>
|
|
<value>1</value>
|
|
<newvalue>up</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>2</value>
|
|
<newvalue>down</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>3</value>
|
|
<newvalue>testing</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>4</value>
|
|
<newvalue>unknown</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>5</value>
|
|
<newvalue>dormant</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>6</value>
|
|
<newvalue>notPresent</newvalue>
|
|
</mapping>
|
|
<mapping>
|
|
<value>7</value>
|
|
<newvalue>lowerLayerDown</newvalue>
|
|
</mapping>
|
|
</mappings>
|
|
</value_map>
|
|
</value_maps>
|
|
</zabbix_export>
|