diff options
Diffstat (limited to 'templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml')
-rw-r--r-- | templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml | 940 |
1 files changed, 940 insertions, 0 deletions
diff --git a/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml new file mode 100644 index 00000000000..1b3a412018b --- /dev/null +++ b/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml @@ -0,0 +1,940 @@ +zabbix_export: + version: '6.0' + date: '2021-10-11T06:07:01Z' + groups: + - + uuid: 36bff6c29af64692839d077febfc7079 + name: 'Templates/Network devices' + templates: + - + uuid: ab871d051e304f83950171c5243aa4db + template: 'MikroTik CCR2004-16G-2S SNMP' + name: 'MikroTik CCR2004-16G-2S+ SNMP' + description: | + The template for monitoring Ethernet router MikroTik CCR2004-16G-2S+. + This powerful and affordable router crushes all previous CCR models in single-core performance. 16x Gigabit Ethernet ports, 2x10G SFP+ cages, active cooling and the best single-core performance per watt & best overall performance per watt among all the CCR devices. + + 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: b74cbfd6dbc84c0c916402c81fb11fe9 + 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: 6172f360bcca4bc6a105a5093be8665c + expression: 'last(/MikroTik CCR2004-16G-2S SNMP/system.hw.firmware,#1)<>last(/MikroTik CCR2004-16G-2S SNMP/system.hw.firmware,#2) and length(last(/MikroTik CCR2004-16G-2S 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: 3c8159ac8de24685be689387f69e0e20 + 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: cc917e510e004211be5fc624b071fc95 + 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: 80072866ba994094a279eb45020311d1 + expression: 'last(/MikroTik CCR2004-16G-2S SNMP/system.hw.serialnumber,#1)<>last(/MikroTik CCR2004-16G-2S SNMP/system.hw.serialnumber,#2) and length(last(/MikroTik CCR2004-16G-2S 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: 4776598588384d30ac472ec39df3ef25 + 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: d66d2b488b784574943c90f20d0153ce + expression: 'last(/MikroTik CCR2004-16G-2S SNMP/system.sw.os[mtxrLicVersion.0],#1)<>last(/MikroTik CCR2004-16G-2S SNMP/system.sw.os[mtxrLicVersion.0],#2) and length(last(/MikroTik CCR2004-16G-2S 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: 0260f825e71e419da953e2f6285318bc + 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: 49b860cd17af4bed904651fbe620d533 + 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: 4a339ee32bc047a790562e1d17c4f733 + 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: 02a8b7e7ebbb4d1baf5ee155167e36ba + expression: 'min(/MikroTik CCR2004-16G-2S 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: fac0b2a001034a888731ce9ff4d0a0b1 + 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: 76c25cbcbd7a415e821917887b552440 + 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: a81f9bcd4d4d4c4593654293b55f864d + expression: 'min(/MikroTik CCR2004-16G-2S 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: 1695386899b54ad5b5b3e9268f323801 + name: '#{#SNMPINDEX}: CPU utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik CCR2004-16G-2S SNMP' + key: 'system.cpu.util[hrProcessorLoad.{#SNMPINDEX}]' + - + uuid: b1f40fbc259f44db830072b49a5825ad + 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: 69c3af5ff75f4a6296f6cecd8c8259ba + 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: ac0cfe319121487fb2009436d27f4f2b + expression: 'avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik CCR2004-16G-2S 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: c1c53cec6a204411b9739eac84447c2a + expression: 'avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik CCR2004-16G-2S 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 CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_expression: 'max(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3' + - + uuid: f0d3f01db5d44b74826326048bca05a8 + expression: 'avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik CCR2004-16G-2S 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: f65e9753464a4521bb8a537daab08a5b + 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: 44c8106b4f174854962a97a5fe3fc3c8 + 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: dbfb3ba672c944149aea12b3f4a1cdbe + expression: 'avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik CCR2004-16G-2S 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: 8c4ffcc25b254dc29928ac1ac0272b7a + expression: 'avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik CCR2004-16G-2S 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 CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_expression: 'max(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"Device"}-3' + - + uuid: df1aa24cf39947528099405c6cd311f4 + expression: 'avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik CCR2004-16G-2S 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: 33669092f8b542fea3911e23337feb2f + 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: 338524bc1bdf414686576671882b5f68 + 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: f929a190e2624171a7a4b80919ae025e + expression: 'max(/MikroTik CCR2004-16G-2S 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: 2fd85f6131924caeb2e73a630c7970e5 + 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: dff7058dd39f4cb294533048160b3b75 + expression: 'max(/MikroTik CCR2004-16G-2S 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: e2133a97d7c4406e9b708c31b1ad691f + 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: e57c17fcddd04bdf921a9f1b6151ccb2 + expression: 'max(/MikroTik CCR2004-16G-2S 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: f52a4a4442894479bfd0f9acf9b92945 + 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: 95e376a33c1642c9a7d33b40bcda3389 + expression: 'max(/MikroTik CCR2004-16G-2S 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: 6c9bc962ee1040c8b1c0a3b3d2353b61 + name: 'Interface {#IFNAME}({#IFALIAS}): Modem Signal. {#SNMPINDEX}' + graph_items: + - + color: 1A7C11 + item: + host: 'MikroTik CCR2004-16G-2S SNMP' + key: 'lte.modem.sinr[mtxrLTEModemSignalSINR.{#SNMPINDEX}]' + - + sortorder: '1' + color: 2774A4 + item: + host: 'MikroTik CCR2004-16G-2S SNMP' + key: 'lte.modem.rsrq[mtxrLTEModemSignalRSRQ.{#SNMPINDEX}]' + - + sortorder: '2' + color: F63100 + item: + host: 'MikroTik CCR2004-16G-2S SNMP' + key: 'lte.modem.rsrp[mtxrLTEModemSignalRSRP.{#SNMPINDEX}]' + - + sortorder: '3' + color: A54F10 + item: + host: 'MikroTik CCR2004-16G-2S SNMP' + key: 'lte.modem.rssi[mtxrLTEModemSignalRSSI.{#SNMPINDEX}]' + - + uuid: ac44d8d2afa445aa9684549d0d951a3a + 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: deed4c15fd03467ba270ef2476dbdd44 + 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: 85cdb71f2f184c73baef88358c86fc27 + 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: e77874f460dc4a8580c63076388af10c + 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: 7d033a3bf8644f3aa7f66dddd6d45f44 + 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: 1f70e9c256b64e698affb2216d124d24 + 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: f072c431d2e24b84bfd3eba28cebd3fc + 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: cac2679f249c41cab8047a266b63f685 + 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: ef0f673527f4462e9728ef06b73d9e99 + 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: 455d7ff186ae4990a1d60a8c3c165344 + 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: 2e9d6f80bfa445beb64b4d5b17125800 + 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: 569c6b51c3714d84bce3522093e442a6 + expression: 'last(/MikroTik CCR2004-16G-2S 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: a03cd6a56cd540dea337b63f8ca5a1a1 + 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: 6a9a5fa133dd4b1c9e4fb2f21a5ec905 + 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: 8b2f31738f90436b984801b4cef65b66 + 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: dbc682e6a824455db742449efb76b4cf + 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: 8ddf161b19eb4716b1ec7cb270970703 + expression: | + last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-16G-2S 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: 0a19983ae1d443bbb4224a61d46b62de + expression: | + last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR2004-16G-2S 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 CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + graph_prototypes: + - + uuid: 90c58f1e92914a32a4189f0029a5a5fc + 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 CCR2004-16G-2S SNMP' + key: 'vfs.fs.total[hrStorageSize.{#SNMPINDEX}]' + - + sortorder: '1' + color: C80000 + calc_fnc: LAST + item: + host: 'MikroTik CCR2004-16G-2S 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: 7b8e1c45b866470fb94ead58b60e852c + name: 'Memory utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik CCR2004-16G-2S SNMP' + key: 'vm.memory.util[memoryUsedPercentage.Memory]' |