[Orca-users] Plot with if condition in value

tim.schmeling at bechtle.com tim.schmeling at bechtle.com
Wed Aug 24 06:09:44 PDT 2011


Hi,

i have different machines and like too monitor the disk i/o.

on my xen-Guests i have disks like: /dev/xvda1 which contains it´s data at 
"disk_rd/s", etc.
on my xen-hosts i have disks like: /dev/sda1 which contains it´s data at 
"disk_rd/s", etc.
Last but not least i have some HP machines, and there i have disks like: 
/dev/cciss/c0d0p1 which contains it´s data at "part_rd_cciss/c0d0/s", etc.

I habe modified the "procallator.cfg" on my orca master machine, but it 
does´t work.
No values are monitored. When i use "part_rd_cciss/c0d0/s" without the if 
contition, it´s worked and the values are plotted. It´s the same, when i 
use "disk_rd/s".

Can anyone help me, to configure the two data values in my plot?

plot {
title                   %g Disk System Wide Reads/Writes Per Second
source                  procallator
plot_width              800
data                    defined(part_rd_cciss/c0d0/s) ? 
part_rd_cciss/c0d0/s : disk_rd/s
data                    defined(part_wr_cciss/c0d0/s) ? 
part_wr_cciss/c0d0/s : disk_wr/s
line_type               area
line_type               line1
legend                  Reads/s
legend                  Writes/s
y_legend                Ops/s
data_min                0
flush_regexps           1
href                    
http://www.orcaware.com/orca/docs/procallator.html#disk_system_wide_reads_writes_per_second
}


Greetz

Tim




More information about the Orca-users mailing list