Aside from being a superb MRTG and smokeping backend, rrdtools is a surprisingly good database and graphing tool for scientific an technical applications, which in my case, it’s for storing and charting pilot scale reactors process variables.
We all know that the Win32 binaries for RRDtool on its website is rarely updated, if at all, with the most recent Win32 binary version being 1.2.30 while the latest RRDtool is already 1.4.4.
If you don’t want the hassle of compiling it from scratch, here’s the working binary of RRDtool 1.4.4 compiled using Visual C++ 2010. All dependent libraries are included, save for not so GPL friendly Visual C++ 2010 Redistributable, which you can download from Microsoft.com
Slightly modified sources to make things work: RRDtool-v.1.4.4-src.rar
Win32 binaries compiled against msvcr100.dll: RRDtool v. 1.4.4-bin.zip
* Issues
- The rrd_flushcached function in the Perl module RRDs.pm does NOT work. You won’t need this to run MRTG etc anyway!
October 18th, 2010 at 10:48 am
Thank you.
October 20th, 2010 at 11:44 am
Thanks for this – Open Source community not showing love to Windows
October 25th, 2010 at 4:10 pm
Thanks for the support! It’s pretty weird running MRTG tools on Win32, perhaps thats why Cacti or other teams aren’t bothered to compile the latest rrdtools for Win32!
November 26th, 2010 at 10:56 am
Hi,
Thank you.
But i have a little problem.
When i want graph my rrd that’s doesn’t work when i use the stdout.
that’s work prefectly when i specify a filename
exemple :
rrdtool.exe graph – [option] > test.png not work
rrdtool.exe graph test.png [option] work
Have you the same bug ?
Thanks very much.
Tony
PS : Sorry for my english
December 2nd, 2010 at 2:13 am
Hello to you Tony!
I’m not sure why that doesn’t work in your case but I don’t have problems using such command with php’s shell execute command. What about trying alternative shells to see if its windows’s cmd that is failing you?
Cheers
March 1st, 2011 at 10:22 am
So glad to find a more recent build of rrdtool for windows, is there any chance of releasing a build of the latest 1.4.5 version as this seems to have a few more Windows specific fixes?
May 18th, 2011 at 9:04 pm
First Thanks for share your work.
There is a problem with plots that use weeks number in the x axis
to “solve” this I had to include the files src/strftime.h and src/strftime.c to the rrdlib project and change the calls of strftime() in rrd_graph.c to strftime_()
July 30th, 2011 at 7:00 pm
How to install the perl module?
I tried this with perl 5.10 (Activestate)
C:\rrdtool-1.4.4-src\rrdtool-1.4.4\bindings\perl-shared>perl ntmake-build
Set up gcc environment – 3.4.5 (mingw-vista special r3)
Note (probably harmless): No library found for ../../src/release/rrd.lib
Writing Makefile for RRDs
C:\rrdtool-1.4.4-src\rrdtool-1.4.4\bindings\perl-shared>nmake test
Das angegebene Programm kann nicht ausgeführt werden.
C:\rrdtool-1.4.4-src\rrdtool-1.4.4\bindings\perl-shared>make test
syntax error at -e line 1, next char )
Missing right curly or square bracket at -e line 1, at end of line
Execution of -e aborted due to compilation errors.
make: *** [pm_to_blib] Error 255
C:\rrdtool-1.4.4-src\rrdtool-1.4.4\bindings\perl-shared>dmake test
cp RRDs.pm blib\lib\RRDs.pm
D:\Programme\Perl\bin\perl.exe D:\Programme\Perl\site\lib\ExtUtils\xsubpp -typemap D:\Programme\Perl\lib\ExtUtils\typemap RRDs.xs > RRDs.xsc && D:\Programme\Perl\bin\perl.exe -MExtUtils::Command -e “mv” — RRDs.xsc RRDs.c
D:/PROGRA~1/Perl/site/bin/gcc.exe -c -I../../src/ “-I/Program Files/GnuWin32/include” -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -MD -DVERSION=\”1.4004\” -DXS_VERSION=\”1.4004\” “-ID:\Programme\Perl\lib\CORE” -DPERLPATCHLEVEL=5 RRDs.c
RRDs.xs:27:30: ../../rrd_config.h: No such file or directory
In file included from ../../src/rrd_tool.h:16,
from RRDs.xs:28:
../../src/../win32/config.h:37:1: warning: “isinf” redefined
In file included from D:/Programme/Perl/lib/CORE/perl.h:3931,
from RRDs.xs:6:
D:/PROGRA~1/Perl/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h:371:1: warning: this is the location of the previous definition
In file included from ../../src/rrd_tool.h:16,
from RRDs.xs:28:
../../src/../win32/config.h:38:1: warning: “isnan” redefined
In file included from D:/Programme/Perl/lib/CORE/perl.h:3931,
from RRDs.xs:6:
D:/PROGRA~1/Perl/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h:405:1: warning: this is the location of the previous definition
In file included from ../../src/rrd_tool.h:16,
from RRDs.xs:28:
../../src/../win32/config.h:58: error: conflicting types for ’round’
../../src/../win32/config.h:58: error: conflicting types for ’round’
In file included from ../../src/rrd_tool.h:19,
from RRDs.xs:28:
../../src/rrd.h:64: error: conflicting types for ‘ssize_t’
D:/PROGRA~1/Perl/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h:104: error: previous declaration of ‘ssize_t’ was here
dmake.exe: Error code 129, while making ‘RRDs.o’
August 29th, 2011 at 2:39 pm
Christian: the perl module does not properly install in this version. Also, the binary provided here was compiled against VC++2010 and not MingGW/GCC.
September 16th, 2011 at 7:40 am
Trying to get this going with MRTG, but it complains about not having an RRDs.pm file. it does not seem to be part of the package here, and I have scoured the internet to no avail. Is this a file you might have as well?
January 12th, 2012 at 5:42 am
Link’s don’t work!!
February 1st, 2012 at 7:25 pm
made it with rrdtool 1.4.7
http://ckx.blogspot.com/2012/02/rrdtool-v147-win32-binaries-rrds-for.html
February 11th, 2012 at 7:02 pm
gonace: oh yes they do
christian: thanks!
June 4th, 2012 at 4:42 pm
@Tony: I have the same problem here. In fact, when you send the data to the standard output, then redirect to a file, line endings are converted to DOS format (\r\n). Thus, the PNG is broken.
If you send the data directly to a file, no conversion happens and the file is correct.
June 4th, 2012 at 5:20 pm
@Tony: “solved” by reverting to version 1.2