95th Percentile not displaying after upgrade>0.8.6i

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

Moderators: Developers, Moderators

User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Ok, I need access to login to your system.

I also need the exact URL that you give you the broken graph.

Please email me the information.
[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]
User avatar
chercen
Posts: 41
Joined: Sun Apr 09, 2006 4:16 pm
Location: Spain

Re: 95th Percentile not displaying after upgrade>0.8.6i

Post by chercen »

aleto wrote:Last night (3:10AM CEST) i upgraded to cacti 0.8.6i from 0.8.6h.

Everythings work SMOOTHLY, and perfect. Except for the 95th percentile calculation.

See the attachment for information, im probaly overlooking something?

After hours of research, cursing, too and too much coffee ive managed to find 2 differences:

Anyone got ANY idea what this could be?
Same problem here, I have just created a 95th percentile graph and it doesnt get created... Turning on graph debuggin it seems there is no error:
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Acceso a Internet 95% percentile" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/www/cacti/rra/va_cisinet1_traffic_in_1595.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/cacti/rra/va_cisinet1_traffic_in_1595.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefh=b,8,* \
CDEF:cdefbb=a,UN,INF,UNKN,IF \
CDEF:cdefbg=TIME,1161068324,GT,a,a,UN,0,a,IF,IF,TIME,1161068324,GT,b,b,UN,0,b,IF,IF,+ \
CDEF:cdefbh=TIME,1161068324,GT,a,a,UN,0,a,IF,IF,TIME,1161068324,GT,b,b,UN,0,b,IF,IF,+ \
AREA:cdefa#157419:"In" \
GPRINT:cdefa:LAST:" Cur\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Av\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s" \
COMMENT:"Transfer\: 34.72 GB" \
HRULE:|95\:bits\:0\:current|#00FF00:"95%\:" \
COMMENT:"|95\:bits\:6\:current| mbit\n" \
LINE1:cdefh#002A8F:"Out" \
GPRINT:cdefh:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefh:AVERAGE:"Av\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Max\:%8.2lf %s" \
AREA:cdefbb#8F9286:"" \
COMMENT:"Transfer\: 72.73 GB" \
HRULE:|95\:bits\:0\:current|#0000FF:"95%\:" \
COMMENT:"|95\:bits\:6\:current| mbit\n" \
COMMENT:"\n" \
HRULE:38460405.17#FF0000:"Total 95%\:" \
COMMENT:"38.46 mbit" \
COMMENT:"Total Transfer\: 107.46 GB\n"

RRDTool Says:

Regards,
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

Hi Tony,

Sorry for the inconvience, here is the XML file again.
Attachments
cacti2.xml
(21.05 KiB) Downloaded 261 times
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

rony wrote:Ok, I need access to login to your system.

I also need the exact URL that you give you the broken graph.

Please email me the information.
Done, e-mailed you my cacti login info!
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

Any update on this so far? ;)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I will look at it when I get home.. :)
[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]
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

rony wrote:I will look at it when I get home.. :)
Take your time.. its about.. 01:00AM in the night here.. so dont rush.. by the time i'll get up for work you'll have probaly sorted it all out ;)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Your template is corrupted...

I suggest you remove it and recreate it from scratch.

But, before you do that, please dump and send me a copy of you database.
[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]
User avatar
chercen
Posts: 41
Joined: Sun Apr 09, 2006 4:16 pm
Location: Spain

Post by chercen »

rony wrote:Your template is corrupted...

I suggest you remove it and recreate it from scratch.

But, before you do that, please dump and send me a copy of you database.
Should we import the 95% percentile xml template? Can we download it from somewhere?

Regards,
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

rony wrote:Your template is corrupted...

I suggest you remove it and recreate it from scratch.

But, before you do that, please dump and send me a copy of you database.
Recreate it from scratch? And how can my database get corrupted, more people have this! So far i know 4 more people have this issue with cacti 0.8.6i.

Anyways, i'll send you a copy of my database!
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

little update:

The problems start occuring when im adding:
|95:bits:0:current|

Basically anything with '95:bits:current' in it starts to fail, thus not creating the graphs..

HTHH..
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

aleto wrote:little update:

The problems start occuring when im adding:
|95:bits:0:current|

Basically anything with '95:bits:current' in it starts to fail, thus not creating the graphs..

HTHH..
Managed to fix it:
When im placing: |95:bits:0:current:2|
Then im getting graphs! (Which are correct)
(Also correct according to the documentation)

Im going to double check everything and post the new graph template here..
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Tony will be interested in understanding why it worked in H and not in I though.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

Well according to the cacti docs:
[0-9] Enter the number of digits to use for floating point
precision when printing out the final number. The default
value for this field is two decimal places.
Apparently, it does not 'default' set it to 2 decimal places..
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I saw that and changed those values...

But what concerns me is that I was seeing extra entries in the debug... Maybe I was seeing things.

If you don't mind, I'm going look again... :)
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests