[XML] Cisco SAA Jitter/Jitter-error/http template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

asen
Posts: 2
Joined: Thu Dec 01, 2005 7:28 am
Location: Frankfurt, Germany
Contact:

Post by asen »

It still doesn't work for me. I will now try to make a new template and will report how it goes!

Thanks!
asen
hwon
Posts: 34
Joined: Thu Mar 02, 2006 4:11 pm
Location: TX

More templates and some fixes

Post by hwon »

It seems like there are few users who has trouble importing xml files. The cisco_saa.xml file is not meant to be imported via cacti import xml interface. You need to manually copy it over to a sub directory under cacti. Follow below instructions:

Copy cisco_saa.xml to following location:
<path_cacti>/resource/snmp_queries/

Import cacti_data_query_cisco_saa_statistics.xml file via cacti xml import.

I've made few changes in regards to the templates. For jitter template it will show correct maximum value for minus jitter (Before, if there was -5 and -11, it would show -5 as maximum, which is infact the minimum). Also, on jitter/error template minimum jitter's maximum has been changed to minimum. No point of having a maximum of minimum :>. And it will fix the graph where average line shows below minimum line.

Also added Voice scoring template for VoIP SAA test available with latest Cisco SAA/SLA probe. You will need to select VoIP codec (Either g711 or g729) when creating SAA/SLA probe for this to work.

Currently I cannot logon using my old account jeanvav so I won't be able to update the old xml files. So use the one attached to this post.
Last edited by hwon on Tue Feb 06, 2007 2:56 pm, edited 2 times in total.
Frizz
Cacti User
Posts: 80
Joined: Sat Mar 05, 2005 5:07 pm
Location: Herne Germany

Re: More templates and some fixes

Post by Frizz »

Hi hwon (aka jeanvav), nice to see you back in the forum. I'm just working on your old templates and tested the new templates promptly.
The base concept is excellent and we want to implement it to about 2000 IPM collector jobs.
But one issue we have on our test enviroment. The "RTT ave" will stay always zero. All other RTT values are correct.
It make me wonder that you are using
RTT .1.3.6.1.4.1.9.9.42.1.2.10.1.1 not from the jitter Mib section like
the other values
RTTmin .1.3.6.1.4.1.9.9.42.1.5.2.1.4
RTTmax .1.3.6.1.4.1.9.9.42.1.5.2.1.5

We have only jitter measurement defined for this job (no extra echo or pathecho) and so the RTT value is zero, when I do a snmpget on it.
There are two values from the jitter tree 'RTTnum and RTTsum which may help to calculate the jitter average by division RTTsum/RTTnum.
What do you think about this issue?
Also added Voice scoring template for VoIP SAA test available with latest Cisco SAA/SLA probe. You will need to select VoIP codec (Either g711 or g729) when creating SAA/SLA probe for this to work.
Great idea :D and I will soon test it on a lab-router. What IOS you are using? Do you can show example graphs?
Best regards Frizz.
Cacti 0.8.6j | Cactid 0.8.6j | RRDtool 1.2.23 |
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
hwon
Posts: 34
Joined: Thu Mar 02, 2006 4:11 pm
Location: TX

Post by hwon »

As far as I know, if you define jitter probe, it will also do UDP RTT measurement. When you are getting zero on the RTTaverage, what do you get on RTTMax and RTTMin? Can you post the jitter error graph result? You are correct in that the template is using 1.3.6.1.4.1.9.9.42.1.2.10.1.1, This is done since there is no RTTAve value in jitter oid branch.

FYI, here is sample graph for voice scoring, with following IOS config:
Version 12.3(14)T6

ip sla monitor 3
type jitter dest-ipaddr 4.2.2.4 dest-port 11111 codec g729a
threshold 120
tag g729a
frequency 300
ip sla monitor schedule 3 life forever start-time now
Attachments
Voice scoring
Voice scoring
untitled.GIF (10.35 KiB) Viewed 23617 times
Frizz
Cacti User
Posts: 80
Joined: Sat Mar 05, 2005 5:07 pm
Location: Herne Germany

No jitter RTT average

Post by Frizz »

