[drraw-users] v2.2a4 selection criteria and variable expansion

paul dial dialp at ucar.edu
Tue Feb 26 08:49:54 EST 2008


Between Christophe's and your post I was able to figure out the error of 
my ways.  I changed my base RE to something similar to yours which 
solved one problem.  I was also trying to use the subexpression from my 
base RE in the File RE instead of creating mappings in the template info 
table.

Sorry it took so long to reply, but the server died right after I posted 
and I'm just now getting back to it.

Thanks for the help!

paul

Lloyd Parkes wrote, On 11/21/2007 1:21 PM:
> Hi there,
> I'm trying to do something similar, and it took a bit of brute force and 
> ignorance, but I got there.
> 
> I have a bunch of CPU usage rrds structured like this 
> /<base_directory>/<server>.kstat.cpu<CPU#>.rrd and I want a template for the CPU 
> usage of a whole server, not just a single CPU.
> 
> My base RE is (.+)\.kstat\.cpu31 so that I only get one match for each server. I 
> have no Selection Expression. I have two File REs and they are both 
> ASERVER\.kstat\.cpu[0-9]+. In the template info table I have 
> ASERVER\.kstat\.cpu[0-9]+ mapped to $1.kstat.cpu[0-9]+
> 
> I think your problem is that your base RE is matching once for every file, 
> rather than once for every <member>. Try changing your base RE to 
> (.+)\/peerAS_209\.rrd and leaving your Selection Expression blank.
> 
> Cheers




More information about the drraw-users mailing list