RRDTool 1.3 available for download

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

RRDTool 1.3 available for download

Post by rcaston »

Recently the beta for rrdtool 1.3 was released. (actual versioning is 1.2.99907080300) - information available here

I went ahead and began playing with it in test and having found no problems; moved it into production.

Combined with the Boost Plugin I found the write process to be about 15-20% faster with 1.3 versus 1.2.23.

Boost Stats: RRDTool 1.2.23
Last Start Time: 2007-08-07 13:26:14
Last Run Duration: 472.9507 Seconds
RRD's Updated: 252231

Boost Stats: RRDTool 1.3
Last Start Time: 2007-08-07 16:56:12
Last Run Duration: 424.6944 Seconds
RRD's Updated: 315157

# Being that this is beta code please remember that you are using it at your own risk.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

I'm using RRDtool 1.3 beta 1 on a test system, and it works fine (with Cacti 0.8.6k beta 2).

RRDtool 1.3 needs Cairo/Pango for graphing, and does not need TTF fonts anymore (in fact no font is provided).

Graphs look different :
  • 1.2.23

    Image
  • 1.3 beta 1

    Image
I'll try to play with text alignement today and fonts sizes...
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Post by rcaston »

I'll try to play with text alignement today and fonts sizes...
Where/How are you playing with the font size and alignment with rrdtool 1.3? Since the visual tab in cacti is only relevant it seems for 1.2
gru
Posts: 11
Joined: Fri Jun 02, 2006 2:46 am

VARCHAR and trailing spaces

Post by gru »

Hi,

I've also upgraded to rrdtool 1.3 beta and had an alignment problem.

It looked like this:
Image
There was no space between the current counter and "Average" and the average counter and "Maximum" (like with rrdtool 1.2).

I tried to add a trainling space in the GPRINT definition but Mysql was removing it always.
So I read the MySQL docu and found that changing the gprint_text column from VARCHAR to TINYTEXT (or any other TEXT type) keeps trainling spaces and would not need more data type memory.

So I changed column type and added the trailing space:.
Now it looks like I want it:
Image

Perhaps Cacti developers could consider this change of data types.

Best regards,
Johannes
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Thank you for posting.
Please post images as attachments.
Reinhard
gru
Posts: 11
Joined: Fri Jun 02, 2006 2:46 am

Post by gru »

OK acknowledged :D
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Does anyone have RRDTOOL 1.3 as a windows (exe) binary ? I tried to compile my own using Cygwin, but seem to have failed ! Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
jpooton
Posts: 7
Joined: Mon Aug 07, 2006 3:18 pm

Post by jpooton »

Is there any work being done to correct GPRINT alignment for RRDtool 1.3 in Cacti? I'm seeing the mis-aligned GPRINTS text as shown in the 2nd post here on all my graphs.

Just curious before I go about rolling back RRDtool.

FWIW, Fedora Core 8 uses RRDtool 1.3beta1 as part of its distro currently.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Alignment may look weird if not using mono-spaced fonts. Cacti does not yet support new "alignment" codes introduced with latest rrdtool versions
Reinhard
jpooton
Posts: 7
Joined: Mon Aug 07, 2006 3:18 pm

Post by jpooton »

gandalf wrote:Alignment may look weird if not using mono-spaced fonts. Cacti does not yet support new "alignment" codes introduced with latest rrdtool versions
Reinhard
Yeah, I've tried several different fixed width fonts(courier, console-mono, etc) but the results are the same. I guess I'm waiting for an updated Cacti to go along with the new RRDtool.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please visit such a graph at Graph Management, switch to DEBUg and post a screenshot
Reinhard
jpooton
Posts: 7
Joined: Mon Aug 07, 2006 3:18 pm

Post by jpooton »

Thanks for taking a look! Here you go...

Edit: oops... sorry.. need to redo the screenshot.
jpooton
Posts: 7
Joined: Mon Aug 07, 2006 3:18 pm

Post by jpooton »

Actually in creating the screenshots I noticed something that might be at the root of the problem here. It looks like the new RRDtool has made some changes regarding font usage:

http://oss.oetiker.ch/rrdtool-trac/wiki/RRDtool13

We now use Pango for all text rendering. Pango integrates with Cairo, Freetype and Fontconfig. This has a number of implications:

- Fonts are accessed through the fontconfig interface. This means you get access to all fonts on your system, and at the same time loose the ability to use true type fonts directly.

- All text is passed through Pango Markup. This means it is now possible to switch font properties inside any rrdtool graph text field.

I noticed this as I was making a mockup with 4 different fonts -- nothing ever changed with the font face, just size. So it looks like RRDtool is just looking to do name matching against "installed" fonts now rather then using a given TTF file. The problem is that unless Cacti can find the "font filename" you spec in the visual properties, it won't output anything in the font name area.

Or I could just be loosing it :)
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

I've just saw that RRDtool 1.3 was the one shiped with Fedora 8...
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Some news :)

RRDtool 1.3 beta 4 was out this morning, with a lot of bugfixes, including this one :
* fixed: major text alignement bug in rrdtool graph
It builds fine on RHEL5, but RHEL4 needs "pangocairo". Still searching...
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest