Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[XML] Cisco SAA Jitter/Jitter-error/http template
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
jeanvav



Joined: 14 May 2004
Posts: 11
Location: Phoenix, AZ

PostPosted: Mon Jun 07, 2004 11:40 am    Post subject: [XML] Cisco SAA Jitter/Jitter-error/http template Reply with quote

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.


jitter-error.JPG
 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:  33549 Time(s)

jitter-error.JPG



cacti_data_query_cisco_saa.xml
 Description:

Download
 Filename:  cacti_data_query_cisco_saa.xml
 Filesize:  79.94 KB
 Downloaded:  3475 Time(s)


cisco_saa.xml
 Description:
SNMP query xml

Download
 Filename:  cisco_saa.xml
 Filesize:  10.85 KB
 Downloaded:  3181 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

PostPosted: Mon Jun 07, 2004 12:34 pm    Post subject: Reply with quote

More example: HTTP statistics, Jitter statistics


jitter.JPG
 Description:
Jitter Statistics
 Filesize:  50.53 KB
 Viewed:  33549 Time(s)

jitter.JPG



http.JPG
 Description:
HTTP statistics
 Filesize:  52.07 KB
 Viewed:  33547 Time(s)

http.JPG


Back to top
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Wed Jun 09, 2004 8:40 am    Post subject: problem when import the data query Reply with quote

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

PostPosted: Wed Jun 09, 2004 9:49 am    Post subject: Reply with quote

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.



cacti_data_query_cisco_saa.xml
 Description:

Download
 Filename:  cacti_data_query_cisco_saa.xml
 Filesize:  79.94 KB
 Downloaded:  2638 Time(s)

Back to top
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Wed Jun 09, 2004 3:01 pm    Post subject: Thanks Reply with quote

now it work

great work
Back to top
Mika
Cacti User


Joined: 23 Mar 2004
Posts: 64

PostPosted: Mon Jun 28, 2004 2:28 am    Post subject: Reply with quote

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

PostPosted: Tue Jun 29, 2004 10:13 am    Post subject: Reply with quote

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

PostPosted: Wed Jun 30, 2004 10:54 am    Post subject: Reply with quote

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

PostPosted: Tue Jul 06, 2004 4:32 pm    Post subject: Reply with quote

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

PostPosted: Mon Jul 12, 2004 10:20 am    Post subject: Reply with quote

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/iosw/prodlit/saaug_ai.htm
Back to top
koike



Joined: 02 Jul 2004
Posts: 6

PostPosted: Tue Jul 13, 2004 6:43 am    Post subject: Reply with quote

small routers like 805, 1600, 1700 and 2500 doesn't have this feature
Back to top
koike



Joined: 02 Jul 2004
Posts: 6

PostPosted: Tue Jul 13, 2004 12:18 pm    Post subject: Reply with quote

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

PostPosted: Tue Jul 20, 2004 5:07 pm    Post subject: How to identify SAA probes ('rtr operations') by tag number? Reply with quote

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






PostPosted: Tue Jul 20, 2004 9:49 pm    Post subject: Re: How to identify SAA probes ('rtr operations') by tag num Reply with quote

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

PostPosted: Wed Jul 21, 2004 5:03 pm    Post subject: adding 'tag' Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 



Powered by phpBB © 2001, 2005 phpBB Group