- Puppet 2.7 Cookbook
- John Arundel
- 167字
- 2021-04-02 18:19:59
Creating graphical reports
Let's face it, bosses like pretty pictures. Puppet can produce report data in a form suitable for processing by the RRD (Round-Robin Database) graph library, to produce a graphical representation of metrics such as the runtime on each client.
Getting ready
You will need to install the RRD tools and libraries for Ruby on your system. For Ubuntu, run the following command:
# apt-get install rrdtool librrd-ruby
How to do it…
Add the rrdgraph
report type to your puppet.conf
as follows:
reports = store,rrdgraph
How it works…
For each run, Puppet will record data in the client's RRD directory (the default is /var/lib/puppet/rrd/<clientname>
). It will create graphs in a PNG format for events, resources, and retrieval time, while the raw data is available to you in the .rrd
files if you want to process it further using third-party RRD tools.
There's more…
For more detailed reporting and graphing, you can use Puppet Dashboard.
See also
- Using Puppet dashboard in Chapter 9
- Beginning Swift
- 性能測試從零開始
- AutoCAD 2018實用教程(第5版)
- SketchUp印象 城市規(guī)劃項目實踐(第2版)
- PowerPoint 2019從入門到精通(移動學習版)
- AutoCAD 2014實用教程(第4版)
- Vue 企業(yè)開發(fā)實戰(zhàn)
- Photoshop CC 2018基礎(chǔ)教程(第3版)
- Apache JMeter
- 構(gòu)筑敏捷的開發(fā)團隊:微軟Visual Studio 2010實戰(zhàn)兵法
- JBoss Drools Business Rules
- Joomla! E/Commerce with VirtueMart
- CorelDRAW 2018平面設(shè)計基礎(chǔ)教程(第3版)
- Photoshop CC平面設(shè)計實戰(zhàn)從入門到精通
- JSF 1.2 Components