Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


RRDTool 1.3 available for download
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
rcaston
Cacti User


Joined: 06 Jan 2004
Posts: 199
Location: US-Dallas, TX

PostPosted: Tue Aug 07, 2007 1:24 pm    Post subject: RRDTool 1.3 available for download Reply with quote

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.
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Wed Aug 08, 2007 2:02 am    Post subject: Reply with quote

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



  • 1.3 beta 1



I'll try to play with text alignement today and fonts sizes...
Back to top
rcaston
Cacti User


Joined: 06 Jan 2004
Posts: 199
Location: US-Dallas, TX

PostPosted: Fri Aug 10, 2007 11:31 am    Post subject: Reply with quote

Quote:
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
Back to top
gru



Joined: 02 Jun 2006
Posts: 7

PostPosted: Wed Sep 12, 2007 3:17 am    Post subject: VARCHAR and trailing spaces Reply with quote

Hi,

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

It looked like this:

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:


Perhaps Cacti developers could consider this change of data types.

Best regards,
Johannes
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Thu Sep 13, 2007 1:22 pm    Post subject: Reply with quote

Thank you for posting.
Please post images as attachments.
Reinhard
Back to top
gru



Joined: 02 Jun 2006
Posts: 7

PostPosted: Fri Sep 14, 2007 1:04 am    Post subject: Reply with quote

OK acknowledged
Back to top
mcutting
Cacti Guru User


Joined: 16 Oct 2006
Posts: 1007

PostPosted: Mon Oct 08, 2007 12:36 am    Post subject: Reply with quote

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
Back to top
jpooton



Joined: 07 Aug 2006
Posts: 7

PostPosted: Tue Jan 01, 2008 6:08 pm    Post subject: Reply with quote

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.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Thu Jan 03, 2008 11:57 am    Post subject: Reply with quote

Alignment may look weird if not using mono-spaced fonts. Cacti does not yet support new "alignment" codes introduced with latest rrdtool versions
Reinhard
Back to top
jpooton



Joined: 07 Aug 2006
Posts: 7

PostPosted: Mon Jan 07, 2008 11:09 am    Post subject: Reply with quote

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.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Wed Jan 09, 2008 2:54 pm    Post subject: Reply with quote

Please visit such a graph at Graph Management, switch to DEBUg and post a screenshot
Reinhard
Back to top
jpooton



Joined: 07 Aug 2006
Posts: 7

PostPosted: Wed Jan 09, 2008 5:34 pm    Post subject: Reply with quote

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

Edit: oops... sorry.. need to redo the screenshot.
Back to top
jpooton



Joined: 07 Aug 2006
Posts: 7

PostPosted: Wed Jan 09, 2008 6:07 pm    Post subject: Reply with quote

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:


Quote:

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
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Mon Jan 14, 2008 3:36 am    Post subject: Reply with quote

I've just saw that RRDtool 1.3 was the one shiped with Fedora 8...
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Wed Feb 06, 2008 4:06 am    Post subject: Reply with quote

Some news

RRDtool 1.3 beta 4 was out this morning, with a lot of bugfixes, including this one :
Quote:
* fixed: major text alignement bug in rrdtool graph

It builds fine on RHEL5, but RHEL4 needs "pangocairo". Still searching...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group