Mikrotik RouterOS Statistics (Update 02/10/2009)

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

Moderators: Developers, Moderators

Post Reply
Lizzardd
Posts: 1
Joined: Wed Mar 07, 2012 1:07 am

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by Lizzardd »

Hi mojiro

Great template

I have a problem graphing my queues/data rates
+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_simple.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.14988.1.1.2.1.1.2'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_simple.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_simple.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_simple.xml'

+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_tree.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.14988.1.1.2.2.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_tree.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_tree.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/mikrotik_queue_tree.xml'

[admin@MikroTik] > queue simple print oid
Flags: X - disabled, I - invalid, D - dynamic
[admin@MikroTik] > queue tree print oid
Flags: X - disabled, I - invalid

I've read this whole post and see this was mentioned, but I did not see a solution, or at least did not understand one.

I am running OS 5.11
fernandoc83
Posts: 2
Joined: Thu May 03, 2012 11:30 am

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by fernandoc83 »

I'm having problems with simple queues, this is the only template that not work. I'm using MK 5.13 version.
I tested with 4.x routers and the simple queues are graphed ok.
I cant find newer templates than this for Cacti and Mikrotik.

Can you help me? I have not experience with Cacti before this.

Thanks!
garynorton2008
Posts: 1
Joined: Tue May 22, 2012 3:24 am

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by garynorton2008 »

It is awesome,I need this ,thank you so much . :D
slebrun
Posts: 2
Joined: Wed Jun 24, 2009 11:26 am

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by slebrun »

There seems to be something odd with mac parsing in mikrotik_wireless_interfaces.php.

Run bare, it seems to get everything just fine:
/usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1
Interfaces: Array
(
["ether1"] => 1
["ether2"] => 2
["ether3"] => 3
["ether4"] => 4
["ether5"] => 5
["ether6"] => 6
["ether7"] => 7
["ether8"] => 8
["ether9"] => 9
["pppoe-out1"] => 11
["wlan1"] => 12
["LocalBridge"] => 14
["vlan-492"] => 15
)

SSID:

CMAC: Array
(
[0] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.4.30.100.208.124.23.12
[1] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.72.96.188.35.9.24.12
[2] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.76.177.153.24.55.58.12
[3] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.104.181.153.141.50.222.12
)

Array
(
[0] => INTEGER: -64
[1] => INTEGER: -55
[2] => INTEGER: -42
[3] => INTEGER: -52
)

Interface database: Array
(
[12] => Array
(
[soid] => Array
(
[1] => 3.4.30.100.208.124.23
[2] => 3.72.96.188.35.9.24
[3] => 3.76.177.153.24.55.58
[4] => 3.104.181.153.141.50.222
)

[ifIndex] => Array
(
[1] => 00:04:1E:64:D0:7C:17
[2] => 00:48:60:BC:23:09:18
[3] => 00:4C:B1:99:18:37:3A
[4] => 00:68:B5:99:8D:32:DE
)

)

)

Try to get one of the above stats, though:

/usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInSignal 00:4C:B1:99:18:37:3A:0C debug
.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.76.177.153.24.55.58.12.
0
Extra zero in the dot dec mac address, trailing .

Take out the leading 00:
/usr/bin/php -q /usr/share/cacti/site/script/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInSignal 4C:B1:99:18:37:3A:0C debug
.1.3.6.1.4.1.14988.1.1.1.2.1.3.76.177.153.24.55.58.12.
0

Still no go.

EDIT: which is odd, as running that OID through snmpwalk works fine.
snmpget -v 1 -c public 192.168.1.1 .1.3.6.1.4.1.14988.1.1.1.2.1.3.76.177.153.24.55.58.12
iso.3.6.1.4.1.14988.1.1.1.2.1.3.76.177.153.24.55.58.12 = INTEGER: -54


