[XML] Cisco IP SLA templates (AKA RTR & SAA)

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

Moderators: Developers, Moderators

Post Reply
hwon
Posts: 34
Joined: Thu Mar 02, 2006 4:11 pm
Location: TX

Post by hwon »

tl1997,

I do not know why it times out. I believe you are in the right path, I have seen other script import behave the same way in the other thread and was fixed by temporarily increasing the timeout in the php.ini to higher value.
tl1997
Posts: 19
Joined: Sat Feb 03, 2007 1:07 am
Location: Coral Gables, FL

Post by tl1997 »

I just tried increasing it to 5 minutes and then to 10 minutes and finally it worked, and it took pretty much that long. Maybe its my version of php (5.2.0). I'm not a php guy, but someone else in the office said the XML parsing in php is not particulary efficient.
Bazou
Posts: 28
Joined: Tue Apr 10, 2007 7:45 am
Location: Brussels/Belgium

Re: Upgrade to 0.8.6j

Post by Bazou »

hwon wrote:The template was exported from 0.8.6j. You will need to upgrade Cacti to 0.8.6j to import it.
Argh...I'm on cacti 0.8.6.i and can't update to 0.8.6.j. Is there an other way to import these template (manually?)? Or maybe an other version for the .i ?

Gilles
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Hwon,

Thanks for these templates! I hadn't seen the IP SLA stuff before, but it's really interesting...

I'm looking forward to getting some link-latency maps going, and trap collection from this stuff too. Who would have thought - Cisco do something cool. I'm sure it'll melt my routers, or make me sterile or something...
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
fata51
Posts: 17
Joined: Wed Nov 16, 2005 8:34 am

Post by fata51 »

hi guys,

First, good job with these templates!! they're so useful...

Actually, I'm using the Jitter/Error graph template. I have a question about values of RTT MAX/MIN/AVE. I've got a value of the RTT Average smaller than the RTT MIN!!! Since the last 12h, I've got a minimum average of 22 and an "average average" of 17!!

here is my graph :

Image

Anyone has an explanation?

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

Post by hwon »

Howie,
Thanks for these templates! I hadn't seen the IP SLA stuff before, but it's really interesting...

I'm looking forward to getting some link-latency maps going, and trap collection from this stuff too. Who would have thought - Cisco do something cool. I'm sure it'll melt my routers, or make me sterile or something...
I have to agree, its one of those not-widely-used cool feature on Cisco IOS. Let me know how addition to Weathermap works out.


fafa51,
Actually, I'm using the Jitter/Error graph template. I have a question about values of RTT MAX/MIN/AVE. I've got a value of the RTT Average smaller than the RTT MIN!!! Since the last 12h, I've got a minimum average of 22 and an "average average" of 17!!
From the sample graph, seems like you have modified the template to suite your needs. I think some of the values might have been switched, meaning your ave might be mapped to min. Try verifying the graph template to see if that is the case.

hwon
User avatar
stevew
Posts: 26
Joined: Tue Aug 17, 2004 12:39 pm
Location: London
Contact:

Getting MIBs to resolve in snmp data queries?

Post by stevew »

I was really interested to see the info on adding the MIBs which I didn't realise was possible. So I followed the instructions.

Now, when I run a command-line snmpbulkwalk the CISCO-RTTMON mib properly resolves:

Code: Select all

enfimon ~ $ snmpbulkwalk -v 2c -c **** 192.168.1.1 CISCO-RTTMON-MIB::rttMonLatestJitterOperNTPState.1
Did not find 'zeroDotZero' in module SNMPv2-SMI (/etc/snmp/mibs/IP-MIB.my)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/etc/snmp/mibs/EVENT-MIB.my)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
CISCO-RTTMON-MIB::rttMonLatestJitterOperNTPState.1 = INTEGER: sync(1)
However, in Cacti I still don't see the resolution of values to names in the query (as shown below).

Did you need to take an additional step to get this working in Cacti? I'm running 0.8.6j on Gentoo with no plugins.
Attachments
MIB values not resolving in Cacti
MIB values not resolving in Cacti
ScreenShot003.jpg (22 KiB) Viewed 18786 times
[url=http://www.welham.net/]Steve W[/url]
fata51
Posts: 17
Joined: Wed Nov 16, 2005 8:34 am

Post by fata51 »

hwon wrote: fafa51,
Actually, I'm using the Jitter/Error graph template. I have a question about values of RTT MAX/MIN/AVE. I've got a value of the RTT Average smaller than the RTT MIN!!! Since the last 12h, I've got a minimum average of 22 and an "average average" of 17!!
From the sample graph, seems like you have modified the template to suite your needs. I think some of the values might have been switched, meaning your ave might be mapped to min. Try verifying the graph template to see if that is the case.

hwon
I checked by editing the item "(rtt): RTT Ave" in my graph template. The associated data source is "Cisco Router - SAA - (rtt)" which must be the good one.

Any tips?
yavin
Posts: 2
Joined: Thu May 03, 2007 2:35 pm

New SD Templates?

Post by yavin »

Hi hwon! Where can we download the new SD templates? Thanks!
Bazou
Posts: 28
Joined: Tue Apr 10, 2007 7:45 am
Location: Brussels/Belgium

Post by Bazou »

Look at the first post of this topic.
hwon
Posts: 34
Joined: Thu Mar 02, 2006 4:11 pm
Location: TX

Post by hwon »

stevew,

Are you using cactid instead of cmd? I am wondering if that would make difference as I've only used cmd, when when I created the templates. Since changing my job role, I do not have access to a cacti system, so I am shooting from my hips :>


fata51,

Have you verified the result you get from the cacti to actual value by either running snmpwalk from command line or running show ip sla command from the ios equipment? Also, have you tried reimporting the script and the template and see if original template works? I would try above steps to find out whether equipment is returning wrong value or the template is showing the wrong value.

hwon
User avatar
stevew
Posts: 26
Joined: Tue Aug 17, 2004 12:39 pm
Location: London
Contact:

Post by stevew »

Alas no.... I'm using the php poller. Maybe I'll start a new thread on this topic...
[url=http://www.welham.net/]Steve W[/url]
superzjb2007
Posts: 13
Joined: Wed Mar 14, 2007 7:13 am

I need the icmpecho template

Post by superzjb2007 »

Hello, can you give me the "icmpecho" template ?
User avatar
stevew
Posts: 26
Joined: Tue Aug 17, 2004 12:39 pm
Location: London
Contact:

Re: I need the icmpecho template

Post by stevew »

superzjb2007 wrote:Hello, can you give me the "icmpecho" template ?
All of the available templates are attached to the first post of this thread.
[url=http://www.welham.net/]Steve W[/url]
gpetme
Posts: 22
Joined: Wed Mar 28, 2007 5:48 pm

Post by gpetme »

Hi -

I've got this working in my environment - thanks for such a well thought out template!

I do however have one question. I created some graphs prior to using the 'tag' in Cisco to label the IP SLA configuration. My graphs are named, for example, as "<host> SAA Basic - 1" or "<host> SAA Jitter - 1". I'd like these to now reflect my tags (such as ICMP and VoIP) rather than the default index (1,2,3,4,etc). Does anyone know how I can rename my existing graphs? I tried renaming it under Data Sources -> "<host> SAA Basic - 1" but the graphs don't get updated. Anyone got any ideas here?

Thanks,

Greg
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests