diff options
Diffstat (limited to 'templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml')
-rw-r--r-- | templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml | 940 |
1 files changed, 940 insertions, 0 deletions
diff --git a/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml b/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml new file mode 100644 index 00000000000..47bbe27bb06 --- /dev/null +++ b/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml @@ -0,0 +1,940 @@ +zabbix_export: + version: '6.0' + date: '2021-10-11T06:07:53Z' + groups: + - + uuid: 36bff6c29af64692839d077febfc7079 + name: 'Templates/Network devices' + templates: + - + uuid: f1928e12f9554599a9adb516f38b6bf6 + template: 'MikroTik netPower 15FR SNMP' + name: 'MikroTik netPower 15FR SNMP' + description: | + The template for monitoring Switch MikroTik netPower 15FR. + An outdoor 18 port switch with 15 reverse PoE ports and SFP. Cut costs, not speed – choose GPEN over GPON! + + 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: c3a06a34c55c42c89d9158ac8e735564 + 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: 86d3bc7830274e24b19f0b7120f9c957 + expression: 'last(/MikroTik netPower 15FR SNMP/system.hw.firmware,#1)<>last(/MikroTik netPower 15FR SNMP/system.hw.firmware,#2) and length(last(/MikroTik netPower 15FR 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: 350020213bbd4ca59fad42e8347abd67 + 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: 3540413716f141329c4ffadb402a051d + 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: 8964055d1c7445e68b9ba2eb30faf1fc + expression: 'last(/MikroTik netPower 15FR SNMP/system.hw.serialnumber,#1)<>last(/MikroTik netPower 15FR SNMP/system.hw.serialnumber,#2) and length(last(/MikroTik netPower 15FR 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: d8413ee1e46846fabbc3f7239d74df02 + 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: ad61f9029ba449aab240fee852d1e49e + expression: 'last(/MikroTik netPower 15FR SNMP/system.sw.os[mtxrLicVersion.0],#1)<>last(/MikroTik netPower 15FR SNMP/system.sw.os[mtxrLicVersion.0],#2) and length(last(/MikroTik netPower 15FR 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: d80ed64a5916414091a72caf33d650ee + 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: bd680110f05848aaa2754da8d00f60e4 + 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: 1a8c279dc19c4944804d27e0e6f7b5b3 + 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: 660db85a472349e7878bcdf41faa4689 + expression: 'min(/MikroTik netPower 15FR 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: 41c63da374c3490ca27e7bc3298f269d + 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: d28ec3c6c00741eda325a53cb7e45e4d + 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: 6fa6e471c9594ea9a65d54a72a7a7b54 + expression: 'min(/MikroTik netPower 15FR 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: 308c726fa1ac419490b645f68bde63de + name: '#{#SNMPINDEX}: CPU utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik netPower 15FR SNMP' + key: 'system.cpu.util[hrProcessorLoad.{#SNMPINDEX}]' + - + uuid: 8575e3af9dc841c489d0d72cf3880da1 + 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: 8fc500e6a2b743cf9c948b099839dc8a + 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: 46615aebb0e2414b9094e5e25c0a6314 + expression: 'avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik netPower 15FR 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: db07d94668634efca75ab714cc2cf083 + expression: 'avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik netPower 15FR 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 netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_expression: 'max(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3' + - + uuid: 664ab6cc5ce044af8d6899473ea0a8b1 + expression: 'avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik netPower 15FR 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: fe69d484c5734fc88eb7cb9d8e79288e + 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: 511cdf90845747b5bfc43c46c245aec5 + 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: f81db05dfee24aaaa8cc27aca30e7455 + expression: 'avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik netPower 15FR 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: edab3732eb9a41f4b42da927ee8996a7 + expression: 'avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik netPower 15FR 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 netPower 15FR SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_expression: 'max(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"Device"}-3' + - + uuid: 0ef1463290ce45ab83838acb51e9d5ab + expression: 'avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik netPower 15FR 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: 325f04ecd27949d6a5c486850e7d189c + 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: b615320ad07f48ecbf8cae0fed33a492 + 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: 30101628e09d4c67a1d4d7938b7b5674 + expression: 'max(/MikroTik netPower 15FR 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: f4f48561aad24599886457011a6a4995 + 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: 179fb6a3947f4a4bad4d914dfbf2727e + expression: 'max(/MikroTik netPower 15FR 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: f492fe605f56443d98b136a4d6d81d70 + 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: d92f9fa8a9a648ad817295ba5b26c254 + expression: 'max(/MikroTik netPower 15FR 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: 32b98a463dc74c11b4e1695970fca8fc + 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: df1dc76e73904e35850f1b104dca01ea + expression: 'max(/MikroTik netPower 15FR 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: 3282106194e14f4e935d10a97d85a536 + name: 'Interface {#IFNAME}({#IFALIAS}): Modem Signal. {#SNMPINDEX}' + graph_items: + - + color: 1A7C11 + item: + host: 'MikroTik netPower 15FR SNMP' + key: 'lte.modem.sinr[mtxrLTEModemSignalSINR.{#SNMPINDEX}]' + - + sortorder: '1' + color: 2774A4 + item: + host: 'MikroTik netPower 15FR SNMP' + key: 'lte.modem.rsrq[mtxrLTEModemSignalRSRQ.{#SNMPINDEX}]' + - + sortorder: '2' + color: F63100 + item: + host: 'MikroTik netPower 15FR SNMP' + key: 'lte.modem.rsrp[mtxrLTEModemSignalRSRP.{#SNMPINDEX}]' + - + sortorder: '3' + color: A54F10 + item: + host: 'MikroTik netPower 15FR SNMP' + key: 'lte.modem.rssi[mtxrLTEModemSignalRSSI.{#SNMPINDEX}]' + - + uuid: aef802a72bea446781b9456246984457 + 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: c501d4366af34a3a8e30b6e224c3fafa + 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: b723d3bf59c047039fc23568f445aa98 + 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: 9ba87c338496445dbc1fb2019a07941e + 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: 3d1256ace78141cc94a8b36ddcd5578c + 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: c9c7f1e0788845398a415a6e649e3818 + 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: 802b868d392d4f65bb47178566fc113c + 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: ccaff01089e04fad846522db993649db + 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: 26b0c07f668e43718e6fea333f68fc63 + 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: 8ea5913e43c740b19c28647eef54c3ae + 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: 3ddfb23ff23c44ee9d9690374f82d028 + 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: fb10d55898f74edbb7a1541481cbde49 + expression: 'last(/MikroTik netPower 15FR 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: f72f57ef12e84957aea8cd402b3061c2 + 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: e97a95f91dc24615ac510da4e1e13c60 + 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: a1838a262c5446d798d1ca6f5b9237c1 + 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: 517b5e46327f48e9b3db685167a77d13 + 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: 2ba297940326432dbbc91974ed99d53d + expression: | + last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 15FR 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: e3054ae302bd4c29b81b6f4c58c39021 + expression: | + last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik netPower 15FR 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 netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + graph_prototypes: + - + uuid: 9d68b0bd14fb432bb730cf1c69098dd7 + 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 netPower 15FR SNMP' + key: 'vfs.fs.total[hrStorageSize.{#SNMPINDEX}]' + - + sortorder: '1' + color: C80000 + calc_fnc: LAST + item: + host: 'MikroTik netPower 15FR 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: 0840a833bec844fcbbbda3398b8f2d81 + name: 'Memory utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik netPower 15FR SNMP' + key: 'vm.memory.util[memoryUsedPercentage.Memory]' |