Community discussions

MikroTik App
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

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

Fri Jan 18, 2008 9:46 pm

Mikrotik RouterOS Statistics (Update 02/10/2009)
http://forums.cacti.net/viewtopic.php?t=25349
One year after my last post in this forum I come back with lots of graphs that have to do with Mikrotik RouterOs. Many of them are based on older templates of mine. A lot of new work has been based on Marlow's work with Wireless Registration Tables and Queues.


Cacti Version: cacti-0.8.7c
RouterOs Version: 2.9.x & 3.0.x



Graph Support For:
  • System
    HDD
    CPU
    Memory
    Uptime

    General
    Active PPP Connections
    Number of Routes
    Number of Active Wireless Connections (Linux Only)
    Number of Current ARP Entries (Linux Only)

    Wireless Registration Tables (per Wireless Client)
    Signal Strength
    Data Rates
    Packets
    Traffic (bits and Bytes)

    Wireless Client
    Signal Strength
    Data Rates
    Frequency 802.11b/g
    Frequency 802.11a

    Queues
    Simple Packets
    Simple Traffic (bits and Bytes)
    Tree Packets
    Tree Traffic (bits and Bytes)
Installation:
A. Unzip somewhere the attachment (mikrotik-20090210.zip)
B. Copy:
  • 1. zipdir/scripts/mikrotik_wireless_interfaces.php -> cacti-web-dir/scripts/mikrotik_wireless_interfaces.php
    2. zipdir/scripts/mikrotik_ppp_connections.php -> cacti-web-dir/scripts/mikrotik_ppp_connections.php
    3. zipdir/resources/script_server/mikrotik_wireless_interfaces.xml -> cacti-web-dir/resources/script_server/mikrotik_wireless_interfaces.xml
    4. zipdir/resources/snmp_queries/mikrotik_queue_simple.xml -> cacti-web-dir/resources/snmp_queries/mikrotik_queue_simple.xml
    5. zipdir/resources/snmp_queries/mikrotik_queue_tree.xml -> cacti-web-dir/resources/snmp_queries/mikrotik_queue_tree.xml
    6. zipdir/resources/snmp_queries/mikrotik_wireless_client.xml -> cacti-web-dir/resources/snmp_queries/mikrotik_wireless_client.xml
C. Import zipdir/templates/cacti_host_template_mikrotik.xml -> http://cacti.url.path/templates_import.php
D. Now just Add a New Device and select "Mikrotik" on Host Template


Notes:
The Mikrotik Host Template contains all of its dependencies, like Interface Statistics
All new templates have nothing to do with older. Are totally incompatible.


Changelog:
* fixes on old templates of mine
* template variable names corrected to follow cacti naming style
* added support for Marlow's work on wireless registration tables
* added more graphs for wireless registration tables
* added support for Arci's work on Queue Trees
* added more graphs for Queue Trees
* added graphs for Simple Queue
* added graphs for Routes & Active PPP Connections


Templates are based on:

Development, Cacti Templates
http://doc.thewan.net/wiki/index.php/Development

Mikrotik SNMP Queue Tree Monitor
http://forums.cacti.net/viewtopic.php?t=10373

Mikrotik RouterOS Statistics (Update 01/21/2006)
http://forums.cacti.net/viewtopic.php?t=8855

Mikrotik RouterOS Registration Tables (Update 11/21/2006)
http://forums.cacti.net/viewtopic.php?t=17936
You do not have the required permissions to view the files attached to this post.
Last edited by mojiro on Tue Nov 19, 2013 7:32 pm, edited 2 times in total.
 
rpingar
Long time Member
Long time Member
Posts: 593
Joined: Fri May 28, 2004 2:46 pm
Location: Italy

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Jan 18, 2008 9:55 pm

I am using an your old script.
Do you support the turbo wireless rate of 96 and 108?

Regards
Ros
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Jan 18, 2008 10:28 pm

I am using an your old script.
Do you support the turbo wireless rate of 96 and 108?

Regards
Ros
:shock: where are that ?
I have seen no option like that until now!

What kind of hardware/software do you have ?

Is it possible to provide me read access to your mikrotik router that has 96 & 108 mbps data rate ?
 
User avatar
archon
newbie
Posts: 28
Joined: Thu Oct 05, 2006 12:22 pm
Location: Warsaw

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Jan 30, 2008 12:22 am

Hi
I have installed package on my cacti but it doesn't want to cooperate :(
When i have added a host, Cacti displayed:

Image

Nothing but SNMP Interface Statistics. Of course on MT there are some Queues (simple and tree) and some wireless clients so anything should be displayyed in Cacti.

When i tryed to create a Data Sources for the same host:

Image

Any ideas what's wrong?
Cacti Version 0.8.7a
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Jan 30, 2008 11:07 am

please click "verbose query" at device's page and paste here the debug output
 
User avatar
archon
newbie
Posts: 28
Joined: Thu Oct 05, 2006 12:22 pm
Location: Warsaw

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Jan 30, 2008 11:57 am

The problem was one missing file from template. Now queues and wireless client are OK, but registration table still not. When i run the querry manually it returns nothing, but snmpwalk -c cacti -v 1 1.2.3.4 .1.3.6.1.4.1.14988.1.1.1.2.1 returned correct data:
SNMPv2-SMI::enterprises.14988.1.1.1.2.1.3.0.14.142.18.92.237.4 = INTEGER: -75
SNMPv2-SMI::enterprises.14988.1.1.1.2.1.4.0.14.142.18.92.237.4 = Counter32: 240537599
SNMPv2-SMI::enterprises.14988.1.1.1.2.1.5.0.14.142.18.92.237.4 = Counter32: 643650557
SNMPv2-SMI::enterprises.14988.1.1.1.2.1.6.0.14.142.18.92.237.4 = Counter32: 2561441824
SNMPv2-SMI::enterprises.14988.1.1.1.2.1.7.0.14.142.18.92.237.4 = Counter32: 2271450573
SNMPv2-SMI::enterprises.14988.1.1.1.2.1.8.0.14.142.18.92.237.4 = Gauge32: 36000000
SNMPv2-SMI::enterprises.14988.1.1.1.2.1.9.0.14.142.18.92.237.4 = Gauge32: 36000000
Data Query Debug Information
+ 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 list of indexes 'php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php cacti 1.2.3.4 index'
+ Executing script query 'php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php cacti 1.2.3.4 query ifName'
+ Executing script query 'php -q /usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php cacti 1.2.3.4 query ifIndex'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/mikrotik_wireless_interfaces.xml'
4) Mikrotik - Wireless - Registration Table (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Jan 30, 2008 2:06 pm

Replace the mikrotik_wireless_interfaces.php with the attached... and tell me if you saw any difference.

I have found some problems with old versions of Mikrotik. What version do you have ?
You do not have the required permissions to view the files attached to this post.
 
User avatar
archon
newbie
Posts: 28
Joined: Thu Oct 05, 2006 12:22 pm
Location: Warsaw

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Jan 31, 2008 2:19 pm

Hi
I have replaced the file but it made no differences. :(
I can give You access to my Cacti and server, please contact me for details.
MikroTik versions: 2.9.29, 2.9.49, 3.0 (x86 and mips)
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Jan 31, 2008 8:43 pm

Hi
I have replaced the file but it made no differences. :(
I can give You access to my Cacti and server, please contact me for details.
MikroTik versions: 2.9.29, 2.9.49, 3.0 (x86 and mips)
you have mail
 
User avatar
archon
newbie
Posts: 28
Joined: Thu Oct 05, 2006 12:22 pm
Location: Warsaw

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Feb 06, 2008 4:16 pm

Hello,
Have You managed to find the source of problem with template?
Regards
 
eekamouse
just joined
Posts: 11
Joined: Wed Mar 21, 2007 6:53 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Feb 20, 2008 3:10 pm

hi,

thanks a lot for this great job, i was using your old version templates and i switched to these new ones because of the registration table and ppp active templates. It seems to work properly but i was expecting something else with the registration table, a template which could graph the number of stations connected to the AP ( or could be sorted by wlan interfaces) . Is there any way to do that? I don't see any oid which could give the number of stations registered.

regards
 
ceslick
just joined
Posts: 9
Joined: Tue Dec 04, 2007 9:02 am

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sun Mar 30, 2008 8:34 pm

Thanks for this, looks good, but does anyone have the template for versoin 0.8.6j?
 
User avatar
dansoftware
just joined
Posts: 24
Joined: Tue Nov 27, 2007 1:21 pm
Location: Bryanskaya oblast', Russia
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Apr 08, 2008 12:37 pm

The problem was one missing file from template. Now queues and wireless client are OK, but registration table still not. When i run the querry manually it returns nothing, but snmpwalk -c cacti -v 1 1.2.3.4 .1.3.6.1.4.1.14988.1.1.1.2.1
I have the same problem on MikroTik RouterOS 3.6 + RouterBOARD 333 with exact symptoms. Is there any solution?
Last edited by dansoftware on Wed Apr 09, 2008 9:12 am, edited 1 time in total.
 
User avatar
archon
newbie
Posts: 28
Joined: Thu Oct 05, 2006 12:22 pm
Location: Warsaw

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Apr 08, 2008 5:51 pm

Try switching from "Ping and SNMP" to "SNMP" in "Downed Device Detection" in Devices section.
 
User avatar
dansoftware
just joined
Posts: 24
Joined: Tue Nov 27, 2007 1:21 pm
Location: Bryanskaya oblast', Russia
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Apr 09, 2008 9:13 am

The problem was one missing file from template. Now queues and wireless client are OK, but registration table still not. When i run the querry manually it returns nothing, but snmpwalk -c cacti -v 1 1.2.3.4 .1.3.6.1.4.1.14988.1.1.1.2.1
I have the same problem on MikroTik RouterOS 3.6 + RouterBOARD 333 with exact symptoms. Is there any solution?
Solution is simple. PHP was built without SNMP support. That’s why "/usr/share/cacti/site/scripts/mikrotik_wireless_interfaces.php" didn’t work.
Data Query Debug Information 
 
+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /usr/local/cacti/scripts/mikrotik_wireless_interfaces.php cacti 10.1.0.2 index'
+ Executing script query '/usr/bin/php -q /usr/local/cacti/scripts/mikrotik_wireless_interfaces.php cacti 10.1.0.2 query ifName'
+ Found item [ifName='wlan1:1'] index: 00:0B:6B:57:47:61
+ Found item [ifName='wlan1:2'] index: 00:0B:6B:57:47:12
+ Found item [ifName='wlan1:4'] index: 00:0B:6B:57:43:EB
+ Executing script query '/usr/bin/php -q /usr/local/cacti/scripts/mikrotik_wireless_interfaces.php cacti 10.1.0.2 query ifIndex'
+ Found item [ifIndex='00:0B:6B:57:47:61'] index: 00:0B:6B:57:47:61
+ Found item [ifIndex='00:0B:6B:57:47:12'] index: 00:0B:6B:57:47:12
+ Found item [ifIndex='00:0B:6B:57:43:EB'] index: 00:0B:6B:57:43:EB
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
+ Found data query XML file at '/usr/local/cacti/resource/script_server/mikrotik_wireless_interfaces.xml'
Mikrotik - Wireless - Registration Table  (Verbose Query)  Uptime Goes Backwards  Success [6 Items, 3 Rows]
 
zoga08
just joined
Posts: 1
Joined: Mon Jun 04, 2007 3:45 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu May 15, 2008 8:43 pm

Hi, this thread is alive ?

Even after i install the extensions for SNMP to PHP, i cant gather information from registration table.

But, what i'm really looking for, is to show in graphs the number of registered clients.

Anyone know anything about this?

if anyone wants to talk about this:
email: rsferreira@vipway.com.br
msn: zoga_08@hotmail.com
 
hugleo
newbie
Posts: 33
Joined: Wed Aug 06, 2008 8:20 am

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Aug 06, 2008 8:23 am

Unfortunately no.

:(

I'm needing too.
 
EvilUncleEdd
just joined
Posts: 1
Joined: Wed Dec 24, 2008 12:28 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Dec 25, 2008 1:26 pm

Hey. Uhm, I was fiddling, and I set SNMP to vversion 1, and It suddenly worked... Dunno if it will work for you guys.

Regards

Your EvilUncleEdd
 
REDTDI
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Fri May 28, 2004 9:41 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Jan 08, 2009 11:42 pm

Hi Mojiro:

Are these scripts the most current available? What version of Cacti do you recommend for running these scripts on? Will 0.8.7b work correctly?

Thanks,
Ken
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Jan 08, 2009 11:57 pm

Hi Mojiro:

Are these scripts the most current available? What version of Cacti do you recommend for running these scripts on? Will 0.8.7b work correctly?

Thanks,
Ken
Yes, it will run just fine! Let me know if you notice any problems.
 
REDTDI
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Fri May 28, 2004 9:41 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Jan 16, 2009 9:35 pm

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
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sat Jan 17, 2009 3:58 pm

I already have Queues in Bits and is named: Mikrotik - Queue - Simple Traffic (bits/sec, Total Bandwidth).
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Feb 10, 2009 3:35 am

Bump!

I have updated the template. Check the first post.
 
mknnoc
Trainer
Trainer
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Feb 11, 2009 8:57 am

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. :( 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.
You do not have the required permissions to view the files attached to this post.
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Feb 11, 2009 10:51 am

are you monitoring byte per second instead of bit per second?
 
mknnoc
Trainer
Trainer
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Feb 11, 2009 12:15 pm

i got it. thanks :lol:
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Feb 11, 2009 12:22 pm

are you monitoring byte per second instead of bit per second?
yesss: on the left of first picture: 'Bytes per second'

20 Mbps ~ 2,4 MiBps
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Feb 12, 2009 12:47 am

By the way, can we monitor each queue tree leaf by Traffic? if monitor by packet, it would be difficult for monitoring.
ehm... what do you mean? If you monitor the top level of a tree, then you get all the traffic.

I cannot understand.
 
mknnoc
Trainer
Trainer
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Feb 12, 2009 3:45 am

mojiro, i mean can we monitor on queue child of the queue tree both by packet and traffic(Byte)?
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Feb 12, 2009 7:56 am

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.
 
mknnoc
Trainer
Trainer
Posts: 229
Joined: Thu Feb 28, 2008 6:40 am
Location: cambodia

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Feb 12, 2009 8:50 am

Great!! Thanks
 
Znuff
Member Candidate
Member Candidate
Posts: 141
Joined: Tue Sep 26, 2006 2:42 am
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed May 27, 2009 8:16 pm

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

I get weird values.
You do not have the required permissions to view the files attached to this post.
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri May 29, 2009 9:16 am

what do you mean `weird` ?
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri May 29, 2009 9:26 am

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.
 
JHughes
just joined
Posts: 16
Joined: Tue Mar 03, 2009 5:54 am

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Jun 03, 2009 12:59 am

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?
 
User avatar
mac86
Member Candidate
Member Candidate
Posts: 124
Joined: Sat Nov 25, 2006 12:52 am
Location: bahia blanca - argentina
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Jun 05, 2009 2:39 pm

good work!
I never used cacti, but I will try it !
 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 196
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Aug 21, 2009 1:59 pm

Hello,

How can I define "Interface" and "BSSID" for RegTable graphs?
 
User avatar
chapex
Member Candidate
Member Candidate
Posts: 138
Joined: Wed May 30, 2007 1:23 am
Location: Patagónia Argentina
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Aug 21, 2009 9:41 pm

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

regards
 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 196
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Aug 21, 2009 10:13 pm

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

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...
 
User avatar
chapex
Member Candidate
Member Candidate
Posts: 138
Joined: Wed May 30, 2007 1:23 am
Location: Patagónia Argentina
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sat Aug 22, 2009 4:46 am

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

regards :)
 
dwilko
just joined
Posts: 2
Joined: Tue Aug 25, 2009 11:04 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Aug 25, 2009 11:22 pm

Hi

Has anyone got this working with RouterOS 4.0beta4 or is able to help me get this working on 4.0beta4?

I have imported the templates and added the device to cacti
but the SNMP query only shows 2 items for Mikrotik - Wireless - Registration Table
Data Query Name Debugging Re-Index Method Status 
1) Mikrotik - Queue - Simple  (Verbose Query)  Uptime Goes Backwards  Success [0 Items, 0 Rows]      
2) Mikrotik - Queue - Tree  (Verbose Query)  Uptime Goes Backwards  Success [0 Items, 0 Rows]      
3) Mikrotik - Wireless - Client  (Verbose Query)  Uptime Goes Backwards  Success [0 Items, 0 Rows]      
4) Mikrotik - Wireless - Registration Table  (Verbose Query)  Uptime Goes Backwards  Success [2 Items, 1 Row]      
5) SNMP - Interface Statistics  (Verbose Query)  Uptime Goes Backwards  Success [0 Items, 0 Rows]  

Regards

David
 
dwilko
just joined
Posts: 2
Joined: Tue Aug 25, 2009 11:04 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Thu Aug 27, 2009 1:52 am

Never mind, got the graph's working, was me been silly forgetting how to use cacti :|

Still the device page still says what it did above
 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 196
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sat Sep 05, 2009 1:12 pm

Hello,

Can You add support for Health - Voltage and Temperature?

active-fan: .1.3.6.1.4.1.14988.1.1.3.9.0
voltage: .1.3.6.1.4.1.14988.1.1.3.8.0
 
User avatar
chapex
Member Candidate
Member Candidate
Posts: 138
Joined: Wed May 30, 2007 1:23 am
Location: Patagónia Argentina
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sat Sep 05, 2009 7:30 pm

Hello,

Can You add support for Health - Voltage and Temperature?

active-fan: .1.3.6.1.4.1.14988.1.1.3.9.0
voltage: .1.3.6.1.4.1.14988.1.1.3.8.0
post it in "routeros beta", feature request. :)

regards
 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 196
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sat Sep 05, 2009 8:16 pm

Hello,

Can You add support for Health - Voltage and Temperature?

active-fan: .1.3.6.1.4.1.14988.1.1.3.9.0
voltage: .1.3.6.1.4.1.14988.1.1.3.8.0
post it in "routeros beta", feature request. :)

regards
This oids are implemented in ROS, but I need CACTI template for this oids :)
 
User avatar
chapex
Member Candidate
Member Candidate
Posts: 138
Joined: Wed May 30, 2007 1:23 am
Location: Patagónia Argentina
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sat Sep 05, 2009 8:49 pm

 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 196
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Sat Sep 05, 2009 9:11 pm

There is no template for ROS Health...
 
User avatar
marlow
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Mar 16, 2006 6:59 pm
Location: Ireland

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Oct 16, 2009 2:26 pm

Nice work here.

/Marlow
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Oct 27, 2009 11:51 pm

i get an error when i import the templets can anyone tell me why


Error: XML: Hash version does not exist.


i have cacti 0.78b if im 100% right please help
 
bakkerl
just joined
Posts: 16
Joined: Tue Aug 25, 2009 12:14 am

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 03, 2009 11:06 pm

i get an error when i import the templets can anyone tell me why
Error: XML: Hash version does not exist.
i have cacti 0.78b if im 100% right please help
The templates are created with a newer version of cacti than you are using.
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:02 am

i get this error on cacti 0.8.7e


when i import the file

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 115 bytes) in /usr/share/cacti/site/lib/xml.php on line 32


any idea how to fix this
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:06 am

That's due to each PHP process having a memory limit of 16MB by default, and your instance requiring more memory than that. This can be changed via the php.ini.

Since that's entirely outside of RouterOS please use Google for answers - "php memory limit" as a query should get you there.
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:32 am

but i have edited that thats why i came hers as this is router os with cacti

thats what i need
in mp php.ini file
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 50M ; Maximum amount of memory a script may consume (16MB)
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:34 am

Did you restart the web server process? Depending on your setup PHP stays resident and doesn't re-evaluate the configuration file.

And this is a PHP issue. RouterOS doesn't run PHP.
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:37 am

yes all services restarted
restarted the ubuntu server just to make 100% sore and thats right but still get error it changes in size everytime
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:39 am

maybe 'memory_limit' is set somewhere in virtual host definition?..
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:46 am

were that as i just know of

sudo vi /etc/php5/apache2/php.ini
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 17, 2009 12:49 am

thanks for the help all working now
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Wed Nov 18, 2009 10:26 am

is there anyone that can help me with cacti over skype?

please contact me

skype name:

meerholz.brendan
 
mdimas
just joined
Posts: 3
Joined: Tue Jun 03, 2008 10:53 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Mar 02, 2010 6:28 pm

Any one have an idea why i get the following on a verbose query? If i run the snmp walk in the command line it works just fine.

+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/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/resource/snmp_queries/mikrotik_queue_tree.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/mikrotik_queue_tree.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/mikrotik_queue_tree.xml'
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Mon Mar 08, 2010 11:49 am

anyone has problems to get IPIP interface statistics with cacti ?
 108  R  name=.1.3.6.1.2.1.2.2.1.2.2797074 mtu=.1.3.6.1.2.1.2.2.1.4.2797074 mac-address=.1.3.6.1.2.1.2.2.1.6.2797074 
       bytes-in=.1.3.6.1.2.1.2.2.1.10.6909737 packets-in=.1.3.6.1.2.1.2.2.1.11.6909737 
       discards-in=.1.3.6.1.2.1.2.2.1.13.6909737 errors-in=.1.3.6.1.2.1.2.2.1.14.6909737 
       bytes-out=.1.3.6.1.2.1.2.2.1.16.6909737 packets-out=.1.3.6.1.2.1.2.2.1.17.6909737 
       discards-out=.1.3.6.1.2.1.2.2.1.19.6909737 errors-out=.1.3.6.1.2.1.2.2.1.20.6909737 

the problem is that cacti just see "bytes-out" . but "bytes-in" allways is nan .
i tried them with snmpwalk and there was no problem on both "bytes-in" and "bytes-out"
ros v4.6
 
mrdarbandy
just joined
Posts: 3
Joined: Fri Jan 25, 2013 10:17 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Jan 25, 2013 10:22 pm

Hello,

Can You add support for Health - Voltage and Temperature?

active-fan: .1.3.6.1.4.1.14988.1.1.3.9.0
voltage: .1.3.6.1.4.1.14988.1.1.3.8.0
did you find a template or some other way to create temperature graphs for mikrotik in cacti?
 
User avatar
mojiro
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Sun Jul 24, 2005 9:21 pm

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Tue Nov 19, 2013 7:31 pm

Please check this topic for updating Mikrotik's Templates for Cacti.

http://forums.cacti.net/viewtopic.php?f=12&t=51149
 
RB951G2HnD
newbie
Posts: 30
Joined: Mon Oct 21, 2013 9:52 am

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

Thu Jun 11, 2015 7:16 am

Hello,

Could you please help me to configure Cacti to get data via SNMP from the router - I need to see the WAN bandwidth utilization? Now I can see the CPU load only and can't create a new graph for traffic.
You do not have the required permissions to view the files attached to this post.
 
josu
Member Candidate
Member Candidate
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

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

Tue Jul 14, 2015 2:07 pm

Hello,

It would be great to centralize all Mikrotik plugins in the Cacti documentation page: http://docs.cacti.net/plugin:mikrotik

Someone have this plugins working in a recent Cacti? If yes, I could help to centralize the plugins.

Kind regards.
 
RB951G2HnD
newbie
Posts: 30
Joined: Mon Oct 21, 2013 9:52 am

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

Tue Jul 14, 2015 3:25 pm

I had removed Cacti from the server because my Mikrotik device doesn't support SNMP polling for the desired goal. I surfed the www and didn't find the same what I need.
 
josu
Member Candidate
Member Candidate
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

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

Tue Jul 14, 2015 6:42 pm

I want to monitor interfaces bandwidth. Anyone has it working?

Regards.
 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1142
Joined: Tue Oct 11, 2005 4:53 pm

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

Tue Jul 14, 2015 6:44 pm

I want to monitor interfaces bandwidth. Anyone has it working?

Regards.
The default templates of Cacti can measure bandwidth and total traffic out of the box.
 
josu
Member Candidate
Member Candidate
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

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

Wed Jul 15, 2015 9:07 am

I want to monitor interfaces bandwidth. Anyone has it working?

Regards.
The default templates of Cacti can measure bandwidth and total traffic out of the box.
Thanks!

But need I install a Mikrotik template? Or with the default template will work?

Best regards.
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

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

Wed Jul 15, 2015 7:19 pm

The basic templates work fine if you are looking for interface statistics, that is standard SNMP information. If you are looking for other SNMP information (like number of hotspot users, or number of wireless clients), you can make your own templates, or use some of the other templates that are available.
 
RB951G2HnD
newbie
Posts: 30
Joined: Mon Oct 21, 2013 9:52 am

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

Wed Jul 15, 2015 8:10 pm

josu see all my posts above. As I had wrote there is no way to configure interfaces bandwidth collecting via SNMP on MikroTik RB951 at least. If you will find the way you will be a pioneer (let me know how).
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

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

Wed Jul 15, 2015 8:38 pm

josu see all my posts above. As I had wrote there is no way to configure interfaces bandwidth collecting via SNMP on MikroTik RB951 at least. If you will find the way you will be a pioneer (let me know how).
Can you do a SNMP walk of the MikroTik in the first place? I don't own a 951, but I believe all MikroTiks support interface statistics, so that information should be available and graphable. If you cannot get SNMP information from the MikroTik, fix that first, then you can work on graphing the necessary information.

Also the Cacti default poller runs every 5 minutes, but can be set to 1 minute. But even then you are only getting the amount of traffic passed since the last poll, not live data. It is just an average amount of traffic passed since last poll.
 
User avatar
Cha0s
Forum Guru
Forum Guru
Posts: 1142
Joined: Tue Oct 11, 2005 4:53 pm

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

Wed Jul 15, 2015 9:12 pm

josu see all my posts above. As I had wrote there is no way to configure interfaces bandwidth collecting via SNMP on MikroTik RB951 at least. If you will find the way you will be a pioneer (let me know how).
When you create the Graphs on Cacti, on the graph creation page on the table "Data Query [SNMP - Interface Statistics]" you select the interfaces you want to monitor and then bellow on the right you select on the dropdown named "Select a graph type" > "In/Out Bit with Total Bandwidth".

The graphs that will be created will feature on the bottom of them the in/out/ bandwidth for the selected period of time.

You can see a sample on http://www.cha0s.gr/
 
User avatar
GuJack20
Trainer
Trainer
Posts: 345
Joined: Sat Jun 12, 2004 9:44 pm
Location: Tirana
Contact:

RouterOS Host template

Tue Jul 28, 2015 11:36 am

Hello

Based on the templates on the first page a managed to do some corrections, edited Uptime template to be cleaner, Memory and Storage template to be exact, and also created the Mikrotik templates for Cacti for Voltage and board temperature. These are useful when you have MikroTik routers connected to a battery or solar source.

Would be nice to have some collaboration to update the templates on the first page because as i see Mojiro will not continue the development

Thanks
voltage+temp.png
Uptime revised.png
You do not have the required permissions to view the files attached to this post.
 
josu
Member Candidate
Member Candidate
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

Re: RouterOS Host template

Wed Jul 29, 2015 10:13 am

Hello

Based on the templates on the first page a managed to do some corrections, edited Uptime template to be cleaner, Memory and Storage template to be exact, and also created the Mikrotik templates for Cacti for Voltage and board temperature. These are useful when you have MikroTik routers connected to a battery or solar source.

Would be nice to have some collaboration to update the templates on the first page because as i see Mojiro will not continue the development

Thanks
voltage+temp.png
Uptime revised.png
Thanks!

It will be great to centralize all templates in one place. github? cacti wiki?

Where could I download your templates?

Best regards.
 
User avatar
GuJack20
Trainer
Trainer
Posts: 345
Joined: Sat Jun 12, 2004 9:44 pm
Location: Tirana
Contact:

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

Wed Jul 29, 2015 11:20 am

Hello

I'll check cacti wiki and/or github but i need some collaboration since i'm too busy :(

Here is the mojiro archive, with the updated templates as stated above. It would be nice to have this on first page. Let's hope one of the admins or mojiro does this.

Thanks

Update: I checked the cacti wiki, and i found no way to post a template there. If anyone can, let me know. Also if you think we can post these templates in the MikroTik Wiki, let's do it.
You do not have the required permissions to view the files attached to this post.
 
User avatar
GuJack20
Trainer
Trainer
Posts: 345
Joined: Sat Jun 12, 2004 9:44 pm
Location: Tirana
Contact:

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

Sun Aug 02, 2015 11:41 pm

Uploaded everything, with some more fixes at:

http://docs.cacti.net/usertemplate:host:mikrotik
 
josu
Member Candidate
Member Candidate
Posts: 152
Joined: Wed May 27, 2015 6:20 pm

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

Mon Aug 03, 2015 9:00 am

Uploaded everything, with some more fixes at:

http://docs.cacti.net/usertemplate:host:mikrotik
Thanks!
 
EDinATL
just joined
Posts: 10
Joined: Tue Jun 02, 2015 7:40 am

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

Mon Aug 03, 2015 9:27 am

I'm definitely getting a Not Found for the download link for that .zip.zip file.
 
RB951G2HnD
newbie
Posts: 30
Joined: Mon Oct 21, 2013 9:52 am

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

Mon Aug 03, 2015 9:40 am

There is a mistake in the URL. The correct link is: http://docs.cacti.net/_media/cacti_host ... .0.zip.zip
 
User avatar
GuJack20
Trainer
Trainer
Posts: 345
Joined: Sat Jun 12, 2004 9:44 pm
Location: Tirana
Contact:

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

Wed Aug 05, 2015 11:26 am

Yeah.

Someone had deleted the file, so i had to fix the link.
Also the .zip.zip extension added is strange :)
 
EDinATL
just joined
Posts: 10
Joined: Tue Jun 02, 2015 7:40 am

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

Mon Aug 10, 2015 5:50 am

Not sure if it's my version of cacti, (0.8.8a on a raspberry pi 2 running debian, had to edit the hash entries to get the new script to work on the old version, btw) but I had to fix the uptime graph by going in and changing the graph template items from LAST to AVERAGE.

HTH
 
rovshango
just joined
Posts: 7
Joined: Wed Aug 19, 2015 7:53 am

Re: cacti: Mikrotik RouterOS Statistics (Update 01/18/2008)

Fri Aug 21, 2015 11:43 pm

Bump!

I have updated the template. Check the first post.

Hi, Which file we should replace?

I didn't get the "bump"

Thanks
 
nembulus
just joined
Posts: 7
Joined: Sun Feb 02, 2014 1:55 pm

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

Tue Sep 29, 2015 6:25 am

Hi,

Where i can download the latests ?
Thanks.
 
nembulus
just joined
Posts: 7
Joined: Sun Feb 02, 2014 1:55 pm

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

Tue Oct 27, 2015 5:36 am

Hi,

I have following error on signal strength graph, any idea how to fix it ? :

/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title='rg.massimo.Signal Strength.wlan1 ' \
--rigid \
--base='1000' \
--height='64' \
--width='500' \
--upper-limit='-45' \
--lower-limit='-90' \
--vertical-label='dBm' \
--slope-mode \
--font TITLE:8: \
--font AXIS:7: \
--font LEGEND:7: \
--font UNIT:7: \
DEF:a='/var/www/html/rra/rg_massimo_signal_in_852.rrd':'signal_in':AVERAGE \
AREA:a#00FF00FF:'' \
AREA:a#000000FF:'Rx Signal':STACK \
GPRINT:a:LAST:'Current\:%8.2lf %s' \
GPRINT:a:MIN:'Minimum\:%8.2lf %s' \
GPRINT:a:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:a:MAX:'Maximum\:%8.2lf %s\n' \
HRULE:-80#000000FF:'' \
HRULE:-70#A150AAFF:'' \
HRULE:-60#FF0000FF:'' \
HRULE:-50#FFAB00FF:'' \
HRULE:-40#FFF200FF:'' \
COMMENT:'SSID\: KSP-MSP\\\\t' \
COMMENT:'BSSID\: D4\:CA\:6D\:4E\:96\:E9'
RRDTool Says:
ERROR: Unknown control code at the end of 'SSID: KSP-MSP\ '


Thanks in advanced
 
rovshango
just joined
Posts: 7
Joined: Wed Aug 19, 2015 7:53 am

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

Wed Mar 02, 2016 7:53 am

Hi All,

Is there anyway to get graph which will show DHCP lease? I mean count if items.

Same result of command /ip dhcp-server lease print count-only

Who is online

Users browsing this forum: Google [Bot], Luffy, rcarreira88 and 145 guests