Post subject: [How To] Graphing Simple Queue Using Cacti
Posted: Sun Feb 11, 2007 1:03 pm
just joined
Joined: Sun Oct 29, 2006 1:42 pm Posts: 7
Karma: 0
Location: Jakarta
I've searched the forum and the internet for tutorial on how to capture Router OS's simple queue OID using cacti, and haven'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 in whether Cacti or Mikrotik Router OS, so It will be great if you guys willing to show me/us a better way to do this..
Why cacti? why not built-in graphing tools provided by Router OS?..., for now I only have one reason --> With cacti we could gather data from spesific range of time..
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)...
Code:
[tjdykb@xxx] > /queue simple pr oid
You will find entries like
Code:
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
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..
What I did (in cacti) was made a data template (duplicated from SNMP - 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 ... I also made a graph Template .. modified from SNMP Interface Template.. (link also available)..
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..
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 whoe minutes ..
I know it rather stupid, but at least there is a way .. Good Luck
Post subject: Re: [How To] Graphing Simple Queue Using Cacti
Posted: Sat Feb 17, 2007 3:20 pm
just joined
Joined: Sun Oct 29, 2006 1:42 pm Posts: 7
Karma: 0
Location: Jakarta
tjdykb wrote:
Why cacti? why not built-in graphing tools provided by Router OS?..., for now I only have one reason --> With cacti we could gather data from spesific range of time..
Users browsing this forum: D3L05, dingsingo, Google [Bot], infidel, MCT, W3C [Validator] and 18 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum