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

Blair Zajac blair at orcaware.com
Fri Oct 15 11:10:14 PDT 2004


Marko Schulz wrote:
> 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)
> }

Well, the data_min and plot_min should do the trick, but what are you 
seeing that it isn't working?

The other thing to do is to have the 'data' string return a 'U' if you 
don't want the value recorded.  Here 'U' is short for unknown.

Regards,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the Orca-dev mailing list