<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>experimental &#187; graphing</title>
	<atom:link href="http://www.tajidyakub.com/tag/graphing/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tajidyakub.com</link>
	<description>Experience the Experiment</description>
	<lastBuildDate>Sat, 10 Oct 2009 19:32:38 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Graphing Mikrotik Simple Queue with Cacti</title>
		<link>http://www.tajidyakub.com/etcetera/graphing-mikrotik-simple-queue-with-cacti-2007-03-12.html</link>
		<comments>http://www.tajidyakub.com/etcetera/graphing-mikrotik-simple-queue-with-cacti-2007-03-12.html#comments</comments>
		<pubDate>Sun, 11 Mar 2007 17:32:46 +0000</pubDate>
		<dc:creator>Tajid Yakub</dc:creator>
				<category><![CDATA[Etcetera]]></category>
		<category><![CDATA[Mikrotik RouterOS]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[mikrotik]]></category>

		<guid isPermaLink="false">http://tajidyakub.com/?p=7</guid>
		<description><![CDATA[

I&#8217;ve searched the forum and the internet for tutorial on how to capture Router OS&#8217;s simple queue OID using cacti, and haven&#8217;t find any luck..

So I decided to share my really simple way, by capturing each OID manually for every entry in Simple Queue I want to graph..
Please notice that I am not an expert [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<p style="text-align: center;"><img class="alignnone size-full wp-image-8 aligncenter" title="cacti-graphic-screenshot" src="http://tajidyakub.com/wp-content/uploads/2008/06/cacti-graphic-screenshot.jpg" alt="Simple Queue Cacti Screenshot" width="500" height="420" /></p>
<p>I&#8217;ve searched the forum and the internet for tutorial on how to capture <a title="Mikrotik Router OS" href="http://mikrotik.com" target="_blank">Router OS&#8217;s</a> simple queue OID using cacti, and haven&#8217;t find any luck..</p>
<p><span id="more-7"></span><br />
So I decided to share my really simple way, by capturing each OID manually for every entry in Simple Queue I want to graph..</p>
<p>Please notice that I am not an expert in whether <a title="Cacti Graphing" href="http://cacti.net" target="_blank">Cacti</a> or <a title="Mikrotik Router OS" href="http://mikrotik.com" target="_blank">Mikrotik Router OS</a>, so It will be great if you guys willing to show me/us a better way to do this..</p>
<p>Why cacti? why not built-in graphing tools provided by Router OS?&#8230;, for now I only have one reason &#8211;&gt; <strong>With cacti we could gather data from specific range of time.. </strong></p>
<p>The Article published earlier in;</p>
<ul>
<li><a title="Cacti's Forum" href="http://forums.cacti.net/post-91678.html" target="_blank">Cacti&#8217;s Forum</a> (English)</li>
<li><a title="Mikrotik's Forum" href="http://forum.mikrotik.com/viewtopic.php?t=13843" target="_blank">Mikrotik&#8217;s Forum</a> (English)</li>
<li><a title="In Other Blog" href="http://tajidyakub.net/2007/03/12/graphing-simple-queue-mikrotik-menggunakan-cacti/" target="_blank">Other Blog</a> (Indonesian)</li>
<li><a title="Forum RTRW NET" href="http://forum.rtrw.net/viewtopic.php?t=348" target="_blank">Forum RTRW</a> (Indonesian)</li>
</ul>
<p><span class="postbody"> This How-to assumed that you already have knowledge on installing and using cacti. Also notice that Router OS Simple Queue OID will be dynamically changed if we delete (-) entry on our queue.  To find out the OID of the simple queue we want to graph (from the router OS).</span></p>
<pre class="brush: bash">[tjdykb@xxx] &gt; /queue simple pr oid

Flags: X - disabled, I - invalid, D - dynamic
0    name=.1.3.6.1.4.1.14988.1.1.2.1.1.2.54
bytes-in=.1.3.6.1.4.1.14988.1.1.2.1.1.8.54
bytes-out=.1.3.6.1.4.1.14988.1.1.2.1.1.9.54
packets-in=.1.3.6.1.4.1.14988.1.1.2.1.1.10.54
packets-out=.1.3.6.1.4.1.14988.1.1.2.1.1.11.54

1    name=.1.3.6.1.4.1.14988.1.1.2.1.1.2.32
bytes-in=.1.3.6.1.4.1.14988.1.1.2.1.1.8.32
bytes-out=.1.3.6.1.4.1.14988.1.1.2.1.1.9.32
packets-in=.1.3.6.1.4.1.14988.1.1.2.1.1.10.32
packets-out=.1.3.6.1.4.1.14988.1.1.2.1.1.11.32

2    name=.1.3.6.1.4.1.14988.1.1.2.1.1.2.1
bytes-in=.1.3.6.1.4.1.14988.1.1.2.1.1.8.1
bytes-out=.1.3.6.1.4.1.14988.1.1.2.1.1.9.1
packets-in=.1.3.6.1.4.1.14988.1.1.2.1.1.10.1
packets-out=.1.3.6.1.4.1.14988.1.1.2.1.1.11.1

etc.. </pre>
<p>Watch the ID of the simple queue we want to graph .. the entry we use is bytes-in (download) OID and bytes-out (upload) OID..</p>
<p>What I did (in cacti) was made a data template (duplicated from SNMP &#8211; Generic OID Template) one for download and one for upload each, so we will have two data templates, which we will use to capture 2 different OID from one simple queue entry.. The template file link available at the end of this message &#8230; I also made a graph Template .. modified from SNMP Interface Template.. (link also available)..</p>
<p>Then I made data-sources for Download Traffic and Upload Traffic using the previously imported/made data-templates (say MT-SQ-down and MT-SQ-up) .. for Download Traffic put the OID bytes-in you get from the Router OS and bytes-out for Upload Traffic..</p>
<p>Finally we made the simple queue graph for Router OS Device, using the graph template imported/made before.. choose Download and Upload Traffic for data-sources. Wait for 10 whole minutes ..</p>
<p>I know it rather stupid, but at least there is a way.<br />
Good Luck</p>
<p><strong>Links,</strong></p>
<p><span class="postbody"> Data-templates (right click- save as) </span></p>
<ul>
<li><span class="postbody"><a class="postlink" href="http://www.cdupload.com/files/2183_sskqp/cacti_data_template_mtsqdown_tjdykb.xml" target="_blank">cacti_data_template_mtsqdown_tjdykb.xml</a></span></li>
<li><span class="postbody"><a class="postlink" href="http://www.cdupload.com/files/2184_v3uul/cacti_data_template_mtsqup_tjdykb.xml" target="_blank">cacti_data_template_mtsqup_tjdykb.xml</a></span></li>
</ul>
<p><span class="postbody"> Graph-templates (right click- save as) </span></p>
<ul>
<li><a class="postlink" href="http://www.cdupload.com/files/2185_ndzna/cacti_graph_template_mikrotik_simple_queue_tjdykb.xml" target="_blank">cacti_graph_template_mikrotik_simple_queue_tjdykb.xml</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.tajidyakub.com/etcetera/graphing-mikrotik-simple-queue-with-cacti-2007-03-12.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
