diff options
author | Maxim Chudinov <maxim.chudinov@zabbix.com> | 2021-10-11 09:21:36 +0300 |
---|---|---|
committer | Maxim Chudinov <maxim.chudinov@zabbix.com> | 2021-10-11 09:21:36 +0300 |
commit | 6dd0fa9459ace6b36da34a48eca5842ff8131096 (patch) | |
tree | 8175fa34591794042aec986a0bc5acba07805635 /templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml | |
parent | adfe85fe73a8f879d1afb250c85588daf6ea0309 (diff) |
.........T [ZBXNEXT-6970] added templates for "MikroTik" Ethernet routers and Switches
Diffstat (limited to 'templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml')
-rw-r--r-- | templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml | 940 |
1 files changed, 940 insertions, 0 deletions
diff --git a/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml new file mode 100644 index 00000000000..1f1fed3c9ca --- /dev/null +++ b/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml @@ -0,0 +1,940 @@ +zabbix_export: + version: '6.0' + date: '2021-10-11T06:08:12Z' + groups: + - + uuid: 36bff6c29af64692839d077febfc7079 + name: 'Templates/Network devices' + templates: + - + uuid: 318fd61c22fa4f1a92a71376814d6c32 + template: 'MikroTik RB2011iLS-IN SNMP' + name: 'MikroTik RB2011iLS-IN SNMP' + description: | + The template for monitoring Ethernet router MikroTik RB2011iLS-IN. + Desktop metal case, 5xEthernet, 5xGigabit Ethernet, SFP cage, PoE out on port 10, 600MHz CPU, 64MB RAM, RouterOS L4 + + 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: ed51e55b8fa64c5599399fc93d81d329 + 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: 2349e4eac44548349cc9f7806f8726db + expression: 'last(/MikroTik RB2011iLS-IN SNMP/system.hw.firmware,#1)<>last(/MikroTik RB2011iLS-IN SNMP/system.hw.firmware,#2) and length(last(/MikroTik RB2011iLS-IN 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: 692ccc1f29fe4f15ae7ca0bee54bf6b6 + 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: 0645ecb1a28040d9b89af280ca3093ea + 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: f43a3aa77c8e4e9f81add08ac624be88 + expression: 'last(/MikroTik RB2011iLS-IN SNMP/system.hw.serialnumber,#1)<>last(/MikroTik RB2011iLS-IN SNMP/system.hw.serialnumber,#2) and length(last(/MikroTik RB2011iLS-IN 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: 551f25631a13497b924c1b285b93ee5f + 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: 76d4c429deaf491982b7b1049634550a + expression: 'last(/MikroTik RB2011iLS-IN SNMP/system.sw.os[mtxrLicVersion.0],#1)<>last(/MikroTik RB2011iLS-IN SNMP/system.sw.os[mtxrLicVersion.0],#2) and length(last(/MikroTik RB2011iLS-IN 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: c077abb2ecc84c88b2173bff8e9ab9aa + 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: 4029907022564beeb405c065ae4febff + 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: 5521e149584846118dcb280496b3aca4 + 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: cfca5a71a1534e199e9c3b867b8c6c3b + expression: 'min(/MikroTik RB2011iLS-IN 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: 4de6b86871874118b83ed7cfd31f3113 + 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: 4dcba527c8de49eb90a9cc58e881202e + 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: 1edf137678504b9d8dced37d9a1d3f5a + expression: 'min(/MikroTik RB2011iLS-IN 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: 28b696fbb7ce4cf4941932ceb04700cb + name: '#{#SNMPINDEX}: CPU utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik RB2011iLS-IN SNMP' + key: 'system.cpu.util[hrProcessorLoad.{#SNMPINDEX}]' + - + uuid: e738626cc9af4c9ba47f18ede6d6ffa3 + 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: 0f06d2c64a2f4b6690736e3f74ea8e59 + 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: e9ab4a4bc78e47a19409d2bfe4d1d5fa + expression: 'avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB2011iLS-IN 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: 1e81f6308a2748adbed17064d648b566 + expression: 'avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB2011iLS-IN 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 RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}' + recovery_expression: 'max(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3' + - + uuid: 3a679a3d653d42cabed24e238fa01c38 + expression: 'avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik RB2011iLS-IN 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: 6a9998434d8b4a93a7fba87eaf642600 + 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: 53d76ef4e9224a63bd30e3d1fc89542f + 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: 88fc1612d1b14108a1d90313fa1cb0e7 + expression: 'avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB2011iLS-IN 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: 048ffb5e510746e6b56daec287db6739 + expression: 'avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'max(/MikroTik RB2011iLS-IN 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 RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"Device"}' + recovery_expression: 'max(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"Device"}-3' + - + uuid: fcc70d3662ac49499a0f5bb68a13c007 + expression: 'avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"Device"}' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'min(/MikroTik RB2011iLS-IN 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: 53adc733f3c34ddd943e5ccb41d1b536 + 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: 23c7a946500a420a87ead3d7c923f176 + 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: d9acbd875f514ce8a19638125c096aed + expression: 'max(/MikroTik RB2011iLS-IN 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: 93254f62b3e74acaa3c5839b9f844363 + 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: 569c192c940a49f7b180162e4b83be24 + expression: 'max(/MikroTik RB2011iLS-IN 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: 67eb22e623174b06a24460985521d3d4 + 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: 7b31d412d15140d7be66d4b9963150de + expression: 'max(/MikroTik RB2011iLS-IN 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: dda3ef44c9204c46a8affb68aeeec803 + 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: 7512216ac6e24d5f88a187621d0d7285 + expression: 'max(/MikroTik RB2011iLS-IN 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: 360063285da04ed29523562086c769c4 + name: 'Interface {#IFNAME}({#IFALIAS}): Modem Signal. {#SNMPINDEX}' + graph_items: + - + color: 1A7C11 + item: + host: 'MikroTik RB2011iLS-IN SNMP' + key: 'lte.modem.sinr[mtxrLTEModemSignalSINR.{#SNMPINDEX}]' + - + sortorder: '1' + color: 2774A4 + item: + host: 'MikroTik RB2011iLS-IN SNMP' + key: 'lte.modem.rsrq[mtxrLTEModemSignalRSRQ.{#SNMPINDEX}]' + - + sortorder: '2' + color: F63100 + item: + host: 'MikroTik RB2011iLS-IN SNMP' + key: 'lte.modem.rsrp[mtxrLTEModemSignalRSRP.{#SNMPINDEX}]' + - + sortorder: '3' + color: A54F10 + item: + host: 'MikroTik RB2011iLS-IN SNMP' + key: 'lte.modem.rssi[mtxrLTEModemSignalRSSI.{#SNMPINDEX}]' + - + uuid: 65ce926cc8bb4e55859204eb287c640b + 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: bb7c28ff27104b0a8aa8f7052f71dd32 + 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: 437edde63aa74619a3f4531039c1e73d + 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: 091618c93d8a405a94d4147d18d985d7 + 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: af82a882030b45ca90805a13bf4390f5 + 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: 616f6787b7e8427aa727711c115afbed + 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: 9ab6be8cd3f44b7ba6df32589b844e77 + 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: 29efb756bbc44a2bbd772633279cd754 + 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: 0921eb633d6d44f2add1031cbc5ae2fa + 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: a7a9c42aa3054035b9190a38f3456e44 + 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: 23b17acfff4246208f744864e5af2108 + 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: bcb6d9302db14ee3a7dd120304b7a5a5 + expression: 'last(/MikroTik RB2011iLS-IN 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: 162e5f08fbcc4ad88fdb633731bd942a + 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: fbeab8db403d458b96fcd8084bd98f60 + 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: ad4d9e4a1a5341fa841eecdd84acf8b8 + 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: fa6b2e7962e84b53ad0f7909984e6bca + 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: c3e8a5f013f34395afeffc5eabbe01ac + expression: | + last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iLS-IN 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: 2199168e964c4bd79ad06de3c1226f1d + expression: | + last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011iLS-IN 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 RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and + ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + graph_prototypes: + - + uuid: baa457270f57426da7d271df998f8c83 + 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 RB2011iLS-IN SNMP' + key: 'vfs.fs.total[hrStorageSize.{#SNMPINDEX}]' + - + sortorder: '1' + color: C80000 + calc_fnc: LAST + item: + host: 'MikroTik RB2011iLS-IN 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: 8a6c7b5e3e4d4cc580e3f323fbc623b4 + name: 'Memory utilization' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: 1A7C11 + item: + host: 'MikroTik RB2011iLS-IN SNMP' + key: 'vm.memory.util[memoryUsedPercentage.Memory]' |