[Suggestions] New Mikrotik Template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

mionco
Posts: 10
Joined: Tue Apr 16, 2013 5:39 am

Re: [Suggestions] New Mikrotik Template

Post by mionco »

Version 0.8.8b try mikrotik plugin, but it dont work and no support here in forum... ill be very glad to see your new mikrotik temlate, or if somedoby can help with the plugin?
User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

Re: [Suggestions] New Mikrotik Template

Post by mojiro »

Be patient since I still have a lot of job to do.
[i]Born to be online![/i]
User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

Re: [Suggestions] New Mikrotik Template

Post by mojiro »

bgp-sessions.png
bgp-sessions.png (23.87 KiB) Viewed 14198 times
[i]Born to be online![/i]
User avatar
datatechuk
Posts: 14
Joined: Wed Oct 10, 2007 4:16 am

Re: [Suggestions] New Mikrotik Template

Post by datatechuk »

Hi Guys,
We have been playing around with Cacti and have finally got it to graph the CPU, BGP Routes and Memory as well as the usual interface stats.

The attached zip file (at the bottom of this post) contains the XML files which have been exported from Cacti Version 0.8.8a and are working nicely on the CCR1036, CCR1016, RB1100AHx2 and RB7xx Routers.

The graphs look like the following:-
Attachments
MikroTik - Cacti Graphs - Images
MikroTik - Cacti Graphs - Images
MikroTik Cacti Templates - CCR1036 to RB7xx.png (42.96 KiB) Viewed 14195 times
MikroTik - Cacti Templates.zip
MikroTik Cacti Templates for the CCR1036, CCR1016, RB1100AHx2 and RB7xx Routers.
(101.92 KiB) Downloaded 3065 times
Many Thanks
Marc
Datatech
User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

Re: [Suggestions] New Mikrotik Template

Post by mojiro »

The 2nd graph displays only BGP Routes ? or all routes?
[i]Born to be online![/i]
User avatar
datatechuk
Posts: 14
Joined: Wed Oct 10, 2007 4:16 am

Re: [Suggestions] New Mikrotik Template

Post by datatechuk »

Hi Guys,
I think this is the number of routes in the routing table (The number of current ipCidrRouteTable entries that are not invalid).
We got this OID from the 3rd post down on this page:-
http://forum.mikrotik.com/viewtopic.php?f=2&t=12536

We have been trying to find an OID that is specifically for BGP routes, but so far have not been able to find one on the MikroTik routers.
Since we use BGP as our EGP and OSPF as our IGP on these routers it gives a fairly accurate view of the number of routes in the BGP routing table.

The OID this graph uses is .1.3.6.1.2.1.4.24.3.0

Hope this helps.
Many Thanks
Marc
Datatech
User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

Re: [Suggestions] New Mikrotik Template

Post by mojiro »

@datatechuk

Ok, understood.

I prepare a new set of templates that gathers lot of information using Mikrotik API.

I have already ported these templates for Mikrotik
http://forums.cacti.net/viewtopic.php?f=12&t=51271

If you have any suggestions, please comment.

- - - - -

New additions! Now you are able to monitor your firewall rules also!
fw.png
fw.png (272.71 KiB) Viewed 14187 times
[i]Born to be online![/i]
User avatar
datatechuk
Posts: 14
Joined: Wed Oct 10, 2007 4:16 am

Re: [Suggestions] New Mikrotik Template

Post by datatechuk »

Does this use the Cacti MikroTik plugin?

If so we have got this installed, but have not had much luck with it.
Many Thanks
Marc
Datatech
User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

Re: [Suggestions] New Mikrotik Template

Post by mojiro »

No, it is not using the plugin.
It is just a Host Template and believe me, it is working very easily (only under Linux though).
hst.png
hst.png (125.01 KiB) Viewed 14185 times
[i]Born to be online![/i]
User avatar
datatechuk
Posts: 14
Joined: Wed Oct 10, 2007 4:16 am

Re: [Suggestions] New Mikrotik Template

Post by datatechuk »

@mojiro
Can you upload the latest host template please so I can download and test on some of our MikroTik routers that have 200+ BGP sessions on them?

We are running Cacti on CentOS 6.4, is this all that is required to use the host template on Cacti or does RouterOS need to be running on a PC rather than as one of their devices as we use the CCR1036 routers and they are very powerful.

Do you have some specific installation instructions that we can follow s we can install the template and start using them on the MikroTik Routers? I.E. does anything specific need to be enabled on the routers to be able to use the graphs?
We have locked our routers down quite a bit since they are public facing at Internet Exchanges and are wide open to the internet.
Many Thanks
Marc
Datatech
User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

Re: [Suggestions] New Mikrotik Template

Post by mojiro »

I will manage later in the day to publish an Alpha version.

It really doesn't matter what kind of Mikrotik you have. For the moment I use 5.26 and 6.6 versions installed on RB411, RB411u, RB433 and RB750g with Atheros b/g/n cards.

In order to use some special features (like BGP) you should open the API service (only for your internal network) and create an api-read-only account.

Also you have to install memcached and php-memcache extension to your CentOS (I do not know how).
I need memcache to temporally save (in ram) the routing table of every router. This action lowers the cpu usage of Mikrotik.

Note, that I have not used this Template, at router with thousands of routes and I am not aware for the memory that memcache needs or the cpu load that will be caused at your routers.
[i]Born to be online![/i]
zyx
Posts: 3
Joined: Fri Jan 17, 2014 7:16 am

Re: [Suggestions] New Mikrotik Template

Post by zyx »

Hi,

Any news on the template? :)
Can we sign up for alpha testing?

-zyx
SheldonV
Posts: 3
Joined: Thu Jan 23, 2014 2:06 am

Re: [Suggestions] New Mikrotik Template

Post by SheldonV »

Hi mojiro

Any update on the template :)

Thanks for all the great work!
chepoek
Posts: 1
Joined: Wed Sep 07, 2011 12:35 am

Re: [Suggestions] New Mikrotik Template

Post by chepoek »

Hi mojiro,
Where download link code for mikrotik template update?


thx.
szastan
Posts: 4
Joined: Sun Dec 20, 2009 7:02 am
Location: Gdansk, Poland

Re: [Suggestions] New Mikrotik Template

Post by szastan »

one more soul kindly asking for template alpha version here ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests