Friday, December 4, 2009

Creating Graph for Mikrotik Queue Tree using Cacti

Standard
It’s a long title, isn’t it ? :D
Okay, first thing first, You have to download all these files :
cacti_host_template_mikrotik_queue.xml
cacti_data_template_mikrotik_queue.xml
cacti_graph_template_queue_tree_bytes.xml
cacti_data_query_queue_tree.xml
ipacmikro.xml
If you have error when you download ipmakro.xml, just click its url and save it to your computer, and the you can edit it. at the end of this file there is too many “>” so you can delete it to make it work.
Okay, lets continue….
Here is how to install :
* Copy snmp_queries/ipacmikro.xml to /resource/snmp_queries/ on the Cacti server.
* Import xml/cacti_data_query_mikrotik_queue_tree.xml
* Import xml/cacti_data_template_mikrotik_queue.xml
* Import xml/cacti_graph_template_mikrotik_queue_tree_bytes.xml
* Import xml/cacti_data_query_queue_tree.xml

I asumed that you’re familiar with cacti menu. It’s easy, isn’t ?
Now, it’s ready for you to make graphs.

2 comments:

  1. hi...
    it is very useful...
    but,... could you show us a little bit more...
    what is the next steps

    thank you

    ReplyDelete
  2. and the queue tree are not working
    1) Queue Tree (Verbose Query) Uptime Goes Backwards Success [0 Items, 0 Rows]

    2) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [133 Items, 16 Rows]

    and when I clicked on verbose query... this is the error saying :
    + Running data query [7].
    + Found type = '3' [SNMP Query].
    + Found data query XML file at '/var/www/html/resource/snmp_queries/ipacmikro.xml'
    + Error parsing XML file into an array.
    + Found data query XML file at '/var/www/html/resource/snmp_queries/ipacmikro.xml'
    + Found data query XML file at '/var/www/html/resource/snmp_queries/ipacmikro.xml'
    + Found data query XML file at '/var/www/html/resource/snmp_queries/ipacmikro.xml'

    please to teach me how to fix this...
    thank you

    ReplyDelete