hwon wrote:As far as I know, if you define jitter probe, it will also do UDP RTT measurement. When you are getting zero on the RTTaverage, what do you get on RTTMax and RTTMin? Can you post the jitter error graph result?
Hi hwon, thanks for your quick reply.
That's what I get from the CLI regarding this collector. See jitter sample at the end.

  • ipmRouter#sh rtr collection-statistics 9142
    Collected Statistics

    Entry Number: 9142
    Target Address: x.x.x.x, Port Number: 16400
    Start Time: 19:39:29.000 UTC Wed Mar 29 2006
    RTT Values:
    NumOfRTT: 600 RTTSum: 9064 RTTSum2: 137518
    Packet Loss Values:
    PacketLossSD: 0 PacketLossDS: 0
    PacketOutOfSequence: 0 PacketMIA: 0 PacketLateArrival: 0
    InternalError: 0 Busies: 0
    Jitter Values:
    NumOfJitterSamples: 540
    MinOfPositivesSD: 1 MaxOfPositivesSD: 10
    NumOfPositivesSD: 64 SumOfPositivesSD: 85 Sum2PositivesSD: 255
    MinOfNegativesSD: 1 MaxOfNegativesSD: 10
    NumOfNegativesSD: 57 SumOfNegativesSD: 71 Sum2NegativesSD: 171
    MinOfPositivesDS: 1 MaxOfPositivesDS: 6
    NumOfPositivesDS: 76 SumOfPositivesDS: 85 Sum2PositivesDS: 123
    MinOfNegativesDS: 1 MaxOfNegativesDS: 3
    NumOfNegativesDS: 82 SumOfNegativesDS: 87 Sum2NegativesDS: 99
    Interarrival jitterout: 0 Interarrival jitterin: 0 One Way Values:
    NumOfOW: 600
    OWMinSD: 6 OWMaxSD: 17 OWSumSD: 4102 OWSum2SD: 28466
    OWMinDS: 7 OWMaxDS: 15 OWSumDS: 4962 OWSum2DS: 41280

  • Entry Number: 9142
    Target Address: x.x.x.x, Port Number: 16400
    Start Time: 20:39:29.000 UTC Wed Mar 29 2006
    RTT Values:
    NumOfRTT: 160 RTTSum: 2395 RTTSum2: 35921
    Packet Loss Values:
    PacketLossSD: 0 PacketLossDS: 0
    PacketOutOfSequence: 0 PacketMIA: 0 PacketLateArrival: 0
    InternalError: 0 Busies: 0
    Jitter Values:
    NumOfJitterSamples: 144
    MinOfPositivesSD: 1 MaxOfPositivesSD: 3
    NumOfPositivesSD: 14 SumOfPositivesSD: 16 Sum2PositivesSD: 22
    MinOfNegativesSD: 1 MaxOfNegativesSD: 4
    NumOfNegativesSD: 14 SumOfNegativesSD: 17 Sum2NegativesSD: 29
    MinOfPositivesDS: 1 MaxOfPositivesDS: 1
    NumOfPositivesDS: 23 SumOfPositivesDS: 23 Sum2PositivesDS: 23
    MinOfNegativesDS: 1 MaxOfNegativesDS: 1
    NumOfNegativesDS: 20 SumOfNegativesDS: 20 Sum2NegativesDS: 20
    Interarrival jitterout: 0 Interarrival jitterin: 0 One Way Values:
    NumOfOW: 160
    OWMinSD: 6 OWMaxSD: 10 OWSumSD: 990 OWSum2SD: 6162
    OWMinDS: 8 OWMaxDS: 10 OWSumDS: 1405 OWSum2DS: 12369


    ###########################################

    tooldev5:~ # snmpwalk -c xxx x.x.x.x .1.3.6.1.4.1.9.9.42.1.2.10.1.1.9142
    enterprises.9.9.42.1.2.10.1.1.9142 = Gauge32: 0

    # snmpwalk -c xxx x.x.x.x .1.3.6.1.4.1.9.9.42.1.5.2.1.4.9142
    enterprises.9.9.42.1.5.2.1.4.9142 = Gauge32: 14

    # snmpwalk -c xxx x.x.x.x .1.3.6.1.4.1.9.9.42.1.5.2.1.5.9142
    enterprises.9.9.42.1.5.2.1.5.9142 = Gauge32: 16

    # snmpwalk -c xxx x.x.x.x .1.3.6.1.4.1.9.9.42.1.5.2.1.1.9142
    enterprises.9.9.42.1.5.2.1.1.9142 = Gauge32: 10

    # snmpwalk -c xxx x.x.x.x .1.3.6.1.4.1.9.9.42.1.5.2.1.2.9142
    enterprises.9.9.42.1.5.2.1.2.9142 = Gauge32: 147

You are correct in that the template is using 1.3.6.1.4.1.9.9.42.1.2.10.1.1, This is done since there is no RTTAve value in jitter oid branch.
You're right, there is no direct readable value in the jitter MIB tree but the count and sum of several measurements, so that an average can be computed.
That
...2.9142 RTTsum: 147 DIVIDE by ...1.9142 RTTnum: 10 may be the right RTTaverage value of 14,7 .
FYI, here is sample graph for voice scoring, with following IOS config:
Version 12.3(14)T6
Looks great, that will be the best graph for the upper management. I'll tested it asap. Thanks

FYI, the collector jobs are configured and maintained with the Cisco "Internet Performance Manager(IPM)" (with seed files). The latency and jitter values from several dedicated probe router are polled with cactid and graphed with Cacti and the IPM for different user groups and expectations.

Best regards
Frizz.
Attachments
jitter sample.PNG
jitter sample.PNG (9.69 KiB) Viewed 23608 times
jitter sample01.PNG
jitter sample01.PNG (8.1 KiB) Viewed 23608 times
Cacti 0.8.6j | Cactid 0.8.6j | RRDtool 1.2.23 |
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
hwon
Posts: 34
Joined: Thu Mar 02, 2006 4:11 pm
Location: TX

