95th percentile always shows 0

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

Moderators: Developers, Moderators

Post Reply
lunelson
Posts: 5
Joined: Thu Mar 02, 2006 11:32 am

95th percentile always shows 0

Post by lunelson »

I can't get the 95th percentile graphing to work. It seems like it should be higher than 0 but shows up at 0 for all of my graphs. Any ideas? I'm running openSuse 10.2, with Cacti 0.8.6j. All other graphs appear to be working just fine. Thanks for the help.
Attachments
graph-example.gif
graph-example.gif (31.93 KiB) Viewed 2965 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please post the debug for the graph.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
lunelson
Posts: 5
Joined: Thu Mar 02, 2006 11:32 am

Post by lunelson »

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="pfSense Overland Park - Traffic - xl0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12:/usr/share/fonts/truetype/DejaVuSans.ttf \
--font AXIS:7:/usr/share/fonts/truetype/DejaVuSans.ttf \
--font LEGEND:8:/usr/share/fonts/truetype/DejaVuSans.ttf \
--font UNIT:7:/usr/share/fonts/truetype/DejaVuSans.ttf \
DEF:a="/usr/share/cacti/rra/pfsense_overland_park_traffic_in_64.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/rra/pfsense_overland_park_traffic_in_64.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"  \
COMMENT:"\n"  \
HRULE:0#FF0000:"95th Percentile"  \
COMMENT:"(0 mbit in+out)" 
Thanks!
gesalec
Posts: 12
Joined: Tue Jul 11, 2006 1:28 pm

Post by gesalec »

I am having the same issue. It is occuring on a handful of graphs. The rest seem to be working fine. Have you figured out what is causing the problem yet?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Version of Cacti which you are running?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
gesalec
Posts: 12
Joined: Tue Jul 11, 2006 1:28 pm

Post by gesalec »

I am currently running 0.8.6j. My graph debugs look similar to the one that was posted above, which is why I didn't feel the need to post another one.

While looking into the problem yesterday I noticed some things. On the device that is having theses problems, one port is actually graphing the 95th percentile correctly while the rest are not. Also, while trying to discover what the issue might be, I noticed that the data source "Output Type ID" was set to In/Out Bytes with Total Bandwidth instead of In/Out Bytes with 95th percentile. Thinking that this might be the cause of the problem I changed it to In/Out Bytes with 95th Percentile. This had no apparent effect on the graph.
marnues
Posts: 40
Joined: Fri Mar 02, 2007 4:33 pm

Post by marnues »

As a fix, I have found that if you open up the graph in graph management, save the graph, then force refresh the graph, the 95th percentile should work.
This is not a long term fix and I would love to know why this is happening, but it seems to be a fairly common problem for our 95th graphs.
wizwareinc
Posts: 5
Joined: Sun Aug 20, 2006 2:59 am
Contact:

I am also running 0.8.6j (Windows) and having this problem.

Post by wizwareinc »

As soon as I upgraded from 0.8.6h to hopefully solve some total bandwidth calculation problems, I started having this problem. I never had a 95th Percentile calculation problem before the upgrade.

Is there a fix for this yet? I have noticed that a temp fix is indeed opening the graph in graph management, saving it, then refreshing. I don't know how long it will last and it would take a a LONG time to go through each graph to do this. Please help!
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um... Happened on an upgrade?

From what version to what version?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
wizwareinc
Posts: 5
Joined: Sun Aug 20, 2006 2:59 am
Contact:

Upgrade

Post by wizwareinc »

Exactly as I stated in my post, from 0.8.6h to 0.8.6j
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Sorry I missed that... :-?

Can you email me a dump of you database? Please remember to compress it. I want to see if I can write you a query that will resolve your issue.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
wizwareinc
Posts: 5
Joined: Sun Aug 20, 2006 2:59 am
Contact:

Database dump

Post by wizwareinc »

I have too much sensitive information to be able to do that. Is there something else you can do?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest