[Orca-dev] hide data on plot which holds zero values...

Marko Schulz mschulz at jamba.net
Fri Oct 15 10:05:39 PDT 2004


Hi,

can anybody tell me, how to hide data on plot which holds zero values 
(e.g., 00000 0.0 00000 0.0 00000 0.0)?
Not required data should be not shown anywhere.


# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# G R O U P
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

group monitor-process {
find_files              
tmp/var/logs/(.*)/orca-monitor-process(?:\.(?:log\.gz|log))
column_description      first_line
date_source             column_name unix_time
interval                60
}

# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# P L O T
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

plot {
title           %g - CPU Auslastung
source          monitor-process
data            (cpu_(?:(?:[a-zA-Z]+))_(?:[0-1][0-9][A|B][1-9]))
data_type       GAUGE
summary_format  %lf
plot_min        0.01
data_min        0.01
line_type       LINE1
y_legend        CPU Auslastung (Prozent)
}

logfile summary:
unix_time pid_jadmin_08A1 cpu_jadmin_08A1 pid_jadmin_08A2 
cpu_jadmin_08A2 pid_jadmin_08B1 cpu_jadmin_08B1 pid_jadmin_08B2 
cpu_jadmin_08B2 pid_sadmin_08A1 cpu_sadmin_08A1 pid_sadmin_08A2 
cpu_sadmin_08A2 pid_sadmin_08B1 cpu_sadmin_08B1 pid_sadmin_08B2 
cpu_sadmin_08B2
1097794801 12557 2.47 27746 4.35 19823 0.04 00000 0.0 00000 0.0 00000 
0.0 00000 0.0 14310 2.20

The logfile is shown very abbreviated, in normal it has 241 columns.




Marko



More information about the Orca-dev mailing list