diff options
Diffstat (limited to 'templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml')
-rw-r--r-- | templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml | 940 |
1 files changed, 940 insertions, 0 deletions
diff --git a/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml b/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml new file mode 100644 index 00000000000..256029e98a3 --- /dev/null +++ b/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml @@ -0,0 +1,940 @@ +zabbix_export: + version: '6.0' + date: '2021-10-11T06:08:06Z' + groups: + - + uuid: 36bff6c29af64692839d077febfc7079 + name: 'Templates/Network devices' + templates: + - + uuid: 3dfd1a55987848e5aa6ffe92c228f63b + template: 'MikroTik RB1100AHx4 SNMP' + name: 'MikroTik RB1100AHx4 SNMP' + description: | + The template for monitoring Ethernet router MikroTik RB1100AHx4. + Powerful 1U rackmount router with 13x Gigabit Ethernet ports + + MIBs used: + HOST-RESOURCES-MIB + MIKROTIK-MIB + + Template tooling version used: 0.39 + templates: + - + name: 'Generic SNMP' + - + name: 'Interfaces SNMP' + groups: + - + name: 'Templates/Network devices' + items: + - + uuid: 3442b390250b480f887e1311b369c54e + name: 'Firmware version' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.14988.1.1.7.4.0 + key: system.hw.firmware + delay: 1h + history: 2w + trends: '0' + value_type: CHAR + description: | + MIB: MIKROTIK-MIB + Current firmware version. + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1d + tags: + - + tag: Application + value: Inventory + triggers: + - + uuid: 9c552d88fc734c2d8b9976831396dcc4 + expression: 'last(/MikroTik RB1100AHx4 SNMP/system.hw.firmware,#1)<>last(/MikroTik RB1100AHx4 SNMP/system.hw.firmware,#2) and length(last(/MikroTik RB1100AHx4 SNMP/system.hw.firmware))>0' + name: 'Firmware has changed' + opdata: 'Current value: {ITEM.LASTVALUE1}' + priority: INFO + description: 'Firmware version has changed. Ack to close' + manual_close: 'YES' + - + uuid: 3f580252fdf44bd4a1172a73ea1b681f + name: 'Hardware model name' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.1.0 + key: system.hw.model + delay: 1h + history: 2w + trends: '0' + value_type: CHAR + inventory_link: MODEL + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1d + tags: + - + tag: Application + value: Inventory + - + uuid: 737a739207f142e292cbce0d6f7208d5 + name: 'Hardware serial number' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.14988.1.1.7.3.0 + key: system.hw.serialnumber + delay: 1h + history: 2w + trends: '0' + value_type: CHAR + description: | + MIB: MIKROTIK-MIB + RouterBOARD serial number. + inventory_link: SERIALNO_A + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1d + tags: + - + tag: Application + value: Inventory + triggers: + - + uuid: 59393bfb9a2b4fe9acf09735ab9b6dd7 + expression: 'last(/MikroTik RB1100AHx4 SNMP/system.hw.serialnumber,#1)<>last(/MikroTik RB1100AHx4 SNMP/system.hw.serialnumber,#2) and length(last(/MikroTik RB1100AHx4 SNMP/system.hw.serialnumber))>0' + name: 'Device has been replaced (new serial number received)' + priority: INFO + description: 'Device serial number has changed. Ack to close' + manual_close: 'YES' + - + uuid: b9fc7b36a3394404be56c55176b20e39 + name: 'Operating system' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.14988.1.1.4.4.0 + key: 'system.sw.os[mtxrLicVersion.0]' + delay: 1h + history: 2w + trends: '0' + value_type: CHAR + description: | + MIB: MIKROTIK-MIB + Software version. + inventory_link: OS + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1d + tags: + - + tag: Application + value: Inventory + triggers: + - + uuid: d517281567044119bdc82dccb20c9724 + expression: 'last(/MikroTik RB1100AHx4 SNMP/system.sw.os[mtxrLicVersion.0],#1)<>last(/MikroTik RB1100AHx4 SNMP/system.sw.os[mtxrLicVersion.0],#2) and length(last(/MikroTik RB1100AHx4 SNMP/system.sw.os[mtxrLicVersion.0]))>0' + name: 'Operating system description has changed' + priority: INFO + description: 'Operating system description has changed. Possible reasons that system has been updated or replaced. Ack to close.' + manual_close: 'YES' + - + uuid: 73ce1c102e3a4d4885438c16eff34ddf + name: 'Total memory' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.25.2.3.1.5.65536 + key: 'vm.memory.total[hrStorageSize.Memory]' + history: 7d + units: B + description: | + MIB: HOST-RESOURCES-MIB + The size of the storage represented by this entry, in + units of hrStorageAllocationUnits. This object is + writable to allow remote configuration of the size of + the storage area in those cases where such an + operation makes sense and is possible on the + underlying system. For example, the amount of main + memory allocated to a buffer pool might be modified or + the amount of disk space allocated to virtual memory + might be modified. + preprocessing: + - + type: MULTIPLIER + parameters: + - '1024' + tags: + - + tag: Application + value: Memory + - + uuid: 9e2ee7cca26b49d3990b832eda44ee2a + name: 'Used memory' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.25.2.3.1.6.65536 + key: 'vm.memory.used[hrStorageUsed.Memory]' + history: 7d + units: B + description: | + MIB: HOST-RESOURCES-MIB + The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits. + preprocessing: + - + type: MULTIPLIER + parameters: + - '1024' + tags: + - + tag: Application + value: Memory + - + uuid: 7b1572625e04447eb308be35061921f2 + name: 'Memory utilization' + type: CALCULATED + key: 'vm.memory.util[memoryUsedPercentage.Memory]' + history: 7d + value_type: FLOAT + units: '%' + params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' + description: 'Memory utilization in %' + tags: + - + tag: Application + value: Memory + triggers: + - + uuid: ce1f7003b6dc4ca6a0e435c06aba6e1a + expression: 'min(/MikroTik RB1100AHx4 SNMP/vm.memory.util[memoryUsedPercentage.Memory],5m)>{$MEMORY.UTIL.MAX}' + name: 'High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)' + priority: AVERAGE + description: 'The system is running out of free memory.' + discovery_rules: + - + uuid: 4d7e84f0ed08471d8ec0717c93d410dc + name: 'CPU discovery' + type: SNMP_AGENT + snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.2.1.25.3.3.1.1]' + key: hrProcessorLoad.discovery + delay: 1h + description: 'HOST-RESOURCES-MIB::hrProcessorTable discovery' + item_prototypes: + - + uuid: bd42dc92c6b3407a909e979aff0e70a5 + name: '#{#SNMPINDEX}: CPU utilization' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.25.3.3.1.2.{#SNMPINDEX}' + key: 'system.cpu.util[hrProcessorLoad.{#SNMPINDEX}]' + history: 7d + value_type: FLOAT + units: '%' + description: | + MIB: HOST-RESOURCES-MIB + The average, over the last minute, of the percentage of time that this processor was not idle. Implementations may approximate this one minute smoothing period if necessary. + tags: + - + tag: Application + value: CPU + trigger_prototypes: + - + uuid: 8ab046f6fb47499ebe6d34ad8ce20f59 + expression: 'min(/MikroTik RB1100AHx4 SNMP/system.cpu.util[hrProcessorLoad.{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}' + name: '#{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)' + opdata: 'Current utilization: {ITEM.LASTVALUE1}' + priority: WARNING + description: 'CPU utilization is too high. The system might be slow to respond.' + graph_prototypes: + - + uuid: ee998c9684054b1299161b15b243729f + name: '#{#SNMPINDEX}: CPU utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'system.cpu.util[hrProcessorLoad.{#SNMPINDEX}]' + - + uuid: 978810fe8ed54f719c1b3816f539d0c9 + name: 'Temperature CPU discovery' + type: SNMP_AGENT + snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.14988.1.1.3.11]' + key: mtxrHlProcessorTemperature.discovery + delay: 1h + description: | + MIKROTIK-MIB::mtxrHlProcessorTemperature + Since temperature of CPU is not available on all Mikrotik hardware, this is done to avoid unsupported items. + item_prototypes: + - + uuid: fe90df42e8654cbdb521ecec3d428444 + name: 'CPU: Temperature' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.3.11.{#SNMPINDEX}' + key: 'sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}]' + delay: 3m + value_type: FLOAT + units: °C + description: | + MIB: MIKROTIK-MIB + mtxrHlProcessorTemperature Processor temperature in Celsius (degrees C). + Might be missing in entry models (RB750, RB450G..). + preprocessing: + - + type: MULTIPLIER + parameters: + - '0.1' + tags: + - + tag: Application + value: Temperature + trigger_prototypes: + - + uuid: 75e1b534632a42d08535fc863c280536 + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3' + name: 'CPU: Temperature is above critical threshold: >{$TEMP_CRIT:"CPU"}' + opdata: 'Current value: {ITEM.LASTVALUE1}' + priority: HIGH + description: 'This trigger uses temperature sensor values as well as temperature sensor status if available' + - + uuid: 117c3a91044a4d6da15b235017caf99f + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3' + name: 'CPU: Temperature is above warning threshold: >{$TEMP_WARN:"CPU"}' + opdata: 'Current value: {ITEM.LASTVALUE1}' + priority: WARNING + description: 'This trigger uses temperature sensor values as well as temperature sensor status if available' + dependencies: + - + name: 'CPU: Temperature is above critical threshold: >{$TEMP_CRIT:"CPU"}' + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_expression: 'max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3' + - + uuid: b20c703b353f444bb6d77d45433108fe + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3' + name: 'CPU: Temperature is too low: <{$TEMP_CRIT_LOW:"CPU"}' + opdata: 'Current value: {ITEM.LASTVALUE1}' + priority: AVERAGE + - + uuid: 7d8c3e389a3d44c1999028b92464a607 + name: 'Temperature sensor discovery' + type: SNMP_AGENT + snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.14988.1.1.3.10]' + key: mtxrHlTemperature.discovery + delay: 1h + description: | + MIKROTIK-MIB::mtxrHlTemperature + Since temperature sensor is not available on all Mikrotik hardware, + this is done to avoid unsupported items. + item_prototypes: + - + uuid: 5674848e4bc44f81942d8fd5a1d08397 + name: 'Device: Temperature' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.3.10.{#SNMPINDEX}' + key: 'sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}]' + delay: 3m + value_type: FLOAT + units: °C + description: | + MIB: MIKROTIK-MIB + mtxrHlTemperature Device temperature in Celsius (degrees C). + Might be missing in entry models (RB750, RB450G..). + + Reference: http://wiki.mikrotik.com/wiki/Manual:SNMP + preprocessing: + - + type: MULTIPLIER + parameters: + - '0.1' + tags: + - + tag: Application + value: Temperature + trigger_prototypes: + - + uuid: f63a8665f1bb4fce930c8e6d68ca9bc4 + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"Device"}-3' + name: 'Device: Temperature is above critical threshold: >{$TEMP_CRIT:"Device"}' + opdata: 'Current value: {ITEM.LASTVALUE1}' + priority: HIGH + description: 'This trigger uses temperature sensor values as well as temperature sensor status if available' + - + uuid: 61ef8b6e39fa4dfa9ad0398acab924a9 + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"Device"}-3' + name: 'Device: Temperature is above warning threshold: >{$TEMP_WARN:"Device"}' + opdata: 'Current value: {ITEM.LASTVALUE1}' + priority: WARNING + description: 'This trigger uses temperature sensor values as well as temperature sensor status if available' + dependencies: + - + name: 'Device: Temperature is above critical threshold: >{$TEMP_CRIT:"Device"}' + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_expression: 'max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"Device"}-3' + - + uuid: 92626f1037574adf9e25e175b6e5781b + expression: 'avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"Device"}+3' + name: 'Device: Temperature is too low: <{$TEMP_CRIT_LOW:"Device"}' + opdata: 'Current value: {ITEM.LASTVALUE1}' + priority: AVERAGE + - + uuid: 95cfcb66e6fb440d99b960637adfca93 + name: 'LTE modem discovery' + type: SNMP_AGENT + snmp_oid: 'discovery[{#IFNAME},1.3.6.1.4.1.14988.1.1.14.1.1.2,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]' + key: mtxrLTEModem.discovery + delay: 1h + filter: + evaltype: AND + conditions: + - + macro: '{#IFTYPE}' + value: ^1$ + formulaid: B + - + macro: '{#IFNAME}' + value: '{$IFNAME.LTEMODEM.MATCHES}' + formulaid: A + description: 'MIKROTIK-MIB::mtxrLTEModemInterfaceIndex' + item_prototypes: + - + uuid: c69a7cf907b940bda9881ffc4a13c6f9 + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem RSRP' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.16.1.1.4.{#SNMPINDEX}' + key: 'lte.modem.rsrp[mtxrLTEModemSignalRSRP.{#SNMPINDEX}]' + history: 7d + value_type: FLOAT + units: dbm + description: | + MIB: MIKROTIK-MIB + mtxrLTEModemSignalRSRP Reference Signal Received Power. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + trigger_prototypes: + - + uuid: 3a29ebeb278444eb9940c6840b2e0a4e + expression: 'max(/MikroTik RB1100AHx4 SNMP/lte.modem.rsrp[mtxrLTEModemSignalRSRP.{#SNMPINDEX}],5m) < {$LTEMODEM.RSRP.MIN.WARN}' + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem RSRP is low (below {$LTEMODEM.RSRP.MIN.WARN}dbm for 5m)' + priority: WARNING + - + uuid: 9f0442c4c061485080d0f8ff5f7c831f + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem RSRQ' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.16.1.1.3.{#SNMPINDEX}' + key: 'lte.modem.rsrq[mtxrLTEModemSignalRSRQ.{#SNMPINDEX}]' + history: 7d + value_type: FLOAT + units: db + description: | + MIB: MIKROTIK-MIB + mtxrLTEModemSignalRSRQ Reference Signal Received Quality. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + trigger_prototypes: + - + uuid: 4c0dfdccda7a4a0a9b889b4a643d02e4 + expression: 'max(/MikroTik RB1100AHx4 SNMP/lte.modem.rsrq[mtxrLTEModemSignalRSRQ.{#SNMPINDEX}],5m) < {$LTEMODEM.RSRQ.MIN.WARN}' + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem RSRQ is low (below {$LTEMODEM.RSRQ.MIN.WARN}db for 5m)' + priority: WARNING + - + uuid: 7eda5e5f336a4366801c4cf98cf13520 + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem RSSI' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.16.1.1.2.{#SNMPINDEX}' + key: 'lte.modem.rssi[mtxrLTEModemSignalRSSI.{#SNMPINDEX}]' + history: 7d + value_type: FLOAT + units: dbm + description: | + MIB: MIKROTIK-MIB + mtxrLTEModemSignalRSSI Received Signal Strength Indicator. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + trigger_prototypes: + - + uuid: 858fcf334125405aaed104a0f50d4097 + expression: 'max(/MikroTik RB1100AHx4 SNMP/lte.modem.rssi[mtxrLTEModemSignalRSSI.{#SNMPINDEX}],5m) < {$LTEMODEM.RSSI.MIN.WARN}' + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem RSSI is low (below {$LTEMODEM.RSSI.MIN.WARN}dbm for 5m)' + priority: WARNING + - + uuid: 79d3b5dad8af46c7972b28b208a439f6 + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem SINR' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.16.1.1.7.{#SNMPINDEX}' + key: 'lte.modem.sinr[mtxrLTEModemSignalSINR.{#SNMPINDEX}]' + history: 7d + value_type: FLOAT + units: db + description: | + MIB: MIKROTIK-MIB + mtxrLTEModemSignalSINR Signal to Interference & Noise Ratio. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + trigger_prototypes: + - + uuid: d6e6ca097afd4c1fa12e1c67f9a575db + expression: 'max(/MikroTik RB1100AHx4 SNMP/lte.modem.sinr[mtxrLTEModemSignalSINR.{#SNMPINDEX}],5m) < {$LTEMODEM.SINR.MIN.WARN}' + name: 'Interface {#IFNAME}({#IFALIAS}): LTE modem SINR is low (below {$LTEMODEM.SINR.MIN.WARN}db for 5m)' + priority: WARNING + graph_prototypes: + - + uuid: bc3bcbb9babe4f3d8a27de335ab2352e + name: 'Interface {#IFNAME}({#IFALIAS}): Modem Signal. {#SNMPINDEX}' + graph_items: + - + color: 1A7C11 + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'lte.modem.sinr[mtxrLTEModemSignalSINR.{#SNMPINDEX}]' + - + sortorder: '1' + color: 2774A4 + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'lte.modem.rsrq[mtxrLTEModemSignalRSRQ.{#SNMPINDEX}]' + - + sortorder: '2' + color: F63100 + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'lte.modem.rsrp[mtxrLTEModemSignalRSRP.{#SNMPINDEX}]' + - + sortorder: '3' + color: A54F10 + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'lte.modem.rssi[mtxrLTEModemSignalRSSI.{#SNMPINDEX}]' + - + uuid: cd991f115dfa4aed82ca363bea78c951 + name: 'AP channel discovery' + type: SNMP_AGENT + snmp_oid: 'discovery[{#IFNAME},1.3.6.1.4.1.14988.1.1.14.1.1.2,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFTYPE},1.3.6.1.2.1.2.2.1.3,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7]' + key: mtxrWlAp.discovery + delay: 1h + filter: + evaltype: AND + conditions: + - + macro: '{#IFTYPE}' + value: ^71$ + formulaid: B + - + macro: '{#IFADMINSTATUS}' + value: ^1$ + formulaid: A + description: 'MIKROTIK-MIB::mtxrWlAp' + item_prototypes: + - + uuid: c8379a61cf50439ca8fcf6e7bd9e1882 + name: 'Interface {#IFNAME}({#IFALIAS}): AP authenticated clients' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.3.1.11.{#SNMPINDEX}' + key: 'ssid.authclient[mtxrWlApAuthClientCount.{#SNMPINDEX}]' + history: 7d + description: | + MIB: MIKROTIK-MIB + mtxrWlApAuthClientCount Number of authentication clients. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: f1f871ee559e4cebb1fd1f535a38e01d + name: 'Interface {#IFNAME}({#IFALIAS}): AP band' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.3.1.8.{#SNMPINDEX}' + key: 'ssid.band[mtxrWlApBand.{#SNMPINDEX}]' + history: 7d + trends: '0' + value_type: CHAR + description: | + MIB: MIKROTIK-MIB + mtxrWlApBand + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1h + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: 0d04c1ee59454dc2a6207ef39dfbcc1b + name: 'Interface {#IFNAME}({#IFALIAS}): SSID' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.3.1.4.{#SNMPINDEX}' + key: 'ssid.name[mtxrWlApSsid.{#SNMPINDEX}]' + history: 7d + trends: '0' + value_type: CHAR + description: | + MIB: MIKROTIK-MIB + mtxrWlApSsid Service Set Identifier. + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1h + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: e0f09269707249ff95ccf4024c907f2f + name: 'Interface {#IFNAME}({#IFALIAS}): AP noise floor' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.3.1.9.{#SNMPINDEX}' + key: 'ssid.noise[mtxrWlApNoiseFloor.{#SNMPINDEX}]' + history: 7d + value_type: FLOAT + description: | + MIB: MIKROTIK-MIB + mtxrWlApNoiseFloor + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 15m + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: 3df5076b23ef4e05aa6bf24be663f6f0 + name: 'Interface {#IFNAME}({#IFALIAS}): AP registered clients' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.3.1.6.{#SNMPINDEX}' + key: 'ssid.regclient[mtxrWlApClientCount.{#SNMPINDEX}]' + history: 7d + description: | + MIB: MIKROTIK-MIB + mtxrWlApClientCount Client established connection to AP, but didn't finish all authetncation procedures for full connection. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: cbd4c9b8a0f64ea394f9d2d542aa25ef + name: 'CAPsMAN AP channel discovery' + type: SNMP_AGENT + snmp_oid: 'discovery[{#IFNAME},1.3.6.1.4.1.14988.1.1.14.1.1.2,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]' + key: mtxrWlCMChannel.discovery + delay: 1h + filter: + evaltype: AND + conditions: + - + macro: '{#IFTYPE}' + value: ^1$ + formulaid: B + - + macro: '{#IFNAME}' + value: '{$IFNAME.WIFI.MATCHES}' + formulaid: A + description: 'MIKROTIK-MIB::mtxrWlCMChannel' + item_prototypes: + - + uuid: 0e75174bf57445c3852ef11b342b2892 + name: 'Interface {#IFNAME}({#IFALIAS}): AP authenticated clients' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.7.1.3.{#SNMPINDEX}' + key: 'ssid.authclient[mtxrWlCMAuthClientCount.{#SNMPINDEX}]' + history: 7d + description: | + MIB: MIKROTIK-MIB + mtxrWlCMAuthClientCount Number of authentication clients. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: 774b0b02798a40fd95127ad17e182a03 + name: 'Interface {#IFNAME}({#IFALIAS}): AP channel' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.7.1.5.{#SNMPINDEX}' + key: 'ssid.channel[mtxrWlCMChannel.{#SNMPINDEX}]' + history: 7d + trends: '0' + value_type: CHAR + description: | + MIB: MIKROTIK-MIB + mtxrWlCMChannel + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1h + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: fffdd563250347e4b489c9fa4d61bc87 + name: 'Interface {#IFNAME}({#IFALIAS}): AP registered clients' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.7.1.2.{#SNMPINDEX}' + key: 'ssid.regclient[mtxrWlCMRegClientCount.{#SNMPINDEX}]' + history: 7d + description: | + MIB: MIKROTIK-MIB + mtxrWlCMRegClientCount Client established connection to AP, but didn't finish all authetncation procedures for full connection. + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + - + uuid: 3c94839027f64bddbc6b3d5abd0cc0bf + name: 'Interface {#IFNAME}({#IFALIAS}): AP state' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.4.1.14988.1.1.1.7.1.4.{#SNMPINDEX}' + key: 'ssid.state[mtxrWlCMState.{#SNMPINDEX}]' + history: 7d + trends: '0' + value_type: CHAR + description: | + MIB: MIKROTIK-MIB + mtxrWlCMState Wireless interface state. + preprocessing: + - + type: DISCARD_UNCHANGED_HEARTBEAT + parameters: + - 1h + tags: + - + tag: Application + value: 'Interface {#IFNAME}({#IFALIAS})' + trigger_prototypes: + - + uuid: f0f924ded1064d70964e5669eb1e3a62 + expression: 'last(/MikroTik RB1100AHx4 SNMP/ssid.state[mtxrWlCMState.{#SNMPINDEX}])<>"running-ap"' + name: 'Interface {#IFNAME}({#IFALIAS}): AP interface {#IFNAME}({#IFALIAS}) is not running' + priority: WARNING + description: 'Access point interface can be not running by different reasons - disabled interface, power off, network link down.' + - + uuid: 731d669f787c45609df243f28ba610a3 + name: 'Storage discovery' + type: SNMP_AGENT + snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.2.1.25.2.3.1.3,{#ALLOC_UNITS},1.3.6.1.2.1.25.2.3.1.4,{#STORAGE_TYPE},1.3.6.1.2.1.25.2.3.1.2]' + key: storage.discovery + delay: 1h + filter: + evaltype: OR + conditions: + - + macro: '{#STORAGE_TYPE}' + value: .+4$ + formulaid: A + - + macro: '{#STORAGE_TYPE}' + value: .+hrStorageFixedDisk + formulaid: B + description: 'HOST-RESOURCES-MIB::hrStorage discovery with storage filter' + item_prototypes: + - + uuid: 5b2a71ca1ecc4b24a42415100fcfe2fd + name: 'Disk-{#SNMPINDEX}: Space utilization' + type: CALCULATED + key: 'vfs.fs.pused[hrStorageSize.{#SNMPINDEX}]' + history: 7d + value_type: FLOAT + units: '%' + params: '(last(//vfs.fs.used[hrStorageSize.{#SNMPINDEX}])/last(//vfs.fs.total[hrStorageSize.{#SNMPINDEX}]))*100' + description: 'Space utilization in % for Disk-{#SNMPINDEX}' + tags: + - + tag: Application + value: Storage + - + uuid: 89ebfc327e5b4b63ae6571bd671489d9 + name: 'Disk-{#SNMPINDEX}: Total space' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.25.2.3.1.5.{#SNMPINDEX}' + key: 'vfs.fs.total[hrStorageSize.{#SNMPINDEX}]' + history: 7d + units: B + description: | + MIB: HOST-RESOURCES-MIB + The size of the storage represented by this entry, in + units of hrStorageAllocationUnits. This object is + writable to allow remote configuration of the size of + the storage area in those cases where such an + operation makes sense and is possible on the + underlying system. For example, the amount of main + memory allocated to a buffer pool might be modified or + the amount of disk space allocated to virtual memory + might be modified. + preprocessing: + - + type: MULTIPLIER + parameters: + - '1024' + tags: + - + tag: Application + value: Storage + - + uuid: 94c3ff07a2aa4e1f9e7a5fcd35ae0d33 + name: 'Disk-{#SNMPINDEX}: Used space' + type: SNMP_AGENT + snmp_oid: '1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}' + key: 'vfs.fs.used[hrStorageSize.{#SNMPINDEX}]' + history: 7d + units: B + description: | + MIB: HOST-RESOURCES-MIB + The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits. + preprocessing: + - + type: MULTIPLIER + parameters: + - '1024' + tags: + - + tag: Application + value: Storage + trigger_prototypes: + - + uuid: e665c0343ae140d08b8ae96b6c28f4d4 + expression: | + last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' + opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' + priority: AVERAGE + description: | + Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. + Second condition should be one of the following: + - The disk free space is less than 5G. + - The disk will be full in less than 24 hours. + manual_close: 'YES' + - + uuid: c685347700044a78a38e4e892d3dfec4 + expression: | + last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' + opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' + priority: WARNING + description: | + Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. + Second condition should be one of the following: + - The disk free space is less than 10G. + - The disk will be full in less than 24 hours. + manual_close: 'YES' + dependencies: + - + name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' + expression: | + last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + graph_prototypes: + - + uuid: 15c1c509c03540449b26d7ae9ce99cdd + name: 'Disk-{#SNMPINDEX}: Disk space usage' + width: '600' + height: '340' + type: PIE + show_3d: 'YES' + graph_items: + - + color: '969696' + calc_fnc: LAST + type: GRAPH_SUM + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'vfs.fs.total[hrStorageSize.{#SNMPINDEX}]' + - + sortorder: '1' + color: C80000 + calc_fnc: LAST + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'vfs.fs.used[hrStorageSize.{#SNMPINDEX}]' + macros: + - + macro: '{$CPU.UTIL.CRIT}' + value: '90' + - + macro: '{$IFNAME.LTEMODEM.MATCHES}' + value: ^lte + description: 'This macro is used in LTE modem discovery. It can be overridden on the host.' + - + macro: '{$IFNAME.WIFI.MATCHES}' + value: WIFI + description: 'This macro is used in CAPsMAN AP channel discovery. It can be overridden on the host level.' + - + macro: '{$LTEMODEM.RSRP.MIN.WARN}' + value: '-100' + description: 'The LTE modem RSRP minimum value for warning trigger expression.' + - + macro: '{$LTEMODEM.RSRQ.MIN.WARN}' + value: '-20' + description: 'The LTE modem RSRQ minimum value for warning trigger expression.' + - + macro: '{$LTEMODEM.RSSI.MIN.WARN}' + value: '-100' + description: 'The LTE modem RSSI minimum value for warning trigger expression.' + - + macro: '{$LTEMODEM.SINR.MIN.WARN}' + value: '0' + description: 'The LTE modem SINR minimum value for warning trigger expression.' + - + macro: '{$MEMORY.UTIL.MAX}' + value: '90' + - + macro: '{$TEMP_CRIT}' + value: '60' + - + macro: '{$TEMP_CRIT:"CPU"}' + value: '75' + - + macro: '{$TEMP_CRIT_LOW}' + value: '5' + - + macro: '{$TEMP_WARN}' + value: '50' + - + macro: '{$TEMP_WARN:"CPU"}' + value: '70' + - + macro: '{$VFS.FS.PUSED.MAX.CRIT}' + value: '90' + - + macro: '{$VFS.FS.PUSED.MAX.WARN}' + value: '80' + graphs: + - + uuid: f74fdb024a054e26881e5e90804f9fee + name: 'Memory utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik RB1100AHx4 SNMP' + key: 'vm.memory.util[memoryUsedPercentage.Memory]' |