Forum: CFEngine Help
Subject: Re: copying time
Author: obris
Link to topic: https://cfengine.com/forum/read.php?3,24955,24963#msg-24963

Hi Sreejith,

you can get this information with cf-report --html. You will get 4 files: 
classes.html  lastseen.html  monitor_summary.html  performance.html


The information you will need is located in the file performance.html

Here is an exemple of some spare system:


Copy(localhost:/var/cfengine/masterfiles > /var/cfengine/inputs) last performed 
at Tue Jan 31 15:0 
completed in 0.0000 mins Av    0.0000 mins ± 0.0001 mins
   Copy(localhost:/var/cfengine/bin > /usr/local/sbin) last performed at Tue 
Jan 31 15:0 
completed in 0.0001 mins Av 0.0001 mins ±
   0.0001 mins
   Copy(10.146.19.26:/var/cfengine/masterfiles/files/sources.list > 
/etc/apt/sources.list) last performed at Fri Feb 3 17:1
   completed in 0.0007 mins Av 0.0007 mins ± 0.0003 mins
   Copy(10.146.19.26:/var/cfengine/masterfiles/files/sources.list-10 > 
/etc/apt/sources.list) last performed at Mon Feb 6 17:1
   completed in 0.0000 mins Av 0.0000 mins ± 0.0000 mins



Here is my body reporter control: 



body reporter control
{
 any::

  reports => {
             "all"
             };

  build_directory => "$(sys.workdir)/reports";
  report_output   => "html";
  style_sheet => "/cf_enterprise.css";

}



I you need to tweak it more, please consult this page: 
http://cfengine.com/manuals/cf3-reference#control-reporter

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to