5.02021-11-21T21:48:37ZTemplates/Network DevicesMikrotik-Partion-TableMikrotik-Partion-Table## Overview
Zabbix template for monitoring active Mikrotik partition for Zabbix 4.x Has been created in Zabbix 4.0, but exported from Zabbix 4.2
Needs to set up macroses:
{$HISTORY}
{$TRENDS}
{$UPDATEINT}
## Author
AlKosmos
Templates/Network DevicesPartitionsMikrotik Partition TableSNMP_AGENTdiscovery[{#MKTPARTITIONNAME},1.3.6.1.4.1.14988.1.1.17.1.1.2]mktPartitionTable.discovery6hmtxrPartitionActive.[{#MKTPARTITIONNAME}]SNMP_AGENT1.3.6.1.4.1.14988.1.1.17.1.1.5.{#SNMPINDEX}mtxrPartitionActive.[{#MKTPARTITIONNAME}]1h{$HISTORY}{$TRENDS}Partitions{$FIRSTPATFLAG:"{#MKTPARTITIONNAME}"} and {last(0)}=0Partition {#MKTPARTITIONNAME} is not active on {HOST.NAME}http://{HOST.IP}AVERAGEPart0 is NOT ACTIVE on {HOST.NAME}! Backup partition is currently active! Please make partition part0 active and reboot device. Changes made to device may be lost.mtxrPartitionRunning.[{#MKTPARTITIONNAME}]SNMP_AGENT1.3.6.1.4.1.14988.1.1.17.1.1.6.{#SNMPINDEX}mtxrPartitionRunning.[{#MKTPARTITIONNAME}]1h{$HISTORY}{$TRENDS}Partitions{$FIRSTPATFLAG:"{#MKTPARTITIONNAME}"} and {last(0)}=0Partition {#MKTPARTITIONNAME} is not running on {HOST.NAME}http://{HOST.IP}AVERAGEPart0 is NOT RUNNING on {HOST.NAME}! Device currently operating off backup partition! Please make partition part0 active and reboot device. Changes made to device may be lost.mtxrPartitionSize.[{#MKTPARTITIONNAME}]SNMP_AGENT1.3.6.1.4.1.14988.1.1.17.1.1.3.{#SNMPINDEX}mtxrPartitionSize.[{#MKTPARTITIONNAME}]1h{$HISTORY}{$TRENDS}PartitionsmtxrPartitionVersion.[{#MKTPARTITIONNAME}]SNMP_AGENT1.3.6.1.4.1.14988.1.1.17.1.1.4.{#SNMPINDEX}mtxrPartitionVersion.[{#MKTPARTITIONNAME}]1h{$HISTORY}0TEXTPartitions{$FIRSTPATFLAG:part0}1{$FIRSTPATFLAG:part1}0{$FIRSTPATFLAG:part2}0