From cacti logs:
05/25/2012 03:20:09 PM - CMDPHP: Poller[0] Host[2] DS[34] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifOutRate 00:68:B5:99:8D:32:DE, output: 0
05/25/2012 03:20:08 PM - CMDPHP: Poller[0] Host[2] DS[34] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInRate 00:68:B5:99:8D:32:DE, output: 0
05/25/2012 03:20:08 PM - CMDPHP: Poller[0] Host[2] DS[35] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInOctets 00:68:B5:99:8D:32:DE, output: 0
05/25/2012 03:20:07 PM - CMDPHP: Poller[0] Host[2] DS[35] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifOutOctets 00:68:B5:99:8D:32:DE, output: 0
05/25/2012 03:20:06 PM - CMDPHP: Poller[0] Host[2] DS[36] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInSignal 00:68:B5:99:8D:32:DE, output: 0
05/25/2012 03:20:06 PM - CMDPHP: Poller[0] Host[2] DS[37] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInRate 00:4C:B1:99:18:37:3A, output: 0
05/25/2012 03:20:05 PM - CMDPHP: Poller[0] Host[2] DS[37] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifOutRate 00:4C:B1:99:18:37:3A, output: 0
05/25/2012 03:20:04 PM - CMDPHP: Poller[0] Host[2] DS[38] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInOctets 00:4C:B1:99:18:37:3A, output: 0
05/25/2012 03:20:04 PM - CMDPHP: Poller[0] Host[2] DS[38] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifOutOctets 00:4C:B1:99:18:37:3A, output: 0
05/25/2012 03:20:03 PM - CMDPHP: Poller[0] Host[2] DS[39] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.1.1 get ifInSignal 00:4C:B1:99:18:37:3A, output: 0
Last edited by slebrun on Tue May 29, 2012 11:22 am, edited 1 time in total.
dt2310
Posts: 2
Joined: Mon May 28, 2012 9:23 pm

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by dt2310 »

THANKS.Now being used。
Pavouk106
Posts: 3
Joined: Mon Jul 09, 2012 4:59 am
Location: Czech Republic, Pilsen

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by Pavouk106 »

Hello,

I'm using this templates for wireless client info (signal strength and data rates). I have problem with data rates though - my graphs occcasionally has peak of 113Mbit/s. It looks like it is related to Mikrotik itself, I had this before with standard (Cacti's original) I/O templates too.

Does someone have the same problem?

And another question, much more important for me - mojiro, I'm trying to create my own scripts and templates fot ethernet thermal sensors and I have chosen your scripts to guide me through this. My work is freely inspired by yours. Are you ok with it?

I will probably post it here in the forums some day, but I'm almost at the start right now. I can't send PM, I'm newly registered.
fakrul
Posts: 1
Joined: Sat Sep 01, 2012 1:54 am

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by fakrul »

I am trying to generate graph on Mikrotik version 5.1. But using SNMP v2, only first 20 queue graphs are generated and using SNMP v1 only 3 graphs are generated. It seems existing plugins is not supported with version 5.1.

Is there any way around or new plugins?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by BSOD2600 »

Useful script, but the regtable one does not scale well to thousands of data sources...
Mackapa
Posts: 1
Joined: Mon Jan 14, 2013 1:31 pm

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by Mackapa »

Hello,

I'm using this templates for wireless client info. I have problem with Mikrotik - System - Memory Usage.
Graph shows up but have no data in it, writes only -nan...
Cacti Version 0.8.7e
Mikrotik 5.22

Does someone have the same problem?
mrdarbandy
Posts: 4
Joined: Fri Jan 25, 2013 1:55 pm

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by mrdarbandy »

Can you make any templates to draw temperature graph for a mikrotik device?
I have got the oid by "system health print oid" command but I do not know how to use this oid to make cacti draw a temperature graph!
mrdarbandy
Posts: 4
Joined: Fri Jan 25, 2013 1:55 pm

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by mrdarbandy »

mrdarbandy wrote:Can you make any templates to draw temperature graph for a mikrotik device?
I have got the oid by "system health print oid" command but I do not know how to use this oid to make cacti draw a temperature graph!
I have developed a template for mikrotik temperature on cacti.
here is my contacts:
mrdarbandy@gmail.com
luantasca
Posts: 2
Joined: Wed Jul 17, 2013 9:35 am

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by luantasca »

I need help to see clients connected to each interface!

Please, help me!
ytjohn
Posts: 1
Joined: Sat Jul 27, 2013 8:27 pm

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by ytjohn »

I've been working on getting graphs working in cacti against Ubiquiti devices. I was pleased to find something that does this over SNMP instead of relying on a script that requires me to add ssh keys or one that has the username/password and grabs the status.json file.

http://routing.explode.gr/node/199?page=22

Installed per instructions, and everything seems to work except for the one graph I want the most: number of active wireless connections.

The device's associated data queries makes it looks like it works.

Code: Select all

2) Mikrotik - Wireless - Registration Table  (Verbose Query)   Uptime Goes Backwards  Success [80 Items, 40 Rows]
The "40 Rows" corresponds exactly with the number of people connected at the time.

The script itself seems to work properly, but the values stored in rrdtool

Code: Select all

    # php mikrotik_wireless_interfaces.php public 192.168.2.34 index
    00:00:24:D2:91:90:69
    00:00:26:B0:7A:3A:D6
    ...
    00:F0:4F:7C:41:61:D0
    00:FC:25:3F:DF:C5:A4

    # php mikrotik_wireless_interfaces.php public 192.168.2.34 index | wc -l
    37
