Cacti 0.8.7 Beta 2 - Availiable for testing

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

galco
Cacti User
Posts: 63
Joined: Fri Aug 03, 2007 3:09 am
Location: Barcelona, Catalunya

cacti.sql hasn't got a consolidate function for hourly rra

Post by galco »

Hi,
cacti.sql adds a new Hourly rra entry but it doesn't has any consolidate functiona associated. This is a problem because when you want to graph a new interface you can't because rrdtool can't create corresponding rra file.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You would have to modify you data templates. This was intentional. We will be providing other significant enhancements in the future that will reduce the current application of such things in a seamless manor between Cacti versions.

So, you observation was correct and intentional. Please provide feedback as appropriate.

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?
mrnoodle
Cacti User
Posts: 59
Joined: Sun Apr 02, 2006 3:56 pm

Font Settings Problems

Post by mrnoodle »

The issue where Cacti would not honor the font settings configured in the Settings portion of the configuration still exists in Beta 2 but I believe I have found the cause for the issue.

In the file rra.php, lines 1564 and 1574, the current code reads:

Code: Select all


if ($size <=0) {

I don't know much about PHP, but I think it should read:

Code: Select all


if ($size >=0) {

I would imagine the intent of the Function was to check and see if the Font size was set to a value above 0 as opposed to a negative value.

I have modified the 2 lines listed above and it now appears to honor the Font Settings as expected.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please submit a bug report using the following: http://www.cacti.net/bugs.php
[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]
mrnoodle
Cacti User
Posts: 59
Joined: Sun Apr 02, 2006 3:56 pm

Font Settings Problems

Post by mrnoodle »

rony wrote:Please submit a bug report using the following: http://www.cacti.net/bugs.php
Bug Submitted:

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

Post by rony »

Thank you, this bug should make beta 3 by the end of the week.
[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
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The real issue is that there are system and user settings. By default, in prior releases the system default would always take precident unless the user set both the font file and size.

However, it was brought to our attention that all that is required to set sizes is that the users font size be set. That is what drove these changes.

The downside of that is that the size is set for all users, so the users setting always take precident. In hindsight, this may have not been the best idea.

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?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Well, I had 2 free moments today, which is the first in a long time, so here is the Plugin Architecture updated to work with the latest beta. I haven't fully "tested" this, its just an updated diff, so feel free to blame me for any problems you find.
Attachments
cacti-plugin-0.8.7-beta2-v1.2.zip
Plugin Architecture v1.2 for Cacti 0.8.7-beta2
(10.69 KiB) Downloaded 3155 times
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests