[rrd-users] Re: Adding a DS to an existing RRD
Jeff Rodriguez
jeff at unixisgod.com
Wed Aug 27 01:54:57 MEST 2003
Oops!
Change:
########################################################################
# Add the extra "<v> NaN </v>" under the RRAs. Just print normal lines #
########################################################################
if ($parse == 1)
{
print substr($line, 0, -6);
print "<v> NaN </v>";
print substr($line, -6);
print "\n";
}
else
{
print "$line\n";
}
------------------------------------------------------------------------
To read:
########################################################################
# Add the extra "<v> NaN </v>" under the RRAs. Just print normal
lines #
########################################################################
if ($parse == 1)
{
$line =~ s/<row>/<row><v> NaN <\/v>/;
print "$line\n";
}
------------------------------------------------------------------------
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list