Available versions




Mikrotik-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

Macros used

Name Description Default Type
{$FIRSTPATFLAG:part0} <p>-</p> 1 Text macro
{$FIRSTPATFLAG:part1} <p>-</p> 0 Text macro
{$FIRSTPATFLAG:part2} <p>-</p> 0 Text macro

There are no template links in this template.

Discovery rules

Name Description Type Key and additional info
Mikrotik Partition Table <p>-</p> SNMP agent mktPartitionTable.discovery<p>Update: 6h</p>

Items collected

Name Description Type Key and additional info
mtxrPartitionActive.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionActive.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionRunning.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionRunning.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionSize.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionSize.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionVersion.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionVersion.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>

Triggers

Name Description Expression Priority
Partition {#MKTPARTITIONNAME} is not active on {HOST.NAME} <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and {Mikrotik-Partion-Table:mtxrPartitionActive.[{#MKTPARTITIONNAME}].last(0)}=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not running on {HOST.NAME} <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and {Mikrotik-Partion-Table:mtxrPartitionRunning.[{#MKTPARTITIONNAME}].last(0)}=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not active on {HOST.NAME} (LLD) <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and {Mikrotik-Partion-Table:mtxrPartitionActive.[{#MKTPARTITIONNAME}].last(0)}=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not running on {HOST.NAME} (LLD) <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and {Mikrotik-Partion-Table:mtxrPartitionRunning.[{#MKTPARTITIONNAME}].last(0)}=0</p><p>Recovery expression: </p> average

Mikrotik-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

Macros used

Name Description Default Type
{$FIRSTPATFLAG:part0} <p>-</p> 1 Text macro
{$FIRSTPATFLAG:part1} <p>-</p> 0 Text macro
{$FIRSTPATFLAG:part2} <p>-</p> 0 Text macro

There are no template links in this template.

Discovery rules

Name Description Type Key and additional info
Mikrotik Partition Table <p>-</p> SNMP agent mktPartitionTable.discovery<p>Update: 6h</p>

Items collected

Name Description Type Key and additional info
mtxrPartitionActive.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionActive.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionRunning.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionRunning.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionSize.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionSize.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionVersion.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionVersion.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>

Triggers

Name Description Expression Priority
Partition {#MKTPARTITIONNAME} is not active on {HOST.NAME} <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionActive.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not running on {HOST.NAME} <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionRunning.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not active on {HOST.NAME} (LLD) <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionActive.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not running on {HOST.NAME} (LLD) <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionRunning.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average

Mikrotik-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

Macros used

Name Description Default Type
{$FIRSTPATFLAG:part0} <p>-</p> 1 Text macro
{$FIRSTPATFLAG:part1} <p>-</p> 0 Text macro
{$FIRSTPATFLAG:part2} <p>-</p> 0 Text macro

There are no template links in this template.

Discovery rules

Name Description Type Key and additional info
Mikrotik Partition Table <p>-</p> SNMP agent mktPartitionTable.discovery<p>Update: 6h</p>

Items collected

Name Description Type Key and additional info
mtxrPartitionActive.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionActive.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionRunning.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionRunning.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionSize.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionSize.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>
mtxrPartitionVersion.[{#MKTPARTITIONNAME}] <p>-</p> SNMP agent mtxrPartitionVersion.[{#MKTPARTITIONNAME}]<p>Update: 1h</p><p>LLD</p>

Triggers

Name Description Expression Priority
Partition {#MKTPARTITIONNAME} is not active on {HOST.NAME} <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionActive.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not running on {HOST.NAME} <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionRunning.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not active on {HOST.NAME} (LLD) <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionActive.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average
Partition {#MKTPARTITIONNAME} is not running on {HOST.NAME} (LLD) <p>Part0 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.</p> <p>Expression: {$FIRSTPATFLAG:”{#MKTPARTITIONNAME}”} and last(/Mikrotik-Partion-Table/mtxrPartitionRunning.[{#MKTPARTITIONNAME}])=0</p><p>Recovery expression: </p> average