Coder Social home page Coder Social logo

mr-xin-z / zbx_template_pack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from v-zhuravlev/zbx_template_pack

0.0 0.0 0.0 8.19 MB

Zabbix Templates Pack of SNMP(for now) devices that have same set of items and triggers regardless of device vendor and oid. in RU and EN version. Going to be updated. Created by template generator

Perl 100.00%

zbx_template_pack's Introduction

Zabbix Templates Pack

Build Status
The idea behind this template pack is to provide single template class for each device type and just define SNMP oids required to collect common metrics like CPU utilization, Memory, Temperature and so on to generate new template for new vendor.

So all templates are generated using only SNMP OIDs and other vendor specific details.
LLD details, Context macros values and other attributes can be optionally provided.
The rest is added automatically, including item names, descriptions, triggers and so on.

As the output we would have a pack of templates for different vendors(Cisco, Juniper, Mikrotik for net template class) that control same items(CPU utilization in %, Memory load in % , Temperature etc) named the same and have same triggers also named the same with same thresholds(can be tuned using MACROS). So we know what we can expect from this kind of template.

Required and optional items

Some items are marked required so the new device we want to add must provide ways to monitor these items. Otherwise this device will not be added since we expect similar behaviour from all devices using the template from the pack. If we can't control CPU load or memory load for net device then it's not going to be here. Rules for optional metrics are not so strict. We can still live without them but they can be handy in some situations so we add them if they are ways to collect them.

Examples

Comparing different devices metrics made easier: ย  CPU:
image
Temperature:
image
Memory triggers also look similar:
image

How to use this template pack

Just import the required template into your Zabbix 3.2+. Some templates might have dependencies. Check module directory then.
Currently net and servers templates are ready to be tested. See out/net/README.md for all its items and triggers.

net Devices List

Vendor Known Models OS Known SNMP ObjectID Template Net name MIBS used Reference
Juniper MX,SRX,EX models JunOS 1.3.6.1.4.1.636.1.1.1.2.[29,39] Template Net Juniper JUNIPER-MIB -
D-Link DES-xxxx D-Link DES-xxxx - 1.3.6.1.4.1.171.10.113.3.1 Template Net D-Link DES DLINK-AGENT-MIB,EQUIPMENT-MIB -
D-Link DES-7xxx D-Link DES-7206 - 1.3.6.1.4.1.171.10.97.1.1 Template Net D-Link DES 7200 ENTITY-MIB,MY-SYSTEM-MIB,MY-PROCESS-MIB,MY-MEMORY-MIB -
Cisco - IOS 1.3.6.1.4.1.9.1.[1045,1208,896,864] Template Net Cisco IOS Software releases 12.2_3.5_ or later CISCO-PROCESS-MIB,CISCO-MEMORY-POOL-MIB,CISCO-ENVMON-MIB http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html , http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html
Cisco - IOS 1.3.6.1.4.1.9.1.[1045,1208,896,864] Template Net Cisco IOS Software releases later to 12.0_3_T and prior to 12.2_3.5_ CISCO-PROCESS-MIB,CISCO-MEMORY-POOL-MIB,CISCO-ENVMON-MIB http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html, http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html
Cisco - IOS 1.3.6.1.4.1.9.1.[1045,1208,896,864] Template Net Cisco IOS Software releases prior to 12.0_3_T OLD-CISCO-CPU-MIB,CISCO-MEMORY-POOL-MIB http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html, http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html
Mikrotik - RouterOS 1.3.6.1.4.1.14988.1 Template Net Mikrotik MIKROTIK-MIB,HOST-RESOURCES-MIB -
Ubiquiti NanoBridge,NanoStation,Unifi AirOS 1.3.6.1.4.1.10002.1 Template Net Ubiquiti AirOS FROGFOOT-RESOURCES-MIB,IEEE802dot11-MIB -
QTech Qtech QSW-2800-28T - 1.3.6.1.4.1.27514.1.1.1.49 Template Net QTech QSW QTECH-MIB,ENTITY-MIB -
Extreme X670V-48x EXOS 1.3.6.1.4.1.1916.2.168 Template Net Extreme EXOS EXTREME-SYSTEM-MIB,EXTREME-SOFTWARE-MONITOR-MIB -
Alcatel ALCATEL SR 7750 TiMOS 1.3.6.1.4.1.6527.1.3.4 Template Net Alcatel Timetra TiMOS EXTREME-SYSTEM-MIB,EXTREME-SOFTWARE-MONITOR-MIB https://share.zabbix.com/network_devices/extreme/template-extreme-x450a
Brocade FC Switch - - 1.3.6.1.4.1.1588.2.1.1.[1,71] Template Net Brocade FC SW-MIB,ENTITY-MIB -
Huawei VRP S2352P-EI - 1.3.6.1.4.1.2011.2.23.94 Template Net Huawei VRP ENTITY-MIB,HUAWEI-ENTITY-EXTENT-MIB -
Dell Force S-Series S4810 - 1.3.6.1.4.1.6027.1.3.14 Template Net Dell Force S-Series F10-S-SERIES-CHASSIS-MIB https://www.force10networks.com/csportal20/KnowledgeBase/Documentation.aspx
Brocade_Foundry ICX6610 - - Template Net Brocade_Foundry FOUNDRY-SN-AGENT-MIB http://www.brocade.com/en/products-services/switches/campus-network-switches/icx-6610-switch.html
Mellanox SX1036 MLNX-OS 1.3.6.1.4.1.33049.1.1.1.1036 Template Net Mellanox HOST-RESOURCES-MIB,ENTITY-MIB,ENTITY-SENSOR-MIB,MELLANOX-MIB http://www.mellanox.com/page/ethernet_switch_overview,https://community.mellanox.com/docs/DOC-2383,https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Welcome%20to%20High%20Performance%20Computing%20(HPC)%20Central/page/Mellanox%20InfiniBand%20Management%20and%20Monitoring%20Best%20Practices
Intel/QLogic Infiniband 12300 - 1.3.6.1.4.1.10222.7.1.2 Template Net QLogic Infiniband ICS-CHASSIS-MIB https://www.intel.com/content/www/us/en/high-performance-computing-fabrics/true-scale-12000-switch-family.html,https://www.ietf.org/proceedings/53/I-D/draft-ietf-ipoib-ibif-mib-01.txt
HP (H3C) Comware HP A5500-24G-4SFP HI Switch - 1.3.6.1.4.1.25506.11.1.101 Template Net HP Comware HH3C HH3C-ENTITY-EXT-MIB,ENTITY-MIB http://certifiedgeek.weebly.com/blog/hp-comware-snmp-mib-for-cpu-memory-and-temperature
HP Enterprise Switch - - Template Net HP Enterprise Switch STATISTICS-MIB,NETSWITCH-MIB,HP-ICF-CHASSIS,ENTITY-MIB,SEMI-MIB
TP-LINK T2600G-28TS v2.0 - 1.3.6.1.4.1.11863.5.33 Template Net TP-LINK TPLINK-SYSMONITOR-MIB,TPLINK-SYSINFO-MIB http://www.tp-linkru.com/download/T2600G-28TS.html#MIBs_Files
Netgear Fastpath M5300-28G - Template Net Netgear Fastpath FASTPATH-SWITCHING-MIB,FASTPATH-BOXSERVICES-PRIVATE-MIB
Arista DCS-7050Q-16 EOS Template Net Arista HOST-RESOURCES-MIB,ENTITY-MIB,ENTITY-SENSOR-MIB https://www.arista.com/en/support/product-documentation/arista-snmp-mibs

server Devices List

Vendor Known Models OS Known SNMP ObjectID Template name MIBS used Reference
HP iLO4(Proliant G9), iLO2 - 1.3.6.1.4.1.232.9.4.10 Template Server HP iLO CPQIDA-MIB, CPQHLTH-MIB -
IBM IMMv1, IMMv2 - 1.3.6.1.4.1.8072.3.2.10,1.3.6.1.4.1.2.3.51.3 Template Server IBM IMM IMM-MIB -
Dell iDRAC 7,8 - 1.3.6.1.4.1.674.10892.5 Template Server Dell iDRAC IDRAC-MIB-SMIv2 -
Supermicro Supermicro X10DRI - 1.3.6.1.4.1.8072.3.2.10 Template Server Supermicro Aten ATEN-IPMI-MIB -

Template options

Templates could be provided in two SNMP versions (SNMPvx suffix):

  • with SNMPv2 items
  • or with SNMPv1 items (if SNMPv2 normally not supported by the device)
    And two translations (EN or RU suffixes):
  • English (Items and triggers)
  • Russian (most of items and triggers are translated)

zbx_template_pack's People

Contributors

colttt avatar v-zhuravlev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.