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

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

Post by aleto »

You can still look, my cacti pass is still the same the one ive mailed you :)
User avatar
kwabbernoot
Cacti User
Posts: 99
Joined: Mon Oct 13, 2003 4:11 am
Location: Zottegem, Belgium

Post by kwabbernoot »

Hi,

I can confirm, created 2 95th percentile graphs on my Cacti 0.8.6i test environment and both graphs do not show up.

When I debug the graph Cacti shows the RRD syntax, but "RRDTOOL Says" -> Nothing

The graphs are displayed when I add the ":2" like specified in the previous posts. I created a bug report.
Regards,
Kwabbernoot

OS : [b]Slackware 10.2.0[/b]
Cacti : [b]0.8.6j[/b]
Cactid : [b]0.8.6j[/b]
Apache : [b]1.3.34[/b]
PHP : [b]5.1.4[/b]
MySQL : [b]4.1.21[/b]
RRDTool : [b]1.2.12[/b]
Net-SNMP : [b]5.3.0[/b]
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 be honest, I had to go back and really look at this issue.

There was a change made to the code, and it was to fix a minor bug. A bug that did not make it required to have the ":2" at the end of the variable. Unfortunatly, even if you had ":2" or ":3" at the end, it always defaulted to a value of "2".

This was silently "fixed" by me and not put in the change log....

I will talk to Ian about potientially reversing the change and or updating the documentation to reflect the requirement of this field.
[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 be honest, I had to go back and really look at this issue.

There was a change made to the code, and it was to fix a minor bug. A bug that did not make it required to have the ":2" at the end of the variable. Unfortunatly, even if you had ":2" or ":3" at the end, it always defaulted to a value of "2".

This was silently "fixed" by me and not put in the change log....

I will talk to Ian about potientially reversing the change and or updating the documentation to reflect the requirement of this field.
Nice to hear, anyhow we fixed it in the meanwhile in the template, i have attached the right version which should work.
Attachments
cacti_graph_template_interface_traffic_bitssec_95th_percentile_total_bandwith.xml
(20.55 KiB) Downloaded 469 times
cebye
Posts: 5
Joined: Wed Mar 08, 2006 9:47 am
Location: Saint Paul, MN

95th percentile graph also gone after upgrade to 0.8.6j

Post by cebye »

I also experienced the 95th Percentile graphs going away after a Cacti upgrade. We are attempting to upgrade from 0.8.6g to 0.8.6j. Are there any other clues to fix this problem?

Most of our graphs are using the 95th Percentile template and no longer display. This is also true for any new 95th Percentile graphs (they do not display). Graphs using other templates continue to work just fine (existing and new).

I re-imported the 95th Percentile XML template from the Forum without fixing the problem:
http://forums.cacti.net/viewtopic.php?t ... c&start=30

We are running the following configuration:
SLES9 SP3
php4 4.3.4-43.46.3
mySQL 4.0.18-32.20
rrdtool 1.0.49-1.dag

Is there a fix available for this problem?

Thank you!
cebye
Posts: 5
Joined: Wed Mar 08, 2006 9:47 am
Location: Saint Paul, MN

Update: 3 graph templates not displaying with 0.8.6j upgrade

Post by cebye »

After further testing, graphs using the following templates are not displayed after upgrade from 0.8.6g to 0.8.6j:
o Traffic (bits/sec, 95th Percentile, Total Bandwidth)
o Traffic (bits/sec, Total Bandwidth)
o Traffic (bytes/sec, Total Bandwidth)

Also, I have already applied the 3 patches identified for 0.8.6j:
o SNMP Ping Method Faulty for PHP Version 4.x
o Tree View Console Missing Hosts
o Problems Displaying RRDtool Graph Thumbnails

(See previous post for more information)

Any suggestions will be welcomed!
cebye
Posts: 5
Joined: Wed Mar 08, 2006 9:47 am
Location: Saint Paul, MN

Solution: Fix thumbnail_graphs_not_working.patch file

Post by cebye »

As described in recent post, changed apparent typo in lib/rrd.php:
http://forums.cacti.net/viewtopic.php?p=92016

After changing $command_string to $comment_string in the thumbnail_graphs_not_working.patch file for lib/rrd.php, all graphs are displaying properly again.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

All I can say is CRAP!

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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok, I decided to speak more. Thanks for the catch. I admit, I don't QA this stuff enough. I sent a note to Ian to revise the patch to remove my offeding mod.

Larry
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?
cebye
Posts: 5
Joined: Wed Mar 08, 2006 9:47 am
Location: Saint Paul, MN

Thanks to savagemindz for finding the problem

Post by cebye »

I am just happy to resolve the problem as we are planning to release the new version tomorrow. Now, I just need to put it in an RPM.

It would be great to have the patch file updated so other people do not have the same issue.
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

I went ahead and updated the patch file with the fix. Good catch.

-Ian
Post Reply

Who is online

Users browsing this forum: anwaraahmad1 and 2 guests