[XML] Cisco IP SLA templates (AKA RTR & SAA)
Moderators: Developers, Moderators
I seem to be running into another sort of problem.
the http error codes associated with http test are coming back as either 302, 500, or 404 . Yet when I try the same commands from the command line with telnet - I get 200/OK . Any idea where the http error codes are stored in snmp. I would like to double check what I am getting.
the http error codes associated with http test are coming back as either 302, 500, or 404 . Yet when I try the same commands from the command line with telnet - I get 200/OK . Any idea where the http error codes are stored in snmp. I would like to double check what I am getting.
Hi,
I was looking through my rra-folder and noticed that some of my rrd's for sum2nds is a whooping 434Mb each. Is this normal?
I was looking through my rra-folder and noticed that some of my rrd's for sum2nds is a whooping 434Mb each. Is this normal?
Code: Select all
$ du -h *sum2nds*
5.8M XXX_sum2nds_47502.rrd
5.8M XXX_sum2nds_48264.rrd
5.8M XXX_sum2nds_48265.rrd
5.8M XXX_sum2nds_48266.rrd
434M XXX_sum2nds_50103.rrd
434M XXX_sum2nds_50098.rrd
434M XXX_sum2nds_50099.rrd
434M XXX_sum2nds_50100.rrd
434M XXX_sum2nds_50101.rrd
434M XXX_sum2nds_50106.rrd
434M XXX_sum2nds_50107.rrd
434M XXX_sum2nds_50108.rrd
434M XXX_sum2nds_50109.rrd
2.8M XXX_sum2nds_47174.rrd
2.8M XXX_sum2nds_47175.rrd
2.8M XXX_sum2nds_47176.rrd
434M XXX_sum2nds_50104.rrd
Hi,
i'm new on this cacti and try to evaluate it together with Cisco IPSLA. I've installed CactiEZ 0.4, and configured a testrouter.
Everything seems to run very well, it gives nice clean graphs.
One thing is not working for me, i think i must do something wrong.
I putted the MIB's (CISCO-SMI and RTT) in the mib dir: /usr/share/snmp/mibs/.
Then i made an snmp.conf file, because it didn't exist. I placed it in: /usr/share/snmp/
Tried service restart snmpd and i even did a reboot of the machine, but in the data query i still have the numbers and not the descriptions...
Anybody can help me with this ??
i'm new on this cacti and try to evaluate it together with Cisco IPSLA. I've installed CactiEZ 0.4, and configured a testrouter.
Everything seems to run very well, it gives nice clean graphs.
One thing is not working for me, i think i must do something wrong.
I putted the MIB's (CISCO-SMI and RTT) in the mib dir: /usr/share/snmp/mibs/.
Then i made an snmp.conf file, because it didn't exist. I placed it in: /usr/share/snmp/
Tried service restart snmpd and i even did a reboot of the machine, but in the data query i still have the numbers and not the descriptions...
Anybody can help me with this ??
I've got this OK now, i deleted devices, datasources and graphs.
Then recreated everything and it's now showing the descriptions.
What i'm not able to get to work are thresholds for IPSLA RTT.
I made the template, then selected the device and applied templates. But nothing is created.
When i do the same thing for traffic, it works...
Then recreated everything and it's now showing the descriptions.
What i'm not able to get to work are thresholds for IPSLA RTT.
I made the template, then selected the device and applied templates. But nothing is created.
When i do the same thing for traffic, it works...
Re: Upgrade to 0.8.6j
I've seen two people ask this same question in this thread, but no answer has been posted.Bazou wrote: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 ?hwon wrote:The template was exported from 0.8.6j. You will need to upgrade Cacti to 0.8.6j to import it.
Gilles
Is upgrading Cacti the only way to import this template?
I'd rather not if I don't have to, just got it installed yesterday and I really don't feel comfortable enough to upgrade yet. I will at some point, but would really like to get some IP SLA tests setup first.
Well, I scrapped my first implementation and built a new server and new Cacti. I'm now running v.0.8.7b, but still having some issues getting these templates/tests going. The xml files have been imported, and I've attempted to create graphs based on the available tests. However, these tests seem to be set to poll at one minute intervals, while my Cacti implementation is polling every 5 minutes. I cannot figure out where to change this or if this is even the source of my trouble.
I've actually tried changing the poller to 1 minute, but that breaks everything. So, I've decided to stick with 5 minutes until I figure out what I'm doing and then try 1 minute again later.
The SAA Basic graphs were created and show one data point. Nothing else has been graphed.
The SAA HTTP graph was never created.
The tests setup on my router (IPs may appear different, as one is the LAN interface and the other is the Loopback):
Still a newb with Cacti, so not sure where I might be going wrong. However, these tests are the reason that I was asked to build this system, so it's important that I get it figured out.
Any help would be greatly appreciated. I'm happy to provide more information and/or RTFM if pointed in the right direction.
I've actually tried changing the poller to 1 minute, but that breaks everything. So, I've decided to stick with 5 minutes until I figure out what I'm doing and then try 1 minute again later.
The SAA Basic graphs were created and show one data point. Nothing else has been graphed.
The SAA HTTP graph was never created.
The tests setup on my router (IPs may appear different, as one is the LAN interface and the other is the Loopback):
Code: Select all
ip sla responder
ip sla 1
http get http://www.yahoo.com source-ip 10.163.236.1
timeout 10000
threshold 1000
tag vrt1a-MAR-CA23-Yahoo
ip sla schedule 1 life forever start-time now
ip sla 2
http get http://xxx.xxxxxxxxx.com source-ip 10.163.236.1
timeout 10000
threshold 1000
tag vrt1a-MAR-CA23-Intranet
ip sla schedule 2 life forever start-time now
ip sla 3
http get http://www.level3.net source-ip 10.163.236.1
timeout 10000
threshold 1000
tag vrt1a-MAR-CA23-Internet
ip sla schedule 3 life forever start-time now
ip sla 4
http get http://xxxx.net source-ip 10.63.236.1 cache disable
timeout 10000
threshold 250
tag vrt1a-MAR-CA23-BST_Ext
ip sla schedule 4 life forever start-time now
ip sla 5
http get http://db82.xxx.xx source-ip 10.63.236.1 cache disable
timeout 10000
threshold 250
tag vrt1a-MAR-CA23-BST_Int
ip sla schedule 5 life forever start-time now
ip sla 6
http get http://portal.xxx.com source-ip 10.63.236.1 cache disable
timeout 10000
threshold 250
tag vrt1a-MAR-CA23-Portal_Ext
ip sla schedule 6 life forever start-time now
ip sla 7
http get http://portal.xx.xxx.xx source-ip 10.63.236.1 cache disable
timeout 10000
threshold 250
tag vrt1a-MAR-CA23-Portal_Int
ip sla schedule 7 life forever start-time now
ip sla 8
http get http://sp99.xx.xxx.xx source-ip 10.63.236.1 cache disable
timeout 10000
threshold 250
tag vrt1a-MAR-CA23-Synch
ip sla schedule 8 life forever start-time now
Any help would be greatly appreciated. I'm happy to provide more information and/or RTFM if pointed in the right direction.
OK, so I figured out my errors above. I was not familiar enough with how Cacti works, and so I was choosing the wrong graph template when building graphs from the data queries.
I have another issue now. The tag for each query is being cut off in the graph title. It appears as though the variable |query_rttMonCtrlAdminTag| only allows 16 characters. Our IP SLA tests have tags that are longer than this and therefore I don't know which tests I'm looking at until I click through on a graph. Obviously this is not optimal.
How can I change this to allow for more characters from the tag to be displayed in the graph?
Again, happy to RTFM but just not finding anything in the forums or via google.
I have another issue now. The tag for each query is being cut off in the graph title. It appears as though the variable |query_rttMonCtrlAdminTag| only allows 16 characters. Our IP SLA tests have tags that are longer than this and therefore I don't know which tests I'm looking at until I click through on a graph. Obviously this is not optimal.
How can I change this to allow for more characters from the tag to be displayed in the graph?
Again, happy to RTFM but just not finding anything in the forums or via google.
Ethernet IP sla templates
Hi
I was wondering it anyone as looked at or created a template for ethernet IP SLA
http://www.cisco.com/en/US/docs/ios/12_ ... _meth.html
thanks
I was wondering it anyone as looked at or created a template for ethernet IP SLA
http://www.cisco.com/en/US/docs/ios/12_ ... _meth.html
thanks
Hi,
there is a problem with our cacti for ip sla. We had to increase polling-performance by changing our polling-router. We use a Cisco 7301 with IOS 12.4T(20)T now, the config in the same as before. But in cacti the graph-naming has a bug. The graphs and data-sources have names like "'Basic - 271 - |query_rttMonCtrlAdminTag|", where before changing the hardware it was "Basic - 271 - ICMP Jitter Bremen".
I cleared the polling-cache, but the problem is still there.
Any suggestions?
Thanks a lot,
Christian
there is a problem with our cacti for ip sla. We had to increase polling-performance by changing our polling-router. We use a Cisco 7301 with IOS 12.4T(20)T now, the config in the same as before. But in cacti the graph-naming has a bug. The graphs and data-sources have names like "'Basic - 271 - |query_rttMonCtrlAdminTag|", where before changing the hardware it was "Basic - 271 - ICMP Jitter Bremen".
I cleared the polling-cache, but the problem is still there.
Any suggestions?
Thanks a lot,
Christian
Hi
Has anyone managed to resolve the rpn expression error for the jitter dispersion graph???
ERROR: invalid rpn expression in: a,c,/,b,c,/,b,c,/,*,,SQRT
I'm seeing this on my test server running Cacti B. My production server running J works fine.
Here are my RRD versions:-
Cacti 0.8.7b
1.2.26
Cacti 0.8.6j
1.2.9
Here is the full output form a debug.
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="BRPAV2_LONVPCR01 SAA Jitter Dispersion (BRPAV2_LONVPCR01_VOIP)" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="ms" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2psd:AVERAGE \
DEF:b="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumpsd:AVERAGE \
DEF:c="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numpsd:AVERAGE \
DEF:d="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2nsd:AVERAGE \
DEF:e="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumnsd:AVERAGE \
DEF:f="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numnsd:AVERAGE \
DEF:g="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2pds:AVERAGE \
DEF:h="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumpds:AVERAGE \
DEF:i="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numpds:AVERAGE \
DEF:j="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2nds:AVERAGE \
DEF:ba="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumnds:AVERAGE \
DEF:bb="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numnds:AVERAGE \
CDEF:cdefb=b,c,/ \
CDEF:cdefc=a,c,/,b,c,/,b,c,/,*,,SQRT \
CDEF:cdefg=e,f,/,1,* \
CDEF:cdefh=d,f,/,e,f,/,e,f,/,*,,SQRT,1,* \
CDEF:cdefbb=h,i,/ \
CDEF:cdefbc=g,i,/,h,i,/,h,i,/,*,,SQRT \
CDEF:cdefbg=ba,bb,/,1,* \
CDEF:cdefbh=j,bb,/,ba,bb,/,ba,bb,/,*,,SQRT,1,* \
HRULE:0#000000FF:"" \
AREA:cdefb#FF0000FF:"Mean +SD" \
AREA:cdefc#FFAB00FF:"Stddev +SD\n":STACK \
GPRINTLAST:"Last Sum2 +SD\:%8.2lf%s" \
GPRINTLAST:"Sum +SD\:%8.2lf%s" \
GPRINT:c:LAST:"Num +SD\:%8.2lf%s\n" \
AREA:cdefg#FF0000FF:"Mean SD" \
AREA:cdefh#FFAB00FF:"Stddev SD\n":STACK \
GPRINT:d:LAST:" Last Sum2 SD\:%8.2lf%s" \
GPRINT:e:LAST:"Sum SD\:%8.2lf%s" \
GPRINT:f:LAST:"Num SD\:%8.2lf%s\n" \
LINE1:cdefbb#0000FFFF:"Mean +DS" \
LINE1:cdefbc#4668E4FF:"Stddev +DS\n":STACK \
GPRINT:g:LAST:"Last Sum2 +DS\:%8.2lf%s" \
GPRINT:h:LAST:"Sum +DS\:%8.2lf%s" \
GPRINT:i:LAST:"Num +DS\:%8.2lf%s\n" \
LINE1:cdefbg#0000FFFF:"Mean DS" \
LINE1:cdefbh#4668E4FF:"Stddev DS\n":STACK \
GPRINT:j:LAST:" Last Sum2 DS\:%8.2lf%s" \
GPRINT:ba:LAST:"Sum DS\:%8.2lf%s" \
GPRINT:bb:LAST:"Num DS\:%8.2lf%s\n"
RRDTool Says:
ERROR: invalid rpn expression in: a,c,/,b,c,/,b,c,/,*,,SQRT
The versions in my signature are for my production server, not the test server with the problem in question.
Regards
Jay
Has anyone managed to resolve the rpn expression error for the jitter dispersion graph???
ERROR: invalid rpn expression in: a,c,/,b,c,/,b,c,/,*,,SQRT
I'm seeing this on my test server running Cacti B. My production server running J works fine.
Here are my RRD versions:-
Cacti 0.8.7b
1.2.26
Cacti 0.8.6j
1.2.9
Here is the full output form a debug.
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="BRPAV2_LONVPCR01 SAA Jitter Dispersion (BRPAV2_LONVPCR01_VOIP)" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="ms" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2psd:AVERAGE \
DEF:b="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumpsd:AVERAGE \
DEF:c="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numpsd:AVERAGE \
DEF:d="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2nsd:AVERAGE \
DEF:e="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumnsd:AVERAGE \
DEF:f="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numnsd:AVERAGE \
DEF:g="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2pds:AVERAGE \
DEF:h="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumpds:AVERAGE \
DEF:i="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numpds:AVERAGE \
DEF:j="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sum2nds:AVERAGE \
DEF:ba="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":sumnds:AVERAGE \
DEF:bb="C\:/Apache2/htdocs/cacti/rra/brpav2_lonvpcr01_voipmos_40.rrd":numnds:AVERAGE \
CDEF:cdefb=b,c,/ \
CDEF:cdefc=a,c,/,b,c,/,b,c,/,*,,SQRT \
CDEF:cdefg=e,f,/,1,* \
CDEF:cdefh=d,f,/,e,f,/,e,f,/,*,,SQRT,1,* \
CDEF:cdefbb=h,i,/ \
CDEF:cdefbc=g,i,/,h,i,/,h,i,/,*,,SQRT \
CDEF:cdefbg=ba,bb,/,1,* \
CDEF:cdefbh=j,bb,/,ba,bb,/,ba,bb,/,*,,SQRT,1,* \
HRULE:0#000000FF:"" \
AREA:cdefb#FF0000FF:"Mean +SD" \
AREA:cdefc#FFAB00FF:"Stddev +SD\n":STACK \
GPRINTLAST:"Last Sum2 +SD\:%8.2lf%s" \
GPRINTLAST:"Sum +SD\:%8.2lf%s" \
GPRINT:c:LAST:"Num +SD\:%8.2lf%s\n" \
AREA:cdefg#FF0000FF:"Mean SD" \
AREA:cdefh#FFAB00FF:"Stddev SD\n":STACK \
GPRINT:d:LAST:" Last Sum2 SD\:%8.2lf%s" \
GPRINT:e:LAST:"Sum SD\:%8.2lf%s" \
GPRINT:f:LAST:"Num SD\:%8.2lf%s\n" \
LINE1:cdefbb#0000FFFF:"Mean +DS" \
LINE1:cdefbc#4668E4FF:"Stddev +DS\n":STACK \
GPRINT:g:LAST:"Last Sum2 +DS\:%8.2lf%s" \
GPRINT:h:LAST:"Sum +DS\:%8.2lf%s" \
GPRINT:i:LAST:"Num +DS\:%8.2lf%s\n" \
LINE1:cdefbg#0000FFFF:"Mean DS" \
LINE1:cdefbh#4668E4FF:"Stddev DS\n":STACK \
GPRINT:j:LAST:" Last Sum2 DS\:%8.2lf%s" \
GPRINT:ba:LAST:"Sum DS\:%8.2lf%s" \
GPRINT:bb:LAST:"Num DS\:%8.2lf%s\n"
RRDTool Says:
ERROR: invalid rpn expression in: a,c,/,b,c,/,b,c,/,*,,SQRT
The versions in my signature are for my production server, not the test server with the problem in question.
Regards
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Hi
I have managed to solve my problem. When I imported the templates into the test Cacti server I removed all - symbols from the xml. This foooked up my cdefs. Me bad!!!
Jay
I have managed to solve my problem. When I imported the templates into the test Cacti server I removed all - symbols from the xml. This foooked up my cdefs. Me bad!!!
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Who is online
Users browsing this forum: No registered users and 2 guests