- 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
- Moodle 1.9 for Teaching 7/14 Year Olds: Beginner's Guide
- Irrlicht 1.7 Realtime 3D Engine Beginner's Guide
- Entity Framework Tutorial
- 中文版After Effects 2021入門教程
- Excel 數據處理與分析實例教程(第2版)
- Illustrator CC 2018中文版入門與提高
- 零基礎學數碼攝影后期
- Illustrator平面設計立體化教程:Illustrator 2021(微課版)
- SketchUp/Piranesi印象彩繪表現項目實踐
- Photoshop網店圖片處理實訓教程
- 計算機圖形圖像處理Photoshop CS6項目教程
- 碼上學會:中文版Creo 3.0機械設計全能一本通(雙色版)
- PHP 5 Social Networking
- After Effects 2022從新手到高手
- 短視頻剪輯基礎與實戰應用(剪映電腦版)