cleanrrds.pl is not up to date
NAV 3.5.4 $BINDIR/cleanrrds.pl is run nightly from crickets crontab. 1) This script has not been updated to use the new database: my $dbh = &NAV::connection('statTools', 'manage'); 2) This script also needs a version of find(1) that supports -printf. In FreeBSD we have to use gfind (no problem). gfind returns timestamps with a fractional part i.e. Thu May 28 12:38:06.0000000000 I suggest that line 117 in cleanrrds.pl is replaced with something like this: # Selects filepath,filename, time and size from the output. $line =~ m/(^\/.*)\/(.*\.rrd)\s(.*\d{2}:\d{2}:\d{2}(\.\d{10})?\s\d{4})\s(\d+)/; --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg.hellemo@uit.no (Univ. of Tromsø, Norway)
Thanks for the report. If you have the time it would be great if you can submit these bugs to Launchpad[0], so we dont forget them :-) - Kristian [0]: https://launchpad.net/nav/+filebug -- Mvh Kristian Klette «Programs for sale: Fast, Reliable, Cheap: choose two.»
participants (2)
-
Ingeborg Hellemo -
Kristian Klette