Skip to content

YSmetana/zabbix-mikrotik-snmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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:

  • Network port status, [1 ⇒ Up, 2 ⇒ Down].
  • Network port admin status, [1 ⇒ Enabled, 2 ⇒ Disabled]

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:

  • Mikrotik interfaces 1 , .*slave.* [Result is FALSE]

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! ;)

About

Mikrotik SNMP template for Zabbix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published