[rrd-users] Need workaround for rrdtool on Solaris 8
Dagobert Michelsen
dam at opencsw.org
Mon Feb 20 10:10:29 CET 2012
Hi its,
Am 20.02.2012 um 04:23 schrieb its:
> So here is the issue..
>
> Our current rrdtool which is running on Solaris 8 boxes is 1.0.37
>
> We are moving our system to RHEL5. Now I installed the packages in there and
> the rrdtool which got installed is 1.4.5
>
> Now there is a central server which is still going to be on a Solaris 8 box
> which collects all rrd DB from various boxes and generates graphs. That
> version is 1.0.37.
>
> 1) Issue 1
>
> When the older version tries to generate graph for the .rrd DB of new
> version I get the error
>
> ERROR: can't handle RRD file version 0003
>
> It still generates the graphs for existing other older .rrd DB but NOT for
> the ones created by the 1.4.5 version (I guess incompatibility)
>
> 2) Issue 2
>
> Then we installed CSWrrdtool on Solaris 8. It installs the version 1.4.2
>
> When this is run on all the old and new .rrd (created by .37 on Solaris and
> .4.5 on RHEL) we get the following error on ALL db (old and new)
>
> "ERROR: LINE width is out of range in line"
>
> On google I found this:
> https://www.opencsw.org/mantis/print_bug_page.php?bug_id=4380
>
> So this issue does not generate graph for ANY .rrd when using 1.4.2 on
> Solaris 8
This is correct. Both 1.4.2 and 1.4.3 are completely broken on Solaris.
See my bug report for reference:
http://oss.oetiker.ch/rrdtool-trac/ticket/271
You probably can use the older version 1.3.8 which is still available in the
package archive:
http://mirror.opencsw.org/opencsw/allpkgs/
http://mirror.opencsw.org/opencsw/allpkgs/rrdtool-1.3.8%2cREV%3d2009.05.19-SunOS5.8-sparc-CSW.pkg.gz
> So our setup is going to be
>
> 1) All db created on RHEL machines
> 2) All DB collated on a Solaris 8 machine and graph is generated
>
> How do I fix this? N00b on compiling and manual installation of rrdtools
>
> Is there anyway we can fix this issue? Probably best way will be to fix the
> one on Solaris 8??
>
> Any help will be great!!!
It may be possible to build a current rrdtool with limited dependencies.
The current version uses cairo and glib2, and a current glib2 is almost
impossible to build on Solaris 8 (and was still hard on Solaris 10).
The last glib2 we have for Solaris 8 is 2.23.5 which may or may not be
recent enough. However, doing all this probably takes a day to do and
I have doubts the time is well spent on Solaris 8.
The build recipe and patches are fully open, if you are interested is
rebuilding it for Solaris 8 I can give you OpenCSW buildfarm access
where there are still Solaris 8 build machines with different compilers
available:
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/rrdtool/trunk/Makefile
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/rrdtool/trunk/files/
Is there any reason why you just can't update to Solaris 10?
Best regards
-- Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
More information about the rrd-users
mailing list