- 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
- 中文版Photoshop CS6完全使用手冊(超值版)
- Microsoft Forefront UAG 2010 Administrator's Handbook
- Instant Vert.x
- Inkscape 0.48 Illustrator's Cookbook
- 零基礎學后期:Photoshop+Lightroom數碼照片處理從新手到高手
- Photoshop CC從入門到精通(全彩超值版)
- 中文版After Effects CC 2018 動漫、影視特效后期合成秘技
- AutoCAD入門教程全掌握
- 中文版Photoshop CS6應用技法教程
- SolidWorks 2020中文版從入門到精通
- PPT設計與制作實戰教程
- CINEMA 4D新手快速進階實例教學
- After Effects 影視后期特效:短視頻制作實戰寶典
- Photoshop CG 古風插畫繪制技法精解
- Inkscape 0.48 Essentials for Web Designers