Cacti 0.8.7 Beta 2 - Availiable for testing
Moderators: Developers, Moderators
cacti.sql hasn't got a consolidate function for hourly rra
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.
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.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
Font Settings Problems
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:
I don't know much about PHP, but I think it should read:
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.
In the file rra.php, lines 1564 and 1574, the current code reads:
Code: Select all
if ($size <=0) {
Code: Select all
if ($size >=0) {
I have modified the 2 lines listed above and it now appears to honor the Font Settings as expected.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
Font Settings Problems
Bug Submitted:rony wrote:Please submit a bug report using the following: http://www.cacti.net/bugs.php
0001011
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
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
Who is online
Users browsing this forum: No registered users and 0 guests