Post by hwon »

Since you are getting Max & MIn on Jitter/Error graph, I think you should also be getting the Ave value as well. I wouldn't be surprised if this turns out to be an IOS bug in regards to SNMP. What version are you runiing on SAA router?

The MOS score is definitely an eye candy for management, it doesn't get any easier than rating of 1 - 5 :>
Frizz
Cacti User
Posts: 80
Joined: Sat Mar 05, 2005 5:07 pm
Location: Herne Germany

Post by Frizz »

Hi hwon,
hwon wrote:Since you are getting Max & MIn on Jitter/Error graph, I think you should also be getting the Ave value as well. I wouldn't be surprised if this turns out to be an IOS bug in regards to SNMP. What version are you runiing on SAA router?
We're running 12.2.23c and 12.2.23f and you're maybe right in your opinion about an IOS bug. (not the first regarding SNMP).
I'll check it on CCO and for your MOS feature I'll do a test with an newer release. (like your 12.3.17T) to see differences.
The MOS score is definitely an eye candy for management, it doesn't get any easier than rating of 1 - 5 :>
But not only for management. I think about a network map like Howies weathermap for voice traffic for our NOC to recognize upcomming voice problems to different sites.
MOS value in different colors for each graduation and the mouse-over feature for jitter. If you're interested, I'll keep you informed.
Cacti 0.8.6j | Cactid 0.8.6j | RRDtool 1.2.23 |
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
fla_roadkill
Posts: 31
Joined: Wed Jan 19, 2005 2:34 pm

Post by fla_roadkill »

Hello, this looks like its a great template. Im using Cacti 0.8.6e, and i get the "HASH" error when trying to import. Upgrading is not an option at this point. Is there anyway to import this template? Thanks.
hwon
Posts: 34
Joined: Thu Mar 02, 2006 4:11 pm
Location: TX

Post by hwon »

Frizz,
Yes, I have been keeping an eye on that project. Definitely, something we would like to try out for that kind of application.

fla_roadkill,
There is ways to import newer templates from older version of cacti:
http://forums.cacti.net/about10309.html
However, like author states in this link, not sure what the effect will be... gl.
tun
Posts: 2
Joined: Sat May 06, 2006 11:47 am

No Data on my graph

Post by tun »

I have imported the template to my cacti. also configured IP SLA on my Cisco 7206 VXR. I have created IP SLA for icmp-jitter with schedule of forever. But on my cacti graph it only showing RTT but nothing else.

Did I miss anything? BTW, my Cacti is 0.8.6d and I am pretty new to cacti.
Attachments
graph.JPG
graph.JPG (67.34 KiB) Viewed 23158 times
Frizz
Cacti User
Posts: 80
Joined: Sat Mar 05, 2005 5:07 pm
Location: Herne Germany

Re: No Data on my graph

Post by Frizz »

tun wrote:I have imported the template to my cacti. also configured IP SLA on my Cisco 7206 VXR. I have created IP SLA for icmp-jitter with schedule of forever. But on my cacti graph it only showing RTT but nothing else.

Did I miss anything? BTW, my Cacti is 0.8.6d and I am pretty new to cacti.
Hi tun,
can you post your CLI commands for the jitter-job and and the corresponding " sh rtr distributions-statistics [job entry]"
Are there any non-zero values?
Is the remote jitter router configured with the "rtr responder statement" ?
I'll compare it to our settings.
Frizz
Cacti 0.8.6j | Cactid 0.8.6j | RRDtool 1.2.23 |
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
tun
Posts: 2
Joined: Sat May 06, 2006 11:47 am

Post by tun »

It is now plotting. I have to use UDP-jitter. It wasn't cacti's fault. It has something to do with Cisco because snmpwalk with coressponding OID return zero value. Hence I won't see anything on Cacti graph.

BTW, my Cisco IOS is 12.4 and it doesn't support rtr command.

Thanks anyway.
mgysi
Posts: 1
Joined: Wed May 24, 2006 8:14 am

Post by mgysi »

When setting up a new graph (Create Graph from 'Cisco - SAA Jitter Statistics'), Cacti asks me for Index Type, Index Value and Output Type ID. I'm new to Cacti and a bit lost. Can someone give me an example of what to put here?

I'm trying to read this here:

Code: Select all

ip sla monitor 60010009
 type jitter dest-ipaddr x.x.x.x dest-port 1000 source-ipaddr x.x.x.x num-packets 900 interval 1000
 request-data-size 512
 tos 192
 frequency 900
NoisyOcean
Posts: 2
Joined: Wed May 24, 2006 8:00 am

Post by NoisyOcean »

I try this templates, but they dosn't work for me - there aren't any graphs.
I can find where is the problem.. ip sla is working, and I can get infor with snmpwalk command on CLI.
cotontige
Posts: 6
Joined: Tue Apr 25, 2006 7:14 am

jitter for cisco 3750

Post by cotontige »

Hi all, how can i configure my cisco 3750 switch to monitorind the jitter please ?

Thanks in advance :-?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests