- 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
- iOS應用逆向與安全之道
- 像攝影師一樣調色
- 改變思維:菜鳥也能做出震撼PPT(全彩版)
- CorelDRAW X5實用教程(第2版)
- Salesforce CRM: The Definitive Admin Handbook
- Photoshop網店美工實例教程(第2版 全彩微課版)
- 中文版Photoshop CC平面設計實用教程
- CAXA電子圖板2016基礎與實例教程
- Backbone.js Cookbook
- Linux Shell Scripting Cookbook
- CINEMA 4D新手快速進階實例教學
- Magento: Beginner's Guide
- Audition CC音頻處理完全自學一本通
- SketchUP草圖繪制從新手到高手
- Apache Geronimo 2.1: Quick Reference