95th percentile always shows 0
Moderators: Developers, Moderators
95th percentile always shows 0
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 (31.93 KiB) Viewed 2968 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
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)"
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
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.
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.
-
- Posts: 5
- Joined: Sun Aug 20, 2006 2:59 am
- Contact:
I am also running 0.8.6j (Windows) and having this problem.
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!
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!
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Um... Happened on an upgrade?
From what version to what version?
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]
[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]
-
- Posts: 5
- Joined: Sun Aug 20, 2006 2:59 am
- Contact:
Upgrade
Exactly as I stated in my post, from 0.8.6h to 0.8.6j
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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]
[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]
-
- Posts: 5
- Joined: Sun Aug 20, 2006 2:59 am
- Contact:
Database dump
I have too much sensitive information to be able to do that. Is there something else you can do?
Who is online
Users browsing this forum: No registered users and 1 guest