Ad Widget

Collapse

Template Mikrotik RB 2011

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marcelofares
    Junior Member
    • Feb 2015
    • 7

    #1

    Template Mikrotik RB 2011

    Good night folks

    I'm looking quite ready templates for my routeboard.

    RB 2011 IUAs

    Unfortunately I could not do monitoring my RouterBoard by SNMP. I do not know the reason.



    Can someone help me?

    Best,

    Marcelo
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    What kind has been set the item?
    Are you link default template?
    Please check choice SNMP version in items. SNMPv2? SNMPv3?

    Comment

    • marcelofares
      Junior Member
      • Feb 2015
      • 7

      #3
      Originally posted by Atsushi
      What kind has been set the item?
      Are you link default template?
      Please check choice SNMP version in items. SNMPv2? SNMPv3?

      I downloaded a specific template for mikrotik, but I think it is not working. I believe the Template SNMP Device default (zabbix) should work. The version of SNMP that I am using in routerboard is V2, the image above shows (TRAP VERSION).


      Best,
      Last edited by marcelofares; 10-02-2016, 17:29.

      Comment

      • xxiii
        Junior Member
        • Jun 2013
        • 28

        #4
        Look in zabbix's logs.

        Also, routerboards typically need bulk requests disabled.
        (the checkbox just below your arrow in your picture).

        Comment

        • marcelofares
          Junior Member
          • Feb 2015
          • 7

          #5
          Originally posted by xxiii
          Look in zabbix's logs.

          Also, routerboards typically need bulk requests disabled.
          (the checkbox just below your arrow in your picture).

          I just changed the community for public and everything is working again. Now, I'm with another question, my template only generates graphs of CPU, MEMORY. I would like to generate graphs of network interfaces, it is possible? I need another template for mikrotik own?

          Comment

          • topcek
            Junior Member
            • Jun 2010
            • 17

            #6
            Snmp

            Marcelofares,

            usin zabbix when collecting interface statistics works fine but is a static method. I also use it but when you add new interface you need to modify the template and add new interface. here is an example:

            with command on linux:

            snmpwalk -v2c -c<community string> IP_ADDR_MTK ifName
            IF-MIB::ifName.1 = STRING: ether12
            IF-MIB::ifName.2 = STRING: ether13
            IF-MIB::ifName.3 = STRING: ether11
            IF-MIB::ifName.4 = STRING: ether06
            IF-MIB::ifName.5 = STRING: ether07
            IF-MIB::ifName.6 = STRING: ether08
            IF-MIB::ifName.7 = STRING: ether09
            IF-MIB::ifName.8 = STRING: ether10
            IF-MIB::ifName.9 = STRING: ether01
            IF-MIB::ifName.10 = STRING: ether02
            IF-MIB::ifName.11 = STRING: ether03
            IF-MIB::ifName.12 = STRING: ether04
            IF-MIB::ifName.13 = STRING: ether05
            IF-MIB::ifName.17 = STRING: VLAN20
            IF-MIB::ifName.20 = STRING: VLAN3
            IF-MIB::ifName.35 = STRING: VLAN40
            IF-MIB::ifName.61 = STRING: VLAN50
            IF-MIB::ifName.99 = STRING: vlan201
            IF-MIB::ifName.15742788 = STRING: <pptp-interface-client1>
            IF-MIB::ifName.15742969 = STRING: <pptp-interface-client2>


            so now if you want to collect download and upload for interface ether12 you are looking for MIBs: ifInOctets.1 and IfOutOctets.1.

            Number .1 refers to first interface. But then again if you go further you see that VLAN20 interface has .17 index etc.. so it's not i=i+1.. especially last two which have some random string for pptp clients which are connected.

            So after you will create those 2 items then you can add graphs/trigers etc..

            Hope hepls a bit.

            Comment

            Working...