[XML] Cisco SAA Jitter/Jitter-error/http template
Moderators: Developers, Moderators
[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.
- Attachments
-
- cacti_data_query_cisco_saa.xml
- (79.94 KiB) Downloaded 8487 times
-
- cisco_saa.xml
- SNMP query xml
- (10.85 KiB) Downloaded 7709 times
-
- Example: Positive value represent actual reply time with maximum and minimum working like a gray band. Negative values are errors.
- jitter-error.JPG (74.1 KiB) Viewed 93760 times
Last edited by jeanvav on Wed Jun 09, 2004 10:48 am, edited 1 time in total.
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
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
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.
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.
- Attachments
-
- cacti_data_query_cisco_saa.xml
- (79.94 KiB) Downloaded 6278 times
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?
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?
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.p ... rt+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.
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.p ... rt+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.
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
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
SAA should be available on all IOS devices version 12.0 or higher. However, you would need at least one SAA operations for snmpwalk to get a value.
Refer to following document:
http://www.cisco.com/warp/public/cc/pd/ ... aug_ai.htm
Refer to following document:
http://www.cisco.com/warp/public/cc/pd/ ... aug_ai.htm
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):
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.)
I have 2 rtr probes defined in my router (IOS 12.3(4)T6):
Code: Select all
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
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.)
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):
I can see they are working by using "show rtr op 1" and "show rtr op 2".Code: Select all
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
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: Select all
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
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?
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?
Who is online
Users browsing this forum: No registered users and 3 guests