95th Percentile not displaying after upgrade>0.8.6i
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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]
[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]
Re: 95th Percentile not displaying after upgrade>0.8.6i
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: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?
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,
Hi Tony,
Sorry for the inconvience, here is the XML file again.
Sorry for the inconvience, here is the XML file again.
- Attachments
-
- cacti2.xml
- (21.05 KiB) Downloaded 261 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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]
[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]
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.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.
Anyways, i'll send you a copy of my database!
Managed to fix it: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..
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..
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Tony will be interested in understanding why it worked in H and not in I though.
TheWitness
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?
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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...
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]
[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]
Who is online
Users browsing this forum: No registered users and 2 guests