zabbix_export: version: '5.4' date: '2021-11-21T21:36:08Z' groups: - uuid: e7946cf06c3c44daa3ae0f50b4457f4c name: Templates/Switches templates: - uuid: 6607aed5304244ba8dee769cd401957f template: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' name: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' description: | ## Overview **Alcatel-Lucent Enterprise OmniSwitch AOS Release 8.x** ======================================================== This template allows to monitor Alcatel-Lucent Enterprise OmniSwitch running AOS Release 8.x via SNMPv3. It is possible that the template also works for SNMPv1/v2c, but I'll not put any efforts in testing this (as there is no good reason not to use SNMPv3). Features -------- * Automatic Discovery of all Virtual Chassis (VC) elements * CPU (1 Min avg, 1 Hr avg, 1 Day avg => Graph + Trigger for all VC elements) * Memory (1 Min avg, 1 Hr avg, 1 Day avg => Graph + Trigger for all VC elements) * RX/TX Load (1 Min avg, 1 Hr avg, 1 Day avg => Graph + Trigger for all VC elements) * Switch Temperature (Last reading => Graph + Trigger for all VC elements) * System + Device Contact + Device Description + Device Location + Device Name + Device Uptime + Device type/model for all VC elements + Device serial number for all VC elements + Device Flash Freespace => Graph + Trigger for all VC elements * Discovery + All Ethernet Ports (regardless of state up/down) + All IP Interfaces + Associated In/OutOctets + Graphs based on Ethernet Port (ifDescription / IP-Interface name) SNMPv3 configuration on ALE OmniSwitch AOS Release 8.x ------------------------------------------------------ ``` -> user snmpv3 password snmpv3password sha+aes read-only all ``` Template configuration ---------------------- * Open "Configuration -> Templates -> Template Alcatel-Lucent Enterprise OmniSwitch AOS 8.x -> Macros" and set the three entries (see screenshot for reference) Feedback / Things to note ------------------------- * Feedback is welcome, but please note that this is/was an effort during my free time * Reach out to me via Twitter @BennyE\_HH or via GitHub (with the associated account to this article) * As per my knowledge it is not yet possible to generate a graph via LLD that will contain several sub-elements (e.g. all slots CPU/Memory etc) => see ZBXNEXT-927 for details * As of 15.04. this template has been tested on a VC of 2x OS6860 Changelog --------- * 15.04.2018 - Initial release ## Author Benny Eggerstedt groups: - name: Templates/Switches items: - uuid: e79cdce78e65464db79b4a72c5b752db name: 'Device contact details' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.4.0 key: sysContact delay: '300' history: 7d trends: '0' value_type: CHAR description: 'SNMPv2-MIB::sysContact.0 - The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.' inventory_link: CONTACT tags: - tag: Application value: System - uuid: ee4ebefbef1a401491baa43737eb627c name: 'Device description' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.1.0 key: sysDescr delay: '300' history: 7d trends: '0' value_type: CHAR description: 'SNMPv2-MIB::sysDescr.0 - A textual description of the entity. This value should include the full name and version identification of the system''s hardware type, software operating-system, and networking software.' inventory_link: HARDWARE tags: - tag: Application value: System - uuid: 8a1128e919584da18feef2ca39c30228 name: 'Device location' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.6.0 key: sysLocation delay: '300' history: 7d trends: '0' value_type: CHAR description: 'SNMPv2-MIB::sysLocation.0 - The physical location of this node (e.g., `telephone closet, 3rd floor''). If the location is unknown, the value is the zero-length string.' inventory_link: LOCATION tags: - tag: Application value: System - uuid: 05036ea09070428bb13f86396fbb45c8 name: 'Device name' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.5.0 key: sysName delay: '300' history: 7d trends: '0' value_type: CHAR description: 'SNMPv2-MIB::sysName.0 - An administratively-assigned name for this managed node. By convention, this is the node''s fully-qualified domain name. If the name is unknown, the value is the zero-length string.' inventory_link: NAME tags: - tag: Application value: System - uuid: 665bf35bb2f74512b48a5140a7d5abd8 name: SysUptime type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.3.0 key: SysUptime delay: '60' history: 7d trends: 60d value_type: FLOAT units: uptime description: 'DISMAN-EVENT-MIB::sysUpTimeInstance - Uptime of the system in TimeTicks (100 timeticks == 1 second)' preprocessing: - type: MULTIPLIER parameters: - '0.01' tags: - tag: Application value: System triggers: - uuid: c7caeaea9dc741d9b56801aec24e6eb6 expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 8.x/SysUptime)<1000' name: '{HOSTNAME} has been restarted' priority: INFO description: 'In Alcatel-Lucent Enterprise OmniSwitch 1 second == 100 timeticks' discovery_rules: - uuid: ae82041396bf4a3dacee143ee9873c50 name: 'Discover Ethernet Interfaces' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.2.1.2.2.1.2]' key: ifDescription delay: '3600' item_prototypes: - uuid: c565cbaf0442464a8e30cf375c4cb8db name: 'InOctets {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}' key: 'inoctets.[{#SNMPVALUE}]' delay: 60s history: 7d units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: Ports - uuid: dad0baea40ae4c0d99140f255c25fb9c name: 'OutOctets {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}' key: 'outoctets.[{#SNMPVALUE}]' delay: 60s history: 7d units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: Ports graph_prototypes: - uuid: 1dc5a8ef5fd448baa57eac3395ee8530 name: 'Interface {#SNMPVALUE} in/out' ymin_type_1: FIXED graph_items: - drawtype: GRADIENT_LINE color: 00AA00 item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'inoctets.[{#SNMPVALUE}]' - sortorder: '1' drawtype: GRADIENT_LINE color: 3333FF item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'outoctets.[{#SNMPVALUE}]' - uuid: cd39520f190547aab9f2755fb2612a96 name: 'Discover ALE OmniSwitch Entity AOS Release 8.x' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.2.1.47.1.1.1.1.4]' key: slotindex delay: '3600' filter: conditions: - macro: '{#SNMPINDEX}' value: '^([1-8]?)$' formulaid: A description: 'ENTITY-MIB::entPhysicalContainedIn.X - X is the slot number (element of the stack) and VALUE is Entity-value' item_prototypes: - uuid: 1b50fa0aa4bb4bb8add3cb39d5902cf9 name: 'Device type of slot {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.47.1.1.1.1.13.{#SNMPINDEX}' key: 'devicemodel.slot.[{#SNMPINDEX}]' delay: '300' history: 7d trends: '0' value_type: TEXT tags: - tag: Application value: System - uuid: 6d92be7b4f364efb95f216613216f360 name: 'Freespace /flash chassis {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.1.1.3.1.1.8.1.2.{#SNMPINDEX}' key: 'freespace.slot.[{#SNMPINDEX}]' delay: '300' history: 7d trends: '0' units: Byte tags: - tag: Application value: System trigger_prototypes: - uuid: 6e0522ce1ca946728bec5c2eca432c6d expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 8.x/freespace.slot.[{#SNMPINDEX}])<268435456' name: 'Flash freespace on chassis {#SNMPINDEX} < 256 MB' priority: WARNING - uuid: 5657a2bc2f0548d3baa1adf9b4df37cc name: 'Device serial number of slot {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}' key: 'serialnumber.slot.[{#SNMPINDEX}]' delay: '300' history: 7d trends: '0' value_type: TEXT tags: - tag: Application value: System - uuid: dbfab5d1b3804df49249342087d6ce0a name: 'Temperature chassis {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.1.1.3.1.1.3.1.16.{#SNMPVALUE}' key: 'temperature.slot.[{#SNMPINDEX}]' delay: 60s history: 7d units: °C tags: - tag: Application value: System trigger_prototypes: - uuid: 6a1b5a28e8304afab9d605fa429f9776 expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 8.x/temperature.slot.[{#SNMPINDEX}])>55' name: 'Temperature on chassis {#SNMPINDEX} > 55 °C' priority: WARNING graph_prototypes: - uuid: 17ee911a3db04ae58ee23030ec56153e name: 'Freespace /flash on chassis {#SNMPINDEX}' ymin_type_1: FIXED graph_items: - drawtype: GRADIENT_LINE color: 00AA00 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'freespace.slot.[{#SNMPINDEX}]' - uuid: 635953d4f0814374bc5b3995b9617e61 name: 'Temperature on chassis {#SNMPINDEX}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'temperature.slot.[{#SNMPINDEX}]' - uuid: 8613fded9cd343c3b3d291c9df5e6207 name: 'Discover ALE OmniSwitch AOS Release 8.x' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.14]' key: vchassisnbr delay: '3600' filter: conditions: - macro: '{#SNMPINDEX}' value: '^([^0]|[1-9][0-9]*)$' formulaid: A item_prototypes: - uuid: 78b2cb93fc9a4d23a3952d9580360c49 name: 'CPU usage 1 day avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.13.{#SNMPINDEX}' key: 'cpu1dayavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: CPU - uuid: 652f53749233472c91506936d3f9d14d name: 'CPU usage 1 hr avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.12.{#SNMPINDEX}' key: 'cpu1hravg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: CPU - uuid: 6282e3f6d55b412bba11434f103c000a name: 'CPU usage 1 min avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.11.{#SNMPINDEX}' key: 'cpu1minavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: CPU trigger_prototypes: - uuid: 8e446b8d162c4e8d895a0b9b1761e951 expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 8.x/cpu1minavg.slot.[{#SNMPVALUE}])>80' name: 'CPU usage on chassis [{#SNMPVALUE}] > 80%' priority: WARNING - uuid: 0841c4925d614600b1561eb25fefbef5 name: 'Memory usage 1 day avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.10.{#SNMPINDEX}' key: 'memory1dayavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: Memory - uuid: 2078456609f845cc8f1e46dabad8dd9a name: 'Memory usage 1 hr avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.9.{#SNMPINDEX}' key: 'memory1hravg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: Memory - uuid: 115e6b51f79343d6b866f13c4c67b335 name: 'Memory usage 1 min avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.8.{#SNMPINDEX}' key: 'memory1minavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: Memory trigger_prototypes: - uuid: 1d54f8b791c246898862a972b77ee590 expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 8.x/memory1minavg.slot.[{#SNMPVALUE}])>80' name: 'Memory usage on chassis [{#SNMPVALUE}] > 80%' priority: WARNING - uuid: 540e5807fe9e467c886dce333dba0eb8 name: 'RXTX usage 1 day avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.7.{#SNMPINDEX}' key: 'rxtx1dayavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: 'RXTX Load' - uuid: c950eb9b5e5848668213024675fbac43 name: 'RXTX usage 1 hr avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.6.{#SNMPINDEX}' key: 'rxtx1hravg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: 'RXTX Load' - uuid: ba7d6d7ad0d54625a4d512f248e873e4 name: 'RXTX usage 1 min avg chassis {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.801.1.2.1.16.1.1.1.1.1.5.{#SNMPINDEX}' key: 'rxtx1minavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' tags: - tag: Application value: 'RXTX Load' trigger_prototypes: - uuid: f48a28b3a8af4ac0967746e611ae2b86 expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 8.x/rxtx1minavg.slot.[{#SNMPVALUE}])>80' name: 'RXTX load on chassis [{#SNMPVALUE}] > 80 %' priority: WARNING graph_prototypes: - uuid: 8d9058dc93874a52bdfaf4c2f5062272 name: 'CPU usage chassis {#SNMPVALUE}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'cpu1minavg.slot.[{#SNMPVALUE}]' - sortorder: '1' color: 00CCCC calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'cpu1hravg.slot.[{#SNMPVALUE}]' - sortorder: '2' color: 00CC00 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'cpu1dayavg.slot.[{#SNMPVALUE}]' - uuid: 8173b008d4394c66b7b4043039796c5f name: 'Memory usage chassis {#SNMPVALUE}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'memory1minavg.slot.[{#SNMPVALUE}]' - sortorder: '1' color: 00CCCC calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'memory1hravg.slot.[{#SNMPVALUE}]' - sortorder: '2' color: 00CC00 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'memory1dayavg.slot.[{#SNMPVALUE}]' - uuid: f9f02c6478fe453899c635f00ea5e960 name: 'RXTX usage chassis {#SNMPVALUE}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'rxtx1minavg.slot.[{#SNMPVALUE}]' - sortorder: '1' color: 00CCCC calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'rxtx1hravg.slot.[{#SNMPVALUE}]' - sortorder: '2' color: 00CC00 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 8.x' key: 'rxtx1dayavg.slot.[{#SNMPVALUE}]' macros: - macro: '{$SNMP_V3_AUTHPASSPHRASE}' - macro: '{$SNMP_V3_PRIVPASSPHRASE}' - macro: '{$SNMP_V3_USER}'