Standardized templates for network devices

Overview

In order to provide monitoring for network devices such as switches and routers, we have created two so-called models: for the network device itself (its chassis basically) and for network interface.

Since Zabbix 3.4 templates for many families of network devices are provided. All templates cover (where possible to get these items from the device):

  • Chassis fault monitoring (power supplies, fans and temperature, overall status)
  • Chassis performance monitoring (CPU and memory items)
  • Chassis inventory collection (serial numbers, model name, firmware version)
  • Network interface monitoring with IF-MIB and EtherLike-MIB (interface status, interface traffic load, duplex status for Ethernet)

These templates are available:

  • In new installations - in Data collectionTemplates;
  • If you are upgrading from previous versions, you can find these templates in the zabbix/templates directory of the downloaded latest Zabbix version. While in Data collectionTemplates you can import them manually from this directory.

If you are importing the new out-of-the-box templates, you may want to also update the @Network interfaces for discovery global regular expression to:

  1. Result is FALSE: ^Software Loopback Interface
  2. Result is FALSE: ^(In)?[lL]oop[bB]ack[0-9._]*$
  3. Result is FALSE: ^NULL[0-9.]*$
  4. Result is FALSE: ^[lL]o[0-9.]*$
  5. Result is FALSE: ^[sS]ystem$
  6. Result is FALSE: ^Nu[0-9.]*$

to filter out loopbacks and null interfaces on most systems.

Devices

List of device families for which templates are available:

Template nameVendorDevice familyKnown modelsOSMIBs usedTags
Alcatel Timetra TiMOS SNMPAlcatelAlcatel TimetraALCATEL SR 7750TiMOSTIMETRA-SYSTEM-MIB,TIMETRA-CHASSIS-MIBCertified
Brocade FC SNMPBrocadeBrocade FC switchesBrocade 300 SAN Switch--SW-MIB,ENTITY-MIBPerformance, Fault
Brocade_Foundry Stackable SNMPBrocadeBrocade ICXBrocade ICX6610, Brocade ICX7250-48, Brocade ICX7450-48FFOUNDRY-SN-AGENT-MIB, FOUNDRY-SN-STACKING-MIBCertified
Brocade_Foundry Nonstackable SNMPBrocade, FoundryBrocade MLX, FoundryBrocade MLXe, Foundry FLS648, Foundry FWSX424FOUNDRY-SN-AGENT-MIBPerformance, Fault
Cisco Catalyst 3750<device model> SNMPCiscoCisco Catalyst 3750Cisco Catalyst 3750V2-24FS, Cisco Catalyst 3750V2-24PS, Cisco Catalyst 3750V2-24TS, Cisco Catalyst SNMP, Cisco Catalyst SNMPCISCO-MEMORY-POOL-MIB, IF-MIB, EtherLike-MIB, SNMPv2-MIB, CISCO-PROCESS-MIB, CISCO-ENVMON-MIB, ENTITY-MIBCertified
Cisco IOS SNMPCiscoCisco IOS ver > 12.2 3.5Cisco C2950IOSCISCO-PROCESS-MIB,CISCO-MEMORY-POOL-MIB,CISCO-ENVMON-MIBCertified
Cisco IOS versions 12.0_3_T-12.2_3.5 SNMPCiscoCisco IOS > 12.0 3 T and < 12.2 3.5-IOSCISCO-PROCESS-MIB,CISCO-MEMORY-POOL-MIB,CISCO-ENVMON-MIBCertified
Cisco IOS prior to 12.0_3_T SNMPCiscoCisco IOS < 12.0 3 T-IOSOLD-CISCO-CPU-MIB,CISCO-MEMORY-POOL-MIBCertified
D-Link DES_DGS Switch SNMPD-LinkDES/DGX switchesD-Link DES-xxxx/DGS-xxxx,DLINK DGS-3420-26SC-DLINK-AGENT-MIB,EQUIPMENT-MIB,ENTITY-MIBCertified
D-Link DES 7200 SNMPD-LinkDES-7xxxD-Link DES 7206-ENTITY-MIB,MY-SYSTEM-MIB,MY-PROCESS-MIB,MY-MEMORY-MIBPerformance Fault Interfaces
Dell Force S-Series SNMPDellDell Force S-SeriesS4810F10-S-SERIES-CHASSIS-MIBCertified
Extreme Exos SNMPExtremeExtreme EXOSX670V-48xEXOSEXTREME-SYSTEM-MIB,EXTREME-SOFTWARE-MONITOR-MIBCertified
Huawei VRP SNMPHuaweiHuawei VRPS2352P-EI-ENTITY-MIB,HUAWEI-ENTITY-EXTENT-MIBCertified
Intel_Qlogic Infiniband SNMPIntel/QLogicIntel/QLogic Infiniband devicesInfiniband 12300ICS-CHASSIS-MIBFault Inventory
Juniper SNMPJuniperMX,SRX,EX modelsJuniper MX240, Juniper EX4200-24FJunOSJUNIPER-MIBCertified
Mellanox SNMPMellanoxMellanox Infiniband devicesSX1036MLNX-OSHOST-RESOURCES-MIB,ENTITY-MIB,ENTITY-SENSOR-MIB,MELLANOX-MIBCertified
MikroTik CCR<device model> SNMPMikroTikMikroTik Cloud Core Routers (CCR series)Separate dedicated templates are available for MikroTik CCR1009-7G-1C-1S+, MikroTik CCR1009-7G-1C-1S+PC, MikroTik CCR1009-7G-1C-PC, MikroTik CCR1016-12G, MikroTik CCR1016-12S-1S+, MikroTik CCR1036-12G-4S-EM, MikroTik CCR1036-12G-4S, MikroTik CCR1036-8G-2S+, MikroTik CCR1036-8G-2S+EM, MikroTik CCR1072-1G-8S+, MikroTik CCR2004-16G-2S+, MikroTik CCR2004-1G-12S+2XSRouterOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik CRS<device model> SNMPMikroTikMikroTik Cloud Router Switches (CRS series)Separate dedicated templates are available for MikroTik CRS106-1C-5S, MikroTik CRS109-8G-1S-2HnD-IN, MikroTik CRS112-8G-4S-IN, MikroTik CRS112-8P-4S-IN, MikroTik CRS125-24G-1S-2HnD-IN, MikroTik CRS212-1G-10S-1S+IN, MikroTik CRS305-1G-4S+IN, MikroTik CRS309-1G-8S+IN, MikroTik CRS312-4C+8XG-RM, MikroTik CRS317-1G-16S+RM, MikroTik CRS326-24G-2S+IN, MikroTik CRS326-24G-2S+RM, MikroTik CRS326-24S+2Q+RM, MikroTik CRS328-24P-4S+RM, MikroTik CRS328-4C-20S-4S+RM, MikroTik CRS354-48G-4S+2Q+RM, MikroTik CRS354-48P-4S+2Q+RMRouterOS/SwitchOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik CSS<device model> SNMPMikroTikMikroTik Cloud Smart Switches (CSS series)Separate dedicated templates are available for MikroTik CSS326-24G-2S+RM, MikroTik CSS610-8G-2S+INRouterOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik FiberBox SNMPMikroTikMikroTik FiberBoxMikroTik FiberBoxRouterOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik hEX <device model> SNMPMikroTikMikroTik hEXSeparate dedicated templates are available for MikroTik hEX, MikroTik hEX lite, MikroTik hEX PoE, MikroTik hEX PoE lite, MikroTik hEX SRouterOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik netPower <device model> SNMPMikroTikMikroTik netPowerSeparate dedicated templates are available for MikroTik netPower 15FR, MikroTik netPower 16P SNMP, MikroTik netPower Lite 7RRouterOS/SwitchOS, SwitchOS LiteMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik PowerBox <device model> SNMPMikroTikMikroTik PowerBoxSeparate dedicated templates are available for MikroTik PowerBox, MikroTik PowerBox ProRouterOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik RB<device model> SNMPMikroTikMikroTik RB series routersSeparate dedicated templates are available for MikroTik RB1100AHx4, MikroTik RB1100AHx4 Dude Edition, MikroTik RB2011iL-IN, MikroTik RB2011iL-RM, MikroTik RB2011iLS-IN, MikroTik RB2011UiAS-IN, MikroTik RB2011UiAS-RM, MikroTik RB260GS, MikroTik RB3011UiAS-RM, MikroTik RB4011iGS+RM, MikroTik RB5009UG+S+INRouterOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
MikroTik SNMPMikroTikMikroTik RouterOS devicesMikroTik CCR1016-12G, MikroTik RB2011UAS-2HnD, MikroTik 912UAG-5HPnD, MikroTik 941-2nD, MikroTik 951G-2HnD, MikroTik 1100AHx2RouterOSMIKROTIK-MIB,HOST-RESOURCES-MIBCertified
QTech QSW SNMPQTechQtech devicesQtech QSW-2800-28T-QTECH-MIB,ENTITY-MIBPerformance Inventory
Ubiquiti AirOS SNMPUbiquitiUbiquiti AirOS wireless devicesNanoBridge,NanoStation,UnifiAirOSFROGFOOT-RESOURCES-MIB,IEEE802dot11-MIBPerformance
HP Comware HH3C SNMPHPHP (H3C) ComwareHP A5500-24G-4SFP HI SwitchHH3C-ENTITY-EXT-MIB,ENTITY-MIBCertified
HP Enterprise Switch SNMPHPHP Enterprise SwitchHP ProCurve J4900B Switch 2626, HP J9728A 2920-48G SwitchSTATISTICS-MIB,NETSWITCH-MIB,HP-ICF-CHASSIS,ENTITY-MIB,SEMI-MIBCertified
TP-LINK SNMPTP-LINKTP-LINKT2600G-28TS v2.0TPLINK-SYSMONITOR-MIB,TPLINK-SYSINFO-MIBPerformance Inventory
Netgear Fastpath SNMPNetgearNetgear FastpathM5300-28GFASTPATH-SWITCHING-MIB,FASTPATH-BOXSERVICES-PRIVATE-MIBFault Inventory

Template design

Templates were designed with the following in mind:

  • User macros are used as much as possible so triggers can be tuned by the user;
  • Low-level discovery is used as much as possible to minimize the number of unsupported items;
  • All templates depend on Template ICMP Ping so all devices are also checked by ICMP;
  • Items don’t use any MIBs - SNMP OIDs are used in items and low-level discoveries. So it’s not necessary to load any MIBs into Zabbix for templates to work;
  • Loopback network interfaces are filtered when discovering as well as interfaces with ifAdminStatus = down(2)
  • 64bit counters are used from IF-MIB::ifXTable where possible. If it is not supported, default 32bit counters are used instead.

All discovered network interfaces have a trigger that monitors its operational status (link), for example:

  1. {$IFCONTROL:"{#IFNAME}"}=1 and last(/Alcatel Timetra TiMOS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Alcatel Timetra TiMOS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Alcatel Timetra TiMOS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))
  • If you do no want to monitor this condition for a specific interface create a user macro with context with the value 0. For example:

Standardized templates for network devices - 图1

where Gi0/0 is {#IFNAME}. That way the trigger is not used any more for this specific interface.

  • You can also change the default behavior for all triggers not to fire and activate this trigger only to limited number of interfaces like uplinks:

Standardized templates for network devices - 图2

Tags

  • Performance – device family MIBs provide a way to monitor CPU and memory items;
  • Fault - device family MIBs provide a way to monitor at least one temperature sensor;
  • Inventory – device family MIBs provide a way to collect at least the device serial number and model name;
  • Certified – all three main categories above are covered.