RRD Tool Update (FC4 package rrdtool.i386 1.2.13-2.fc4)

"Shannon Reis" <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
The latest version of the RRD tool RRDtool 1.2.13 delivered via YUM
(rrdtool.i386 1.2.13-2.fc4) for FC4 seems to have two major issue:

- Fedora has changed from a site based RRD to a local install
- The new version enforces the "Comments must have colons escaped" rule

The first one is relatively easy to solve by adding a line in the
[CRICKET_INSTALLDIR]/cricket-conf.pl:
use lib '/usr/local/rrdtool-1.2.12/lib/perl/5.8.6/i386-linux-thread-multi';

The next one is a bit more annoying.  I added a small function to
grapher.cgi:

sub escapecolon
{
  my $in = shift;

  $in =~ s/\:/\\:/g;
  return $in;

}

And, then changed the line that looks like this:
        push @gprints, "COMMENT:\\s", "COMMENT:Last updated at $lasttime",

To this:
        push @gprints, "COMMENT:\\s", "COMMENT:Last updated at
".escapecolon($lasttime),


Anyone else run into these problems?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.