|
|
| Author |
Message |
jeanvav
Joined: 14 May 2004 Posts: 11 Location: Phoenix, AZ
|
Posted: Mon Jun 07, 2004 11:40 am Post subject: [XML] Cisco SAA Jitter/Jitter-error/http template |
|
|
Hi, this is for graphing SAA(RTT) Statistics. Includes 4 templates: jitter statistics, jitter errors, http reply times, and basic template for any other type of probes.
| Description: |
| Example: Positive value represent actual reply time with maximum and minimum working like a gray band. Negative values are errors. |
|
| Filesize: |
74.1 KB |
| Viewed: |
31257 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
cacti_data_query_cisco_saa.xml |
| Filesize: |
79.94 KB |
| Downloaded: |
3249 Time(s) |
| Description: |
|
 Download |
| Filename: |
cisco_saa.xml |
| Filesize: |
10.85 KB |
| Downloaded: |
2987 Time(s) |
Last edited by jeanvav on Wed Jun 09, 2004 10:48 am; edited 1 time in total |
|
| Back to top |
|
 |
jeanvav
Joined: 14 May 2004 Posts: 11 Location: Phoenix, AZ
|
Posted: Mon Jun 07, 2004 12:34 pm Post subject: |
|
|
More example: HTTP statistics, Jitter statistics
| Description: |
|
| Filesize: |
50.53 KB |
| Viewed: |
31257 Time(s) |

|
| Description: |
|
| Filesize: |
52.07 KB |
| Viewed: |
31255 Time(s) |

|
|
|
| Back to top |
|
 |
moonman Cacti User
Joined: 06 Sep 2003 Posts: 94
|
Posted: Wed Jun 09, 2004 8:40 am Post subject: problem when import the data query |
|
|
Hi
i try to import the data query but when i import it by pasting or by browse to the file (cacti data query cisco_saa.xml) and after i put cisco_saa.xml in the snmp_queries dir it start working but after 10 seconds it go back to the import page without any error and if i look at the data query/graph template/data template i dont see anything from the imported template.
if i try to import other template it work without a problem
|
|
| Back to top |
|
 |
jeanvav
Joined: 14 May 2004 Posts: 11 Location: Phoenix, AZ
|
Posted: Wed Jun 09, 2004 9:49 am Post subject: |
|
|
moonman,
I've re exported the data query xml file. Let's try it again with new file.
By the way, the export was from cacti 0.8.5a.
| Description: |
|
 Download |
| Filename: |
cacti_data_query_cisco_saa.xml |
| Filesize: |
79.94 KB |
| Downloaded: |
2467 Time(s) |
|
|
| Back to top |
|
 |
moonman Cacti User
Joined: 06 Sep 2003 Posts: 94
|
Posted: Wed Jun 09, 2004 3:01 pm Post subject: Thanks |
|
|
now it work
great work
|
|
| Back to top |
|
 |
Mika Cacti User
Joined: 23 Mar 2004 Posts: 64
|
Posted: Mon Jun 28, 2004 2:28 am Post subject: |
|
|
Hi,
It seems I have some problems with import as well.
I tried both xmls: old and new one, but nothing happens in my query/data and graph templates. There is no new records in my templates.
I've done some import before and everything have worked properly.
By the way, I've imported RTT response template which was introduced hew several months before. Can it be any problems with that? I've checked template's names but there is no any duplications.
Can you help me with that?
|
|
| Back to top |
|
 |
jeanvav
Joined: 14 May 2004 Posts: 11 Location: Phoenix, AZ
|
Posted: Tue Jun 29, 2004 10:13 am Post subject: |
|
|
Mika,
The old and new XML files are the same, I've updated the old one when I noticed the export didn't work. Can you give us some more information about your cacti environment? Also, check out following link in regards to import problem:
http://www.raxnet.net/board/viewtopic.php?t=3671&highlight=export+problem
I tried to use different names as other SAA script and should not conflict. And it shouldn't be a problem to have both of them on same cacti.
|
|
| Back to top |
|
 |
Mika Cacti User
Joined: 23 Mar 2004 Posts: 64
|
Posted: Wed Jun 30, 2004 10:54 am Post subject: |
|
|
jeanvav,
Thanks for good suggestion. It seems I had problems with import - my config_arrays.php file wasn't ready for hash version 0002.
Now it works properly.
Thanks for good templates as well. Last week I've worked on it and I did such template little bit more confusing, so I'll look through your work and learn from yours
Thanks once again.
Best regards,
Mika
|
|
| Back to top |
|
 |
koike
Joined: 02 Jul 2004 Posts: 6
|
Posted: Tue Jul 06, 2004 4:32 pm Post subject: |
|
|
What version of IOS this feature work?
I try to use the net-snmp snmpwalk and the OID but they return:
'No Such Object available on this agent at this OID'
This is some missing MIB-file in the net-snmp?
Or the router doesn't support this OID?
|
|
| Back to top |
|
 |
jeanvav
Joined: 14 May 2004 Posts: 11 Location: Phoenix, AZ
|
|
| Back to top |
|
 |
koike
Joined: 02 Jul 2004 Posts: 6
|
Posted: Tue Jul 13, 2004 6:43 am Post subject: |
|
|
small routers like 805, 1600, 1700 and 2500 doesn't have this feature
|
|
| Back to top |
|
 |
koike
Joined: 02 Jul 2004 Posts: 6
|
Posted: Tue Jul 13, 2004 12:18 pm Post subject: |
|
|
I have done the configuration in router, but after a few hours the router stop sending the information and the graphics shows the last value.
Any idea?
|
|
| Back to top |
|
 |
dent
Joined: 16 Mar 2004 Posts: 6
|
Posted: Tue Jul 20, 2004 5:07 pm Post subject: How to identify SAA probes ('rtr operations') by tag number? |
|
|
jeanvav - you are my hero.
I have 2 rtr probes defined in my router (IOS 12.3(4)T6):
| Code: | rtr responder
rtr 1
type jitter dest-ipaddr 10.3.200.11 dest-port 16384 num-packets 1000
request-data-size 200
tos 32
rtr schedule 1 life forever start-time now
rtr 2
type jitter dest-ipaddr 10.3.200.11 dest-port 16001 codec g711alaw
rtr schedule 2 life forever start-time now
|
I can see they are working by using "show rtr op 1" and "show rtr op 2".
However, when I use the template to go start grabbing data from them (from the "create graphs for this host" link in cacti), the "Tag" number is blank for both operations. As a result, there's no reliable way to uniquely identify them. Do you have this same issue?
(Incidentally, I'm on cacti 0.8.5a and had no problem importing the XML and copying the cisco_saa.xml into the snmp_queries directory.)
|
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jul 20, 2004 9:49 pm Post subject: Re: How to identify SAA probes ('rtr operations') by tag num |
|
|
| dent wrote: | jeanvav - you are my hero.
I have 2 rtr probes defined in my router (IOS 12.3(4)T6):
| Code: | rtr responder
rtr 1
type jitter dest-ipaddr 10.3.200.11 dest-port 16384 num-packets 1000
request-data-size 200
tos 32
rtr schedule 1 life forever start-time now
rtr 2
type jitter dest-ipaddr 10.3.200.11 dest-port 16001 codec g711alaw
rtr schedule 2 life forever start-time now
|
I can see they are working by using "show rtr op 1" and "show rtr op 2".
However, when I use the template to go start grabbing data from them (from the "create graphs for this host" link in cacti), the "Tag" number is blank for both operations. As a result, there's no reliable way to uniquely identify them. Do you have this same issue?
(Incidentally, I'm on cacti 0.8.5a and had no problem importing the XML and copying the cisco_saa.xml into the snmp_queries directory.) |
Add a tag to the rtr config. eg
| Code: |
rtr 1
type jitter dest-ipaddr 10.3.200.11 dest-port 16384 num-packets 1000
request-data-size 200
tos 32
tag sometext
rtr schedule 1 life forever start-time now
|
The tag 'sometext' will then appear in cacti
|
|
| Back to top |
|
 |
dent
Joined: 16 Mar 2004 Posts: 6
|
Posted: Wed Jul 21, 2004 5:03 pm Post subject: adding 'tag' |
|
|
Works great; thanks. Now that I think about it, I see why this is necessary - if I remove the "rtr 1" operation from my router, for example, even though the other one is "rtr 2" there still will only be one index value for the SNMP table, so you can't use the SNMP table index as the unique ID.
It looks like the tag has to be pretty short - 15 chars or so - so maybe it would be a good idea to just tag them with their rtr operation numbers so I can correlate the IOS config with the Cacti graph.
One thing I was curious about - where does that "Threshold" value in the Jitter/Error graph come from? On your example I see that it is 30, but on my graph it is 5000. My rtr operation is 'codec g711alaw' which corresponds to 1000 packets, interval 20 ms, frequency 60 s, and data size 172 (I think). What's your IOS config for your example pictures?
|
|
| Back to top |
|
 |
|