[SOLVED] Question with graph for QOS Policy

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
hmorandell
Cacti User
Posts: 73
Joined: Mon May 03, 2010 11:48 am

[SOLVED] Question with graph for QOS Policy

Post by hmorandell »

Hello,

I have created (still not ready to release to the public) a set of template which can be used to graph QOS traffic with SNMP only without the use of scripts and/or script server. Therefore this is really really fast and you can graph lots of classes/interfaces without running into problems.

Though there are some (minor) problems. I have seen, when I get lots of traffic for one class I get "blank" spaces in my graph, example here:
greenshot_2011-03-28_12-34-33.jpg
greenshot_2011-03-28_12-34-33.jpg (44.06 KiB) Viewed 1227 times
Where the red arrow is, there should be nearly 4 MEGA of traffic.

My SNMP settings for the host are:
Maximum OID's Per Get Request: 10
SNMP Timeout: 4000
The data template is very simple, I post part of it here:
<qosBitrate>
<name>QOS Bitrate</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9.9.166.1.15.1.1.11</oid>
</qosBitrate>
If someone is interested, I use "snmp persitant indexes" on CISCO Routers to have static indexes for the QOS classes. Template will be released when last errors/problems are fixed and code cleanup will be done
Last edited by hmorandell on Tue Mar 29, 2011 1:30 am, edited 1 time in total.
_________________
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
hmorandell
Cacti User
Posts: 73
Joined: Mon May 03, 2010 11:48 am

Re: Question with graph for QOS Policy graphing with SNMP on

Post by hmorandell »

problem solved,
I had the following max setting in data template:
Maximum Value: 1000000
so traffic did never exceed 1Mb. I have set this value now to "0".

I have updated the existing rrd's by issuing the following command:

rrdtool tune /srv/www/htdocs/cacti/rra/xxxxxxxxxxxxxxx_qosdroprate_4353.rrd --maximum qosDroprate:U
hope this might help someone....

now everything works fine...
_________________
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
greenhorn78
Posts: 3
Joined: Tue Apr 19, 2011 12:19 pm

Re: [SOLVED] Question with graph for QOS Policy

Post by greenhorn78 »

Hi hmorandell,

nice work! This template is exactly what I need.
Now I'm using one 'SNMP - Generic OID Template' per every cbQosCMPrePolicyBitRate/cbQosCMPostPolicyBitRate/cbQosCMDropBitRate OID and every class-map, but your templete will save me a lot of clicks and graphs :-)

I'm very looking for it, and I think I'm not alone.. thank you.
hmorandell
Cacti User
Posts: 73
Joined: Mon May 03, 2010 11:48 am

Re: [SOLVED] Question with graph for QOS Policy

Post by hmorandell »

greenhorn78 wrote:Hi hmorandell,

nice work! This template is exactly what I need.
Now I'm using one 'SNMP - Generic OID Template' per every cbQosCMPrePolicyBitRate/cbQosCMPostPolicyBitRate/cbQosCMDropBitRate OID and every class-map, but your templete will save me a lot of clicks and graphs :-)

I'm very looking for it, and I think I'm not alone.. thank you.
please have a look here, just released my templates to the public:

http://forums.cacti.net/viewtopic.php?f=12&t=42599
_________________
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest