0

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?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
kumar
  • 2,696
  • 3
  • 26
  • 34

1 Answers1

1

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.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Tobi Oetiker
  • 5,167
  • 2
  • 17
  • 23