cacti: Mikrotik RouterOS Statistics (Update 11/19/2013)

Hi Mojiro:

Your Cacti scripts are simply awesome. Thanks so much for providing them to this forum. They couldn’t be easier to use and I’m now monitoring over 700 items on my Cacti server. Do you know what I would have to do to show the “Simple Queue - Traffic” graph as bits/s instead of bytes/s? Is there somewhere in the scripts or Cacti that I could go to change this with a simple calculation change?

Also have you used THold on your Cacti server? Does it work well?

Thanks,
Ken

I already have Queues in Bits and is named: Mikrotik - Queue - Simple Traffic (bits/sec, Total Bandwidth).

Bump!

I have updated the template. Check the first post.

That is real great job. thanks for that!!

Anyway, i have some question regarding Queue Tree. On winbox, i see my traffic is hitting 20M while Cacti report about 2m only. :frowning: please see below:
total-download-cacti.png
total-download.png
what is wrong here?

By the way, can we monitor each queue tree leaf by Traffic? if monitor by packet, it would be difficult for monitoring.

are you monitoring byte per second instead of bit per second?

i got it. thanks :laughing:

yesss: on the left of first picture: ‘Bytes per second’

20 Mbps ~ 2,4 MiBps

ehm… what do you mean? If you monitor the top level of a tree, then you get all the traffic.

I cannot understand.

mojiro, i mean can we monitor on queue child of the queue tree both by packet and traffic(Byte)?

Yes, it is possible. Since they would be in the same graph, both units should have similar numeric size, which is difficult.

What I mean? Every packet carries 1500 bytes, so you will have a graph with 1000p-p for packets and another one with 1500000p-p for bytes.

If they will be shown merged, you could not able to see the packet graph.

A solution, the packet graph may be multiplied by 1000 or 1500 in order to reach the byte (or bit) graph, but the vertical grid values could not be real for packets.

In the next version (I will be able to release it, in a month), I will add it and additionally I will add traffic/packet graphs with the in/out sizes being aggregated, since most of the wireless links are half-duplex. I have in mind to use alpha blending on graphs, in order to show the real size and the aggregated at the same time.

Great!! Thanks

Is anyone actually receiving the correct info for the MEM/DSK graphs?

I get weird values.
disk1.png
mem1.png

what do you mean weird ?

I am trying to use the website http://www.odmon.com, with their templates everything is weird like the post above. Look at the memory usage on hte left side of the graph - 50K ? and its a straight line? Something is off here.

Hi
I’m getting these errors when I attempt to use these scripts (they import with no errors)

Data Query [Mikrotik - Queue - Simple]  	 Reload Associated Query
Error in data query.

Notice: Undefined variable: column_counter in /usr/share/cacti/site/graphs_new.php on line 887

it does this for “wireless client”, “Wireless regestration table”, “interface statistics” and “simple queue”

And it doesn’t seem to graph anything for “wireless connections” (perhaps because it’s dependent on other data…) ?


Any help?

good work!
I never used cacti, but I will try it !

Hello,

How can I define “Interface” and “BSSID” for RegTable graphs?

Someone has idea of copying the files to the directory of cacti? Requested in the instruction :confused:

regards

What do You mean? Where to copy Mikrotik template?

If You are using Debian You need to copy resources and scripts to /usr/share/cacti/site
And import template file on cacti site…

Thank you very much!. I did not know the route to give up the files.

regards :slight_smile: