--- Federico Sacerdoti <[EMAIL PROTECTED]> wrote:
> Martin,
> In each of the clauses (host and non-host), put in a test for the
> cpu_wio.rrd file. You can see something similar for the "mem_swapped"
> metric
> in the memory report. Remember, the "DEFs" (data source) and "STACKs"
> (graph
> element) can be interspersed as you like in the $series.
> 
> 
> if (file_exists("$rrd_dir/cpu_wio.rrd")) {
>                $series .=
>                    
> ."DEF:'cpu_wio'='${rrd_dir}/cpu_wio.rrd':'sum':AVERAGE "
>                     ."CDEF:'ccpu_wio'=cpu_wio,num_nodes,/ "
>                     ."STACK:'cpu_wio'#$cpu_wio_color:'WAIT CPU' ";
> }
> 
> -Federico
> 
Frederico,

 mille grazie !!! Should have looked for similar stuff myself :-)

 Please have a look at the appended patch against webfrontend-2.5.5. It
includes the following changes:

- change microversion to "5". Seems you forgot that.
- add cpu_wio to the CPU-Report graph. The color maybe debatable.
- made the color of cpu_idle a bit darker.
- added a new report type: packet_report. 
- added packet_report to host and cluster view

 If you like it, please consider for the next frontend.

Cheers
Martin

=====
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de

Attachment: webfront.diff
Description: webfront.diff

Reply via email to