- 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
- ColdFusion 9 Developer Tutorial
- iPad+Procreate數字插畫設計案例教程(全彩微課版)
- 擁抱開源(第2版)
- PS App UI設計從零開始學
- Photoshop CS6實戰從入門到精通(超值版)
- 神奇的中文版Photoshop CC 2017入門書
- CAXA 實體設計2013案例課堂
- 巧用ChatGPT高效搞定Excel數據分析
- 科技繪圖/科研論文圖/論文配圖設計與創作自學手冊:科研動畫篇
- 中文版InDesign CC平面排版設計從入門到精通
- Apache JMeter
- 設計必修課:Axure RP 9互聯網產品原型設計
- 中文版Photoshop CS6基礎教程
- 剪映:短、中、長視頻剪輯全攻略(手機版+電腦版)
- 中文版3ds Max 2014從入門到精通實用教程(微課版)