YSmetana / zabbix-mikrotik-snmp

Mikrotik SNMP template for Zabbix
GNU General Public License v2.0
23 stars 7 forks source link

Zabbix template for Mikrotik router

This is Zabbix template for Mikrotik router that use SNMP and Low Level Discovery for network interfaces.

Lates data example

How to use

SNMP

Enable SNMP in you Mikrotik router. Set SNMP-community to public. If you want to use another word for community you have to change it in the template's items. Or create appropriate {MACRO}.

Value mapping

This template uses some value mapping. Please create the following in Administration -> General -> Value mapping:

Like this:

Value mapping

If you don't want to use value mapping, please delete all th lines with:

                        <valuemap>
                            <name>Network port admin status</name>
                        </valuemap>

and

                        <valuemap>
                            <name>Network port status</name>
                        </valuemap>

Regular expression

This template uses Low Level Discovery for network interfaces. To filter unactive interfaces it uses regular expression. Please, create the following in Administration -> General -> Regular expression:

Like this:

Regular expression

If you don't want to use special regular expression you will have to change or remove it in the LLD rule filter tab:

LLD filter

Import template

Import template in Zabbix frontend: Configurtaion -> Template -> Import.

Add the template to the mikrotik host. Be sure to set SNMP IP-address and Agent interfaces IP-address (used for ping).

You can find more screenshots here.

Enjoy! ;)