Welcome to the Monitorix project
Take control over your small server
News
03-Apr-2014
I've noticed that some people (depending of the RRDtool version installed) while updating to 3.5.0 from older versions have experienced a problem when starting the new 3.5.0 version. There is a bug in the conversion of thefs.rrd
file that prevents to complete it successfully with the message ERROR: line 1237: expected </row> element but found <v>.
That annoying bug will be fixed in the next version. In the meantime though, you can work around that problem just applying the following simple patch to the /usr/lib/monitorix/fs.pm
program:
--- /usr/lib/monitorix/fs.pm 2014-03-24 15:00:59.000000000 +0100 +++ fs.pm 2014-04-03 22:09:23.000000000 +0200 @@ -191,7 +191,7 @@ if(/<\/row>/) { my $str = $_; my $n = 0; - $str =~ s/( <\/v>)/++$n % 3 == 0 ? " $1<v> NaN <\/v><v> NaN <\/v><v> NaN <\/v><v> NaN <\/v><v> NaN <\/v>" : $1/eg; + $str =~ s/(\s*<\/v>)/++$n % 3 == 0 ? " $1<v> NaN <\/v><v> NaN <\/v><v> NaN <\/v><v> NaN <\/v><v> NaN <\/v>" : $1/eg; print OUT $str; next; }Sorry for the inconveniences.