[Orca-users] Data not being plotted

Brian Hostetler brian at sinebubble.com
Fri Mar 7 21:11:05 PST 2003


I've got a custom config file that I'm using to plot some data 
(thanks Sean). Everything appears to run fine with no errors when run 
in verbose mode. The data is being written to the source file 
correctly and orca is successfully creating the html from it. Even 
the png's are created, but there are no plots. It does read the 
column_description line correctly as it writes the data legend 
(pcdMB_51, pcdMB_52) to the image. Any suggestions on what could be 
wrong?


Here is an excerpt from the data file:

timestamp locltime pcdMB_51 pcdMB_52
1047094200 19:30:00 56 56
1047094500 19:35:00 56 56

Here is the relevant parts of the config:

group webobjectsator {
find_files 
	/var/orca/webobjectsator/(.*)/(?:(?:webobjectsator)|(?:percol))-\d{4}-\d{2}-\d{2}(?:-\d{3,})?(?:\.(?:Z|gz|bz2))?
column_description	first_line
date_source		column_name timestamp
interval		300
filename_compare	sub {
			  my ($ay, $am, $ad) = $a =~ /-(\d{4})-(\d\d)-(\d\d)/;
			  my ($by, $bm, $bd) = $b =~ /-(\d{4})-(\d\d)-(\d\d)/;
			  if (my $c = (( $ay       <=>  $by) ||
			               ( $am       <=>  $bm) ||
			               (($ad >> 3) <=> ($bd >> 3)))) {
			    return 2*$c;
			  }
			  $ad <=> $bd;
			}
}

plot {
title                   %g PCD Memory Usage
source                  webobjectsator
data                    pcdMB_(.*)
line_type               line2
legend                  $1
y_legend                Megabytes
data_min                0
data_max                500
plot_min                0
plot_max                500
}
-- 

°  Brian Hostetler  °  brian at sinebubble.com  °  www.sinebubble.com  °



More information about the Orca-users mailing list