zabbix_export: version: '5.4' date: '2021-11-21T21:42:27Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 7093735ff91144c6bce71fb75f62534c template: 'UNIFI SNMP 2019 V1.0' name: 'UNIFI SNMP 2019 V1.0' description: | ## Description This template retrieve SNMP data from Unifi AP devices. MIBS requiriments: FROGFOOT-RESOURCES-MIB IANAifType-MIB IF-MIB SNMP-FRAMEWORK-MIB SNMPv2-CONF SNMPv2-MIB SNMPv2-SMI SNMPv2-TC UBNT-MIB UBNT-UniFi-MIB Author: Alex Moura ## Overview Explicação em Português no link do site. This template retrieve SNMP data from Unifi AP devices. Model, Firmware Version, Uptime, IP Address, MAC Address, LAN port Speed and real time traffic, WIFI SSIDs, Traffic/SSID, Users/SSID Traffic graphics, Users graphics. MIBS requirements: FROGFOOT-RESOURCES-MIB . IANAifType-MIB , IF-MIB , SNMP-FRAMEWORK-MIB , SNMPv2-CONF. SNMPv2-MIB, SNMPv2-SMI, SNMPv2-TC UBNT-MIB, UBNT-UniFi-MIB Tested on: (LOCAL and PROXY environments) Models tested: UAP, UAP LR. UAP AC LR (in progress) Requirements: AP firmware above 3.9.X AP SNMP feature enabled If you Like let a comment to help me make this template better. Se voce gostou deixe um comentário com sugestões para melhoria do template. ## Author Alex Moura groups: - name: Templates items: - uuid: 3bc59e9953ba40cfae4621442944b53d name: Contact type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.4.0 key: sysContact.0 history: 1w trends: '0' value_type: TEXT description: 'Informa o modelo do aparelho' inventory_link: CONTACT tags: - tag: Application value: System - uuid: b9368ecdd65b4928a609d5ef58088240 name: 'System Description' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.1.0 key: sysDescr.0 history: 1w trends: '0' value_type: TEXT description: 'Informa o modelo do aparelho' inventory_link: HARDWARE_FULL tags: - tag: Application value: System - uuid: 834b6d6f90d84320900679c4cd2fc359 name: Location type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.6.0 key: sysLocation.0 history: 1w trends: '0' value_type: TEXT description: 'Informa o modelo do aparelho' inventory_link: LOCATION tags: - tag: Application value: System - uuid: 37e7f31a42a54cadad16fe284df0c915 name: Uptime type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.3.0 key: sysUpTime.0 history: 1w value_type: FLOAT units: uptime preprocessing: - type: MULTIPLIER parameters: - '0.01' tags: - tag: Application value: System - uuid: 90ef380a378b4d58971a485bebcbb87a name: 'IP Address' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.41112.1.6.3.1.0 key: unifiApSystemIp.0 history: 1w trends: '0' value_type: TEXT tags: - tag: Application value: 'AP Interface' - uuid: fca7db070ffc407aa04e8b9d9850107d name: Model type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.41112.1.6.3.3.0 key: unifiApSystemModel.0 history: 1w trends: '0' value_type: TEXT description: 'Informa o modelo do aparelho' inventory_link: HARDWARE tags: - tag: Application value: System - uuid: 4ba5fa0fa651493b934b5664b4daf3fc name: 'Firmware version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.41112.1.6.3.6.0 key: unifiApSystemVersion.0 history: 1w trends: '0' value_type: TEXT inventory_link: SOFTWARE tags: - tag: Application value: System - uuid: 53a5d313ab814637ae096ccfb96bdb1f name: 'MAC Address' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.41112.1.6.2.1.1.4.1 key: unifiIfMac.1 history: 1w trends: '0' value_type: TEXT inventory_link: MACADDRESS_A tags: - tag: Application value: 'AP Interface' - uuid: d43e72998f584545935ed7c384ecc604 name: 'Traffic Incoming' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.41112.1.6.2.1.1.6.1 key: unifiIfRxBytes.1 history: 1w units: Bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: 'AP Interface' - uuid: b5c49fb24e1346df98a305901dafce14 name: 'Interface Speed (Mbit/s)' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.41112.1.6.2.1.1.11.1 key: unifiIfSpeed.1 history: 1w tags: - tag: Application value: 'AP Interface' - uuid: 854d9dd5fbed4a9bb0c5759a1fe8b946 name: 'Traffic Outgoing' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.41112.1.6.2.1.1.12.1 key: unifiIfTxBytes.1 history: 1w units: Bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: 'AP Interface' - uuid: b6030d301da14ff9826428b9b0756a60 name: 'AP Hostname' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.5.0 key: unifiSysName.0 history: 1w trends: '0' value_type: TEXT inventory_link: NAME tags: - tag: Application value: System discovery_rules: - uuid: 655fe9118ca54e5e90d83098d547ceb6 name: 'Wifi Interfaces' type: SNMP_AGENT snmp_oid: 'discovery[{#UNIFIVAPNAME},.1.3.6.1.4.1.41112.1.6.1.2.1.7]' key: unifiVapName delay: 30s item_prototypes: - uuid: 6da9d10aa82c4e23ac41a0d75361f0cf name: 'Alias of interface $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.41112.1.6.1.2.1.6.{#SNMPINDEX}' key: 'unifiVapEssId[{#UNIFIVAPNAME}]' delay: 30s trends: '0' value_type: TEXT tags: - tag: Application value: 'Virtual Interfaces' - uuid: cfbf026afaf748189b5ff9021c780c41 name: 'Users on $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.41112.1.6.1.2.1.8.{#SNMPINDEX}' key: 'unifiVapNumStations[{#UNIFIVAPNAME}]' delay: 30s tags: - tag: Application value: 'Virtual Interfaces' - uuid: 261a01462929491ab30e86efa238d938 name: 'Traffic Incoming on $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.41112.1.6.1.2.1.10.{#SNMPINDEX}' key: 'unifiVapRxBytes[{#UNIFIVAPNAME}]' delay: 30s units: Bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: 'Virtual Interfaces' - uuid: 85b3df3581de42eeb6f9c8b214cb8675 name: 'Traffic Outgoing on $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.41112.1.6.1.2.1.16.{#SNMPINDEX}' key: 'unifiVapTxBytes[{#UNIFIVAPNAME}]' delay: 30s units: Bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' tags: - tag: Application value: 'Virtual Interfaces' graph_prototypes: - uuid: ed13a5f2a3ff41d3be5aac87aad13868 name: 'Traffic on interface {#UNIFIVAPNAME}' graph_items: - color: 1A7C11 item: host: 'UNIFI SNMP 2019 V1.0' key: 'unifiVapRxBytes[{#UNIFIVAPNAME}]' - sortorder: '1' color: F63100 item: host: 'UNIFI SNMP 2019 V1.0' key: 'unifiVapTxBytes[{#UNIFIVAPNAME}]' - uuid: d461d8250f5d4aca8f315838d6870272 name: 'Traffic on interface {#UNIFIVAPNAME} (stacked)' type: STACKED graph_items: - color: 1A7C11 item: host: 'UNIFI SNMP 2019 V1.0' key: 'unifiVapRxBytes[{#UNIFIVAPNAME}]' - sortorder: '1' color: F63100 item: host: 'UNIFI SNMP 2019 V1.0' key: 'unifiVapTxBytes[{#UNIFIVAPNAME}]' - uuid: 83d65e6127ba4c848553cc84be5e612e name: 'Users connected in {#UNIFIVAPNAME}' graph_items: - color: 3333FF item: host: 'UNIFI SNMP 2019 V1.0' key: 'unifiVapNumStations[{#UNIFIVAPNAME}]' macros: - macro: '{$SNMP_COMMUNITY}' value: public graphs: - uuid: 2a7afc63609243568100441b1f86ba76 name: 'Network Traffic' graph_items: - color: 1A7C11 item: host: 'UNIFI SNMP 2019 V1.0' key: unifiIfRxBytes.1 - sortorder: '1' color: F63100 item: host: 'UNIFI SNMP 2019 V1.0' key: unifiIfTxBytes.1