zabbix_export: version: '6.0' date: '2021-11-21T21:35:40Z' groups: - uuid: e7946cf06c3c44daa3ae0f50b4457f4c name: Templates/Switches templates: - uuid: 432a4cb250ee4d24b54e9ac335c03787 template: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' name: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' description: | ## Overview **Alcatel-Lucent Enterprise OmniSwitch AOS Release 6.x** ======================================================== This template allows to monitor Alcatel-Lucent Enterprise OmniSwitch running AOS Release 6.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 where it is available). Features -------- * Automatic Discovery of all stack elements * CPU (1 Min avg, 1 Hr max => Graph + Trigger for all slots) * Memory (1 Min avg, 1 Hr max => Graph + Trigger for all slots) * RX/TX Load (1 Min avg, 1 Hr max => Graph + Trigger for all slots) * Switch Temperature (1 Min avg, 1 Hr max => Graph + Trigger for all slots) * Power over Ethernet (PoE) ports (max power available & actual power consumption => Graph) * System + Device Contact + Device Description + Device Location + Device Name + Device Uptime + Device type/model for all slots + Device serial number for all slots + Device Flash Freespace => Graph + Trigger for all slots * Discovery + All Ethernet Ports (regardless of state up/down) + All IP Interfaces + Associated In/OutOctets + Graphs based on Ethernet Port (ifDescription / IP-Interface name) + Power over Ethernet ports (max power available & actual power consumption) SNMPv3 configuration on ALE OmniSwitch AOS Release 6.x ------------------------------------------------------ ``` -> user snmpv3 password snmpv3password sha+aes read-only all ``` Template configuration ---------------------- * Open "Configuration -> Templates -> Template Alcatel-Lucent Enterprise OmniSwitch AOS 6.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 Changelog --------- * 09.04.2018 - Initial release * 14.04.2018 - Modified the template to discover most elements dynamically (now compatible to stacked and standalone OmniSwitch units) * 28.04.2019 - Due to popular request, the individual PoE power consumption per port was added **(due to the use of regsub function, Zab** groups: - name: Templates/Switches items: - uuid: c6bb79ee484a4ee783cd8046fbe6a173 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 request_method: POST tags: - tag: Application value: System - uuid: 3aa7fc8d4b2740fd99bb03ff3240202c 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 request_method: POST tags: - tag: Application value: System - uuid: 9a4a18f246d248039483fd45c09a6461 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 request_method: POST tags: - tag: Application value: System - uuid: a2847ce855644324a7f3cf4f7245a662 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 request_method: POST tags: - tag: Application value: System - uuid: 32506cfde1394484b4de8eba7b90e5dd 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' request_method: POST tags: - tag: Application value: System triggers: - uuid: d8c9f246a637495bb8eff5ebf153028c expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 6.x/SysUptime)<10000' name: '{HOSTNAME} has been restarted' priority: INFO description: 'In Alcatel-Lucent Enterprise OmniSwitch 1 second == 100 timeticks' discovery_rules: - uuid: 723c10785f2e4971995230bbf957455c name: 'Discover ALE OmniSwitch AOS Release 6.x' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.6486.800.1.2.1.5.1.1.2.12.1.1]' key: esmSlotNumber delay: '3600' description: 'ALCATEL-IND1-PORT-MIB::esmSlotNumber.X - X is the slot number (element of the stack)' item_prototypes: - uuid: 61c8842822534a8e8520bf00a5c19ae0 name: 'CPU usage 1 hr max slot {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.16.1.1.2.1.1.17.{#SNMPVALUE}' key: 'cpu1hrmax.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' request_method: POST tags: - tag: Application value: CPU - uuid: 8b427c9629d94c618a84b26901b636f9 name: 'CPU usage 1 min avg slot {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.16.1.1.2.1.1.15.{#SNMPVALUE}' key: 'cpu1minavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' request_method: POST tags: - tag: Application value: CPU trigger_prototypes: - uuid: a3facb9cfb7449e7b2a1d9149088d9ac expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 6.x/cpu1minavg.slot.[{#SNMPVALUE}])>80' name: 'CPU usage on slot [{#SNMPVALUE}] > 80%' priority: WARNING - uuid: bbe9251abff0447fa14f6059e705ed6f name: 'Freespace /flash slot {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.1.1.3.1.1.9.1.3.{#SNMPVALUE}' key: 'flashfreespace.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: Byte request_method: POST tags: - tag: Application value: System trigger_prototypes: - uuid: 405ab0948e54436cb8e88c3a37f5c76e expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 6.x/flashfreespace.slot.[{#SNMPVALUE}])<33554432' name: 'Flash freespace on slot [{#SNMPVALUE}] < 32 MB' priority: WARNING - uuid: d2495bd9f8b9482cbaf08d948627030e name: 'Memory usage 1 hr max slot {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.16.1.1.2.1.1.13.{#SNMPVALUE}' key: 'memory1hrmax.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' request_method: POST tags: - tag: Application value: Memory - uuid: 9971115c5a9f44a49365787df15f9663 name: 'Memory usage 1 min avg slot {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.16.1.1.2.1.1.11.{#SNMPVALUE}' key: 'memory1minavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' request_method: POST tags: - tag: Application value: Memory trigger_prototypes: - uuid: ac209abb11f64bbfb6241d79c6410591 expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 6.x/memory1minavg.slot.[{#SNMPVALUE}])>80' name: 'Memory usage on slot [{#SNMPVALUE}] > 80%' priority: WARNING - uuid: 857c7b60ef6e404889d701f615120cbd name: 'RXTX usage 1 hr max slot {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.16.1.1.2.1.1.9.{#SNMPVALUE}' key: 'rxtx1hrmax.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' request_method: POST tags: - tag: Application value: 'RXTX Load' - uuid: 1932a24fb1994b6ca4db87a22670be46 name: 'RXTX usage 1 min avg slot {#SNMPVALUE}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.16.1.1.2.1.1.7.{#SNMPVALUE}' key: 'rxtx1minavg.slot.[{#SNMPVALUE}]' delay: 60s history: 7d units: '%' request_method: POST tags: - tag: Application value: 'RXTX Load' trigger_prototypes: - uuid: f97b254b60a541b88f8aace0e00f2acb expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 6.x/rxtx1minavg.slot.[{#SNMPVALUE}])>80' name: 'RXTX load on slot [{#SNMPVALUE}] > 80 %' priority: WARNING graph_prototypes: - uuid: f6845d705963453690de4e002c6ac6a5 name: 'CPU usage slot {#SNMPVALUE}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'cpu1minavg.slot.[{#SNMPVALUE}]' - sortorder: '1' color: 00CCCC calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'cpu1hrmax.slot.[{#SNMPVALUE}]' - uuid: 46197399468348e6ae14a2be169d31ba name: 'Freespace /flash slot {#SNMPVALUE}' ymin_type_1: FIXED graph_items: - drawtype: GRADIENT_LINE color: 00AA00 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'flashfreespace.slot.[{#SNMPVALUE}]' - uuid: 2f9d31becc7b4f328f9647f8e78ca183 name: 'Memory usage slot {#SNMPVALUE}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'memory1minavg.slot.[{#SNMPVALUE}]' - sortorder: '1' color: 00CCCC calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'memory1hrmax.slot.[{#SNMPVALUE}]' - uuid: 149465db6aa2416f9a1ac5d1fc261262 name: 'RXTX usage slot {#SNMPVALUE}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'rxtx1minavg.slot.[{#SNMPVALUE}]' - sortorder: '1' color: 00CCCC calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'rxtx1hrmax.slot.[{#SNMPVALUE}]' request_method: POST - uuid: 4a5d773fbc0142e8a1c648aad5f8208a 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: 3120014b2f6f4d909a6538266d37c27e 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' request_method: POST tags: - tag: Application value: Ports - uuid: 895b4bbee37442d88f498559a65679f1 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' request_method: POST tags: - tag: Application value: Ports graph_prototypes: - uuid: 84df34189a4040ec94483fa0a57ddec1 name: 'Interface {#SNMPVALUE} in/out' ymin_type_1: FIXED graph_items: - drawtype: GRADIENT_LINE color: 00AA00 item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'inoctets.[{#SNMPVALUE}]' - sortorder: '1' drawtype: GRADIENT_LINE color: 3333FF item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'outoctets.[{#SNMPVALUE}]' request_method: POST - uuid: 9860d1bad84943ad833ce189c957b14f name: 'Discover ALE OmniSwitch AOS Release 6.x PoE Slot/Port' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.6486.800.1.2.1.27.1.1.1.1.1]' key: poeSlotPortNumber delay: '3600' description: 'AlcatelIND1InLinePowerEthernet::alaPethPsePortPowerMaximum.X.Y - X is the slot number (element of the stack) and Y is the port number.' item_prototypes: - uuid: f854e445614e4da982ed9e0363540b7b name: 'PoE Power Actual {{#SNMPINDEX}.regsub("([0-9]+)\.([0-9]+)", \1/\2)}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.27.1.1.1.1.2.{#SNMPINDEX}' key: 'poepoweractual.[{#SNMPINDEX}]' delay: 30s value_type: FLOAT units: W description: 'AlcatelIND1InLinePowerEthernet::alaPethPsePortPowerActual -- This object contains the actual amount of power used by a port' preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'Power over Ethernet' - uuid: 2be92c9eb9c54cee9d43d5f981e27d66 name: 'PoE Power Maximum {{#SNMPINDEX}.regsub("([0-9]+)\.([0-9]+)", \1/\2)}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.2.1.27.1.1.1.1.1.{#SNMPINDEX}' key: 'poepowermax.[{#SNMPINDEX}]' delay: 30s value_type: FLOAT units: W description: 'AlcatelIND1InLinePowerEthernet::alaPethPsePortPowerMaximum -- This object controls maximum amount of power per port' preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'Power over Ethernet' graph_prototypes: - uuid: c8c28ffcef244aab8beef295c87c552a name: 'PoE Power {{#SNMPINDEX}.regsub("([0-9]+)\.([0-9]+)", \1/\2)}' graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'poepoweractual.[{#SNMPINDEX}]' - sortorder: '1' color: F63100 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'poepowermax.[{#SNMPINDEX}]' - uuid: fb104eef76a14a2c925ee2037fd632d0 name: 'Discover ALE OmniSwitch Entity AOS Release 6.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: 7c29397682ec45c78d27822f201d99f0 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 request_method: POST tags: - tag: Application value: System - uuid: 3b1abc7fffba424597fb1100a5f1ac6d 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 request_method: POST tags: - tag: Application value: System - uuid: cd77b78d120c4459804796a2037e3b47 name: 'Temperature on slot {#SNMPINDEX}' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6486.800.1.1.1.3.1.1.3.1.4.{#SNMPVALUE}' key: 'temperature.slot.[{#SNMPINDEX}]' delay: 60s history: 7d units: °C request_method: POST tags: - tag: Application value: System trigger_prototypes: - uuid: 9a44e0d2085449679b94f7518aa4032b expression: 'last(/Alcatel-Lucent Enterprise OmniSwitch AOS 6.x/temperature.slot.[{#SNMPINDEX}])>55' name: 'Temperature on slot {#SNMPINDEX} > 55 °C' priority: WARNING graph_prototypes: - uuid: ba33b4b6ec224fd88895f0ad46ea6ec4 name: 'Temperature on slot {#SNMPINDEX}' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Alcatel-Lucent Enterprise OmniSwitch AOS 6.x' key: 'temperature.slot.[{#SNMPINDEX}]' request_method: POST macros: - macro: '{$SNMP_V3_AUTHPASSPHRASE}' value: password_auth - macro: '{$SNMP_V3_PRIVPASSPHRASE}' value: password_priv - macro: '{$SNMP_V3_USER}' value: user