95th Percentile

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
danabersoch
Posts: 2
Joined: Thu Jul 04, 2013 11:23 am

95th Percentile

Post by danabersoch »

Hi Guys, I have seen that a few people have had issues with nth percentile graphing but can't see a common fix and I am under a lot of pressure to get this sorted asap.

My issue is that a Interface - Traffic (bits/sec) graph works fine and is viewable but when I try using the Interface - Traffic (bits/sec, 95th Percentile) on the same interface the graph doesn't display.

I have tried this for a Cisco Switch and Cisco ASA and it doesn't work (when the normal graph does).

I read somewhere that I need to manually change the Data Source, this made sense as the data source is "Interface - Traffic" for the normal graph and the 95th perc graph, the problem is that there was nothing obvious to change it too (no 95th percentile option).

Here is the version info:
Cacti Version 0.8.7h
Cacti OS unix
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.3.x



Here is the debug for the 95th percentile graph:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='ansms-dc01-asa01-pri - Traffic - inside' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:6: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/rra/ansms-dc01-asa01-pri_traffic_in_201.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/rra/ansms-dc01-asa01-pri_traffic_in_201.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
CDEF:cdefbg=TIME,1372956920,GT,a,a,UN,0,a,IF,IF,TIME,1372956920,GT,b,b,UN,0,b,IF,IF,+ \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Transfer\: 80.21 MB" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
HRULE:|95\:bits\:0\:current|#00FF00FF:"95%\:" \
COMMENT:"|95\:bits\:6\:current| mbit\n" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:" \n" \
HRULE:136100.86#FF0000FF:"95th Percentile" \
COMMENT:"(0.14 mbit in+out)" \
COMMENT:"Transfer\: 26.31 MB" \
HRULE:|95\:bits\:0\:current|#0000FFFF:"95%\:" \
COMMENT:"0.18 mbit" \
COMMENT:"Total Transfer\: 106.53 MB\n"



Please let me know if there is anything else you need to help me, thanks in advance.
danabersoch
Posts: 2
Joined: Thu Jul 04, 2013 11:23 am

Re: 95th Percentile

Post by danabersoch »

Can anyone help????
guapo159
Posts: 1
Joined: Fri Oct 29, 2010 8:12 am

Re: 95th Percentile

Post by guapo159 »

Hi,

I have the same issue in version 0.8.8a. When i turn on the debug for the graph i also get "RRDTool Says:" but nothing below that title. Normally it should say OK. I also made some tests with cisco switches and ASA firewall.

When i load the page in the tree where the device/graph is located, i get the following error in apache logging for each graph: "sh: -c: line 1: syntax error: unexpected end of file". But i can't locate the file causing the error entry.

Can you verify you apache error log as well?
Maybe some other cacti users can help???

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests