I have some legacy code which uses the RRDs module (RRDs::fetch), but now the RRD file generation is changed.
A 64-bit program is generating an RRD file which can't be read by 32-bit Perl. So I am planning to use the 64-bit RRDtool to imitate the RRDs:: fetch behavior. Is there a sample implementation?
Just call rrdtool fetch
. On the other hand, you might also want to think about installing a 64-bit Perl and then just use the 64-bit vesion of RRDs::fetch
.
Note that you could use App::perlbrew to install Perl in a private directory.
Or if you want to install Perl AND RRDtool without disturbing the rest of your system, have a look at Simple Dependency Build Scripts.