Then, the graphs display "nan" instead of the values. I checked the rrdtool file and it's being recorded as nan.

Code: Select all

    <!-- 2013-07-25 17:30:00 EDT / 1374787800 --> <row><v>NaN</v></row>
I have now reached the edge of my cacti expertise. I looked at the three xml files provided and don't understand them (all sorts of hashes) enough to try and change anything.


Finally, here is a full verbose query:

Code: Select all

+ Running data query [10].
+ Found type = '4' [Script Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/mikrotik_wireless_interfaces.xml'
+ XML file parsed ok.
+ Executing script for num of indexes '/usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.2.34 num_indexes'
+ Found number of indexes: Interfaces: Array
+ Found number of indexes: (
+ Found number of indexes: ["lo"] => 1
+ Found number of indexes: ["eth0"] => 2
+ Found number of indexes: ["eth1"] => 3
+ Found number of indexes: ["wifi0"] => 4
+ Found number of indexes: ["ath0"] => 5
+ Found number of indexes: ["br0"] => 6
+ Found number of indexes: )
+ Found number of indexes: 
+ Found number of indexes: SSID:
+ Found number of indexes: 
+ Found number of indexes: CMAC: Array
+ Found number of indexes: (
+ Found number of indexes: [0] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.0.36.210.145.144.105.5
+ Found number of indexes: [1] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.0.38.176.122.58.214.5
+ Found number of indexes: [2] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.0.39.34.40.184.247.5
+ Found number of indexes: [3] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.0.136.101.22.168.129.5
+ Found number of indexes: [4] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.0.136.101.40.3.219.5
+ Found number of indexes: [5] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.0.187.58.69.1.123.5
+ Found number of indexes: [6] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.0.198.16.164.32.243.5
+ Found number of indexes: [7] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.4.84.83.179.71.72.5
+ Found number of indexes: [8] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.16.147.233.22.61.145.5
+ Found number of indexes: [9] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.16.249.111.217.112.119.5
+ Found number of indexes: [10] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.20.218.233.198.186.66.5
+ Found number of indexes: [11] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.24.135.150.187.165.130.5
+ Found number of indexes: [12] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.32.104.157.18.156.189.5
+ Found number of indexes: [13] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.44.68.1.222.53.247.5
+ Found number of indexes: [14] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.44.180.58.157.41.235.5
+ Found number of indexes: [15] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.52.35.186.7.87.5.5
+ Found number of indexes: [16] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.52.35.186.7.88.112.5
+ Found number of indexes: [17] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.56.72.76.214.116.64.5
+ Found number of indexes: [18] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.80.164.200.81.26.209.5
+ Found number of indexes: [19] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.88.85.202.181.96.36.5
+ Found number of indexes: [20] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.92.255.53.33.225.177.5
+ Found number of indexes: [21] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.96.33.192.28.57.162.5
+ Found number of indexes: [22] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.104.148.35.27.96.31.5
+ Found number of indexes: [23] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.112.86.129.87.60.187.5
+ Found number of indexes: [24] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.120.202.57.154.13.137.5
+ Found number of indexes: [25] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.120.202.57.163.134.109.5
+ Found number of indexes: [26] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.124.250.223.208.79.147.5
+ Found number of indexes: [27] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.136.31.161.167.137.110.5
+ Found number of indexes: [28] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.140.45.170.111.223.230.5
+ Found number of indexes: [29] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.140.45.170.147.47.120.5
+ Found number of indexes: [30] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.140.88.119.225.93.171.5
+ Found number of indexes: [31] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.140.123.157.162.117.182.5
+ Found number of indexes: [32] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.140.250.186.133.81.97.5
+ Found number of indexes: [33] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.144.24.124.155.209.37.5
+ Found number of indexes: [34] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.152.184.227.179.31.22.5
+ Found number of indexes: [35] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.164.103.6.74.188.172.5
+ Found number of indexes: [36] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.176.101.189.42.194.120.5
+ Found number of indexes: [37] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.176.121.148.40.128.107.5
+ Found number of indexes: [38] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.176.196.231.238.25.2.5
+ Found number of indexes: [39] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.228.37.231.243.220.208.5
+ Found number of indexes: [40] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.232.141.40.202.163.252.5
+ Found number of indexes: [41] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.240.79.124.65.97.208.5
+ Found number of indexes: [42] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.244.241.90.162.114.199.5
+ Found number of indexes: [43] => iso.3.6.1.4.1.14988.1.1.1.2.1.3.252.37.63.223.197.164.5
+ Found number of indexes: )
+ Found number of indexes: 
+ Found number of indexes: Array
+ Found number of indexes: (
+ Found number of indexes: [0] => INTEGER: -72
+ Found number of indexes: [1] => INTEGER: -71
+ Found number of indexes: [2] => INTEGER: -67
+ Found number of indexes: [3] => INTEGER: -72
+ Found number of indexes: [4] => INTEGER: -85
+ Found number of indexes: [5] => INTEGER: -65
+ Found number of indexes: [6] => INTEGER: -78
+ Found number of indexes: [7] => INTEGER: -71
+ Found number of indexes: [8] => INTEGER: -70
+ Found number of indexes: [9] => INTEGER: -86
+ Found number of indexes: [10] => INTEGER: -71
+ Found number of indexes: [11] => INTEGER: -84
+ Found number of indexes: [12] => INTEGER: -56
+ Found number of indexes: [13] => INTEGER: -78
+ Found number of indexes: [14] => INTEGER: -79
+ Found number of indexes: [15] => INTEGER: -85
+ Found number of indexes: [16] => INTEGER: -73
+ Found number of indexes: [17] => INTEGER: -86
+ Found number of indexes: [18] => INTEGER: -62
+ Found number of indexes: [19] => INTEGER: -72
+ Found number of indexes: [20] => INTEGER: -81
+ Found number of indexes: [21] => INTEGER: -73
+ Found number of indexes: [22] => INTEGER: -71
+ Found number of indexes: [23] => INTEGER: -77
+ Found number of indexes: [24] => INTEGER: -71
+ Found number of indexes: [25] => INTEGER: -73
+ Found number of indexes: [26] => INTEGER: -86
+ Found number of indexes: [27] => INTEGER: -78
+ Found number of indexes: [28] => INTEGER: -70
+ Found number of indexes: [29] => INTEGER: -68
+ Found number of indexes: [30] => INTEGER: -80
+ Found number of indexes: [31] => INTEGER: -84
+ Found number of indexes: [32] => INTEGER: -77
+ Found number of indexes: [33] => INTEGER: -90
+ Found number of indexes: [34] => INTEGER: -58
+ Found number of indexes: [35] => INTEGER: -80
+ Found number of indexes: [36] => INTEGER: -76
+ Found number of indexes: [37] => INTEGER: -92
+ Found number of indexes: [38] => INTEGER: -91
+ Found number of indexes: [39] => INTEGER: -74
+ Found number of indexes: [40] => INTEGER: -67
+ Found number of indexes: [41] => INTEGER: -72
+ Found number of indexes: [42] => INTEGER: -81
+ Found number of indexes: [43] => INTEGER: -78
+ Found number of indexes: )
+ Found number of indexes: 
+ Found number of indexes: Interface database: Array
+ Found number of indexes: (
+ Found number of indexes: [5] => Array
+ Found number of indexes: (
+ Found number of indexes: [soid] => Array
+ Found number of indexes: (
+ Found number of indexes: [1] => 3.0.36.210.145.144.105
+ Found number of indexes: [2] => 3.0.38.176.122.58.214
+ Found number of indexes: [3] => 3.0.39.34.40.184.247
+ Found number of indexes: [4] => 3.0.136.101.22.168.129
+ Found number of indexes: [5] => 3.0.136.101.40.3.219
+ Found number of indexes: [6] => 3.0.187.58.69.1.123
+ Found number of indexes: [7] => 3.0.198.16.164.32.243
+ Found number of indexes: [8] => 3.4.84.83.179.71.72
+ Found number of indexes: [9] => 3.16.147.233.22.61.145
+ Found number of indexes: [10] => 3.16.249.111.217.112.119
+ Found number of indexes: [11] => 3.20.218.233.198.186.66
+ Found number of indexes: [12] => 3.24.135.150.187.165.130
+ Found number of indexes: [13] => 3.32.104.157.18.156.189
+ Found number of indexes: [14] => 3.44.68.1.222.53.247
+ Found number of indexes: [15] => 3.44.180.58.157.41.235
+ Found number of indexes: [16] => 3.52.35.186.7.87.5
+ Found number of indexes: [17] => 3.52.35.186.7.88.112
+ Found number of indexes: [18] => 3.56.72.76.214.116.64
+ Found number of indexes: [19] => 3.80.164.200.81.26.209
+ Found number of indexes: [20] => 3.88.85.202.181.96.36
+ Found number of indexes: [21] => 3.92.255.53.33.225.177
+ Found number of indexes: [22] => 3.96.33.192.28.57.162
+ Found number of indexes: [23] => 3.104.148.35.27.96.31
+ Found number of indexes: [24] => 3.112.86.129.87.60.187
+ Found number of indexes: [25] => 3.120.202.57.154.13.137
+ Found number of indexes: [26] => 3.120.202.57.163.134.109
+ Found number of indexes: [27] => 3.124.250.223.208.79.147
+ Found number of indexes: [28] => 3.136.31.161.167.137.110
+ Found number of indexes: [29] => 3.140.45.170.111.223.230
+ Found number of indexes: [30] => 3.140.45.170.147.47.120
+ Found number of indexes: [31] => 3.140.88.119.225.93.171
+ Found number of indexes: [32] => 3.140.123.157.162.117.182
+ Found number of indexes: [33] => 3.140.250.186.133.81.97
+ Found number of indexes: [34] => 3.144.24.124.155.209.37
+ Found number of indexes: [35] => 3.152.184.227.179.31.22
+ Found number of indexes: [36] => 3.164.103.6.74.188.172
+ Found number of indexes: [37] => 3.176.101.189.42.194.120
+ Found number of indexes: [38] => 3.176.121.148.40.128.107
+ Found number of indexes: [39] => 3.176.196.231.238.25.2
+ Found number of indexes: [40] => 3.228.37.231.243.220.208
+ Found number of indexes: [41] => 3.232.141.40.202.163.252
+ Found number of indexes: [42] => 3.240.79.124.65.97.208
+ Found number of indexes: [43] => 3.244.241.90.162.114.199
+ Found number of indexes: [44] => 3.252.37.63.223.197.164
+ Found number of indexes: )
+ Found number of indexes: 
+ Found number of indexes: [ifIndex] => Array
+ Found number of indexes: (
+ Found number of indexes: [1] => 00:00:24:D2:91:90:69
+ Found number of indexes: [2] => 00:00:26:B0:7A:3A:D6
+ Found number of indexes: [3] => 00:00:27:22:28:B8:F7
+ Found number of indexes: [4] => 00:00:88:65:16:A8:81
+ Found number of indexes: [5] => 00:00:88:65:28:03:DB
+ Found number of indexes: [6] => 00:00:BB:3A:45:01:7B
+ Found number of indexes: [7] => 00:00:C6:10:A4:20:F3
+ Found number of indexes: [8] => 00:04:54:53:B3:47:48
+ Found number of indexes: [9] => 00:10:93:E9:16:3D:91
+ Found number of indexes: [10] => 00:10:F9:6F:D9:70:77
+ Found number of indexes: [11] => 00:14:DA:E9:C6:BA:42
+ Found number of indexes: [12] => 00:18:87:96:BB:A5:82
+ Found number of indexes: [13] => 00:20:68:9D:12:9C:BD
+ Found number of indexes: [14] => 00:2C:44:01:DE:35:F7
+ Found number of indexes: [15] => 00:2C:B4:3A:9D:29:EB
+ Found number of indexes: [16] => 00:34:23:BA:07:57:05
+ Found number of indexes: [17] => 00:34:23:BA:07:58:70
+ Found number of indexes: [18] => 00:38:48:4C:D6:74:40
+ Found number of indexes: [19] => 00:50:A4:C8:51:1A:D1
+ Found number of indexes: [20] => 00:58:55:CA:B5:60:24
+ Found number of indexes: [21] => 00:5C:FF:35:21:E1:B1
+ Found number of indexes: [22] => 00:60:21:C0:1C:39:A2
+ Found number of indexes: [23] => 00:68:94:23:1B:60:1F
+ Found number of indexes: [24] => 00:70:56:81:57:3C:BB
+ Found number of indexes: [25] => 00:78:CA:39:9A:0D:89
+ Found number of indexes: [26] => 00:78:CA:39:A3:86:6D
+ Found number of indexes: [27] => 00:7C:FA:DF:D0:4F:93
+ Found number of indexes: [28] => 00:88:1F:A1:A7:89:6E
+ Found number of indexes: [29] => 00:8C:2D:AA:6F:DF:E6
+ Found number of indexes: [30] => 00:8C:2D:AA:93:2F:78
+ Found number of indexes: [31] => 00:8C:58:77:E1:5D:AB
+ Found number of indexes: [32] => 00:8C:7B:9D:A2:75:B6
+ Found number of indexes: [33] => 00:8C:FA:BA:85:51:61
+ Found number of indexes: [34] => 00:90:18:7C:9B:D1:25
+ Found number of indexes: [35] => 00:98:B8:E3:B3:1F:16
+ Found number of indexes: [36] => 00:A4:67:06:4A:BC:AC
+ Found number of indexes: [37] => 00:B0:65:BD:2A:C2:78
+ Found number of indexes: [38] => 00:B0:79:94:28:80:6B
+ Found number of indexes: [39] => 00:B0:C4:E7:EE:19:02
+ Found number of indexes: [40] => 00:E4:25:E7:F3:DC:D0
+ Found number of indexes: [41] => 00:E8:8D:28:CA:A3:FC
+ Found number of indexes: [42] => 00:F0:4F:7C:41:61:D0
+ Found number of indexes: [43] => 00:F4:F1:5A:A2:72:C7
+ Found number of indexes: [44] => 00:FC:25:3F:DF:C5:A4
+ Found number of indexes: )
+ Found number of indexes: 
+ Found number of indexes: )
+ Found number of indexes: 
+ Found number of indexes: )
+ Executing script for list of indexes '/usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.2.34 index' Index Count: 44
+ Found index: 00:00:24:D2:91:90:69
+ Found index: 00:00:26:B0:7A:3A:D6
+ Found index: 00:00:27:22:28:B8:F7
+ Found index: 00:00:88:65:16:A8:81
+ Found index: 00:00:88:65:28:03:DB
+ Found index: 00:00:BB:3A:45:01:7B
+ Found index: 00:00:C6:10:A4:20:F3
+ Found index: 00:04:54:53:B3:47:48
+ Found index: 00:10:93:E9:16:3D:91
+ Found index: 00:10:F9:6F:D9:70:77
+ Found index: 00:14:DA:E9:C6:BA:42
+ Found index: 00:18:87:96:BB:A5:82
+ Found index: 00:20:68:9D:12:9C:BD
+ Found index: 00:2C:44:01:DE:35:F7
+ Found index: 00:2C:B4:3A:9D:29:EB
+ Found index: 00:34:23:BA:07:57:05
+ Found index: 00:34:23:BA:07:58:70
+ Found index: 00:38:48:4C:D6:74:40
+ Found index: 00:50:A4:C8:51:1A:D1
+ Found index: 00:58:55:CA:B5:60:24
+ Found index: 00:5C:FF:35:21:E1:B1
+ Found index: 00:60:21:C0:1C:39:A2
+ Found index: 00:68:94:23:1B:60:1F
+ Found index: 00:70:56:81:57:3C:BB
+ Found index: 00:78:CA:39:9A:0D:89
+ Found index: 00:78:CA:39:A3:86:6D
+ Found index: 00:7C:FA:DF:D0:4F:93
+ Found index: 00:88:1F:A1:A7:89:6E
+ Found index: 00:8C:2D:AA:6F:DF:E6
+ Found index: 00:8C:2D:AA:93:2F:78
+ Found index: 00:8C:58:77:E1:5D:AB
+ Found index: 00:8C:7B:9D:A2:75:B6
+ Found index: 00:8C:FA:BA:85:51:61
+ Found index: 00:90:18:7C:9B:D1:25
+ Found index: 00:98:B8:E3:B3:1F:16
+ Found index: 00:A4:67:06:4A:BC:AC
+ Found index: 00:B0:65:BD:2A:C2:78
+ Found index: 00:B0:79:94:28:80:6B
+ Found index: 00:B0:C4:E7:EE:19:02
+ Found index: 00:E4:25:E7:F3:DC:D0
+ Found index: 00:E8:8D:28:CA:A3:FC
+ Found index: 00:F0:4F:7C:41:61:D0
+ Found index: 00:F4:F1:5A:A2:72:C7
+ Found index: 00:FC:25:3F:DF:C5:A4
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.2.34 query ifName'
+ Found item [ifName='"ath0"'] index: 00:00:24:D2:91:90:69
+ Found item [ifName='"ath0"'] index: 00:00:26:B0:7A:3A:D6
+ Found item [ifName='"ath0"'] index: 00:00:27:22:28:B8:F7
+ Found item [ifName='"ath0"'] index: 00:00:88:65:16:A8:81
+ Found item [ifName='"ath0"'] index: 00:00:88:65:28:03:DB
+ Found item [ifName='"ath0"'] index: 00:00:BB:3A:45:01:7B
+ Found item [ifName='"ath0"'] index: 00:00:C6:10:A4:20:F3
+ Found item [ifName='"ath0"'] index: 00:04:54:53:B3:47:48
+ Found item [ifName='"ath0"'] index: 00:10:93:E9:16:3D:91
+ Found item [ifName='"ath0"'] index: 00:10:F9:6F:D9:70:77
+ Found item [ifName='"ath0"'] index: 00:14:DA:E9:C6:BA:42
+ Found item [ifName='"ath0"'] index: 00:18:87:96:BB:A5:82
+ Found item [ifName='"ath0"'] index: 00:20:68:9D:12:9C:BD
+ Found item [ifName='"ath0"'] index: 00:2C:44:01:DE:35:F7
+ Found item [ifName='"ath0"'] index: 00:2C:B4:3A:9D:29:EB
+ Found item [ifName='"ath0"'] index: 00:34:23:BA:07:57:05
+ Found item [ifName='"ath0"'] index: 00:34:23:BA:07:58:70
+ Found item [ifName='"ath0"'] index: 00:38:48:4C:D6:74:40
+ Found item [ifName='"ath0"'] index: 00:50:A4:C8:51:1A:D1
+ Found item [ifName='"ath0"'] index: 00:58:55:CA:B5:60:24
+ Found item [ifName='"ath0"'] index: 00:5C:FF:35:21:E1:B1
+ Found item [ifName='"ath0"'] index: 00:60:21:C0:1C:39:A2
+ Found item [ifName='"ath0"'] index: 00:68:94:23:1B:60:1F
+ Found item [ifName='"ath0"'] index: 00:70:56:81:57:3C:BB
+ Found item [ifName='"ath0"'] index: 00:78:CA:39:9A:0D:89
+ Found item [ifName='"ath0"'] index: 00:78:CA:39:A3:86:6D
+ Found item [ifName='"ath0"'] index: 00:7C:FA:DF:D0:4F:93
+ Found item [ifName='"ath0"'] index: 00:88:1F:A1:A7:89:6E
+ Found item [ifName='"ath0"'] index: 00:8C:2D:AA:6F:DF:E6
+ Found item [ifName='"ath0"'] index: 00:8C:2D:AA:93:2F:78
+ Found item [ifName='"ath0"'] index: 00:8C:58:77:E1:5D:AB
+ Found item [ifName='"ath0"'] index: 00:8C:7B:9D:A2:75:B6
+ Found item [ifName='"ath0"'] index: 00:8C:FA:BA:85:51:61
+ Found item [ifName='"ath0"'] index: 00:90:18:7C:9B:D1:25
+ Found item [ifName='"ath0"'] index: 00:98:B8:E3:B3:1F:16
+ Found item [ifName='"ath0"'] index: 00:A4:67:06:4A:BC:AC
+ Found item [ifName='"ath0"'] index: 00:B0:65:BD:2A:C2:78
+ Found item [ifName='"ath0"'] index: 00:B0:79:94:28:80:6B
+ Found item [ifName='"ath0"'] index: 00:B0:C4:E7:EE:19:02
+ Found item [ifName='"ath0"'] index: 00:E4:25:E7:F3:DC:D0
+ Found item [ifName='"ath0"'] index: 00:E8:8D:28:CA:A3:FC
+ Found item [ifName='"ath0"'] index: 00:F0:4F:7C:41:61:D0
+ Found item [ifName='"ath0"'] index: 00:F4:F1:5A:A2:72:C7
+ Found item [ifName='"ath0"'] index: 00:FC:25:3F:DF:C5:A4
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php public 192.168.2.34 query ifIndex'
+ Found item [ifIndex='00:00:24:D2:91:90:69'] index: 00:00:24:D2:91:90:69
+ Found item [ifIndex='00:00:26:B0:7A:3A:D6'] index: 00:00:26:B0:7A:3A:D6
+ Found item [ifIndex='00:00:27:22:28:B8:F7'] index: 00:00:27:22:28:B8:F7
+ Found item [ifIndex='00:00:88:65:16:A8:81'] index: 00:00:88:65:16:A8:81
+ Found item [ifIndex='00:00:88:65:28:03:DB'] index: 00:00:88:65:28:03:DB
+ Found item [ifIndex='00:00:BB:3A:45:01:7B'] index: 00:00:BB:3A:45:01:7B
+ Found item [ifIndex='00:00:C6:10:A4:20:F3'] index: 00:00:C6:10:A4:20:F3
+ Found item [ifIndex='00:04:54:53:B3:47:48'] index: 00:04:54:53:B3:47:48
+ Found item [ifIndex='00:10:93:E9:16:3D:91'] index: 00:10:93:E9:16:3D:91
+ Found item [ifIndex='00:10:F9:6F:D9:70:77'] index: 00:10:F9:6F:D9:70:77
+ Found item [ifIndex='00:14:DA:E9:C6:BA:42'] index: 00:14:DA:E9:C6:BA:42
+ Found item [ifIndex='00:18:87:96:BB:A5:82'] index: 00:18:87:96:BB:A5:82
+ Found item [ifIndex='00:20:68:9D:12:9C:BD'] index: 00:20:68:9D:12:9C:BD
+ Found item [ifIndex='00:2C:44:01:DE:35:F7'] index: 00:2C:44:01:DE:35:F7
+ Found item [ifIndex='00:2C:B4:3A:9D:29:EB'] index: 00:2C:B4:3A:9D:29:EB
+ Found item [ifIndex='00:34:23:BA:07:57:05'] index: 00:34:23:BA:07:57:05
+ Found item [ifIndex='00:34:23:BA:07:58:70'] index: 00:34:23:BA:07:58:70
+ Found item [ifIndex='00:38:48:4C:D6:74:40'] index: 00:38:48:4C:D6:74:40
+ Found item [ifIndex='00:50:A4:C8:51:1A:D1'] index: 00:50:A4:C8:51:1A:D1
+ Found item [ifIndex='00:58:55:CA:B5:60:24'] index: 00:58:55:CA:B5:60:24
+ Found item [ifIndex='00:5C:FF:35:21:E1:B1'] index: 00:5C:FF:35:21:E1:B1
+ Found item [ifIndex='00:60:21:C0:1C:39:A2'] index: 00:60:21:C0:1C:39:A2
+ Found item [ifIndex='00:68:94:23:1B:60:1F'] index: 00:68:94:23:1B:60:1F
+ Found item [ifIndex='00:70:56:81:57:3C:BB'] index: 00:70:56:81:57:3C:BB
+ Found item [ifIndex='00:78:CA:39:9A:0D:89'] index: 00:78:CA:39:9A:0D:89
+ Found item [ifIndex='00:78:CA:39:A3:86:6D'] index: 00:78:CA:39:A3:86:6D
+ Found item [ifIndex='00:7C:FA:DF:D0:4F:93'] index: 00:7C:FA:DF:D0:4F:93
+ Found item [ifIndex='00:88:1F:A1:A7:89:6E'] index: 00:88:1F:A1:A7:89:6E
+ Found item [ifIndex='00:8C:2D:AA:6F:DF:E6'] index: 00:8C:2D:AA:6F:DF:E6
+ Found item [ifIndex='00:8C:2D:AA:93:2F:78'] index: 00:8C:2D:AA:93:2F:78
+ Found item [ifIndex='00:8C:58:77:E1:5D:AB'] index: 00:8C:58:77:E1:5D:AB
+ Found item [ifIndex='00:8C:7B:9D:A2:75:B6'] index: 00:8C:7B:9D:A2:75:B6
+ Found item [ifIndex='00:8C:FA:BA:85:51:61'] index: 00:8C:FA:BA:85:51:61
+ Found item [ifIndex='00:90:18:7C:9B:D1:25'] index: 00:90:18:7C:9B:D1:25
+ Found item [ifIndex='00:98:B8:E3:B3:1F:16'] index: 00:98:B8:E3:B3:1F:16
+ Found item [ifIndex='00:A4:67:06:4A:BC:AC'] index: 00:A4:67:06:4A:BC:AC
+ Found item [ifIndex='00:B0:65:BD:2A:C2:78'] index: 00:B0:65:BD:2A:C2:78
+ Found item [ifIndex='00:B0:79:94:28:80:6B'] index: 00:B0:79:94:28:80:6B
+ Found item [ifIndex='00:B0:C4:E7:EE:19:02'] index: 00:B0:C4:E7:EE:19:02
+ Found item [ifIndex='00:E4:25:E7:F3:DC:D0'] index: 00:E4:25:E7:F3:DC:D0
+ Found item [ifIndex='00:E8:8D:28:CA:A3:FC'] index: 00:E8:8D:28:CA:A3:FC
+ Found item [ifIndex='00:F0:4F:7C:41:61:D0'] index: 00:F0:4F:7C:41:61:D0
+ Found item [ifIndex='00:F4:F1:5A:A2:72:C7'] index: 00:F4:F1:5A:A2:72:C7
+ Found item [ifIndex='00:FC:25:3F:DF:C5:A4'] index: 00:FC:25:3F:DF:C5:A4
kellogs
Posts: 2
Joined: Mon Sep 16, 2013 10:12 am

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by kellogs »

I have tried to use this templates but the queue tree reading was wrong.

For example customer pipe is doing 12Mbps but it is showing 12.Mbps only.

Is there anyone fixes or has new templates for cacti 0.8a?

I am willing to pay for this service.
User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

Re: Mikrotik RouterOS Statistics (Update 02/10/2009)

Post by mojiro »

Dear users of my scripts/templates/etc.

I have to tell you that I was extremely busy the last year.
Fortunately in about two months, I will came back updating these scripts.

Thank you for your comments I will read them all.
If you have any suggestions please comment :)

Expect rework on Mikrotik & Ubiquity devices.
Also TP-Link devices are on plan, since they are very popular.
[i]Born to be online![/i]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests