官术网_书友最值得收藏!

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

主站蜘蛛池模板: 隆昌县| 景宁| 西峡县| 来宾市| 缙云县| 甘肃省| 永康市| 太白县| 商河县| 囊谦县| 尉氏县| 宾川县| 夏河县| 井陉县| 上虞市| 高安市| 柘城县| 云南省| 自贡市| 安丘市| 祁阳县| 佛山市| 涞源县| 霍林郭勒市| 岑巩县| 吉水县| 沭阳县| 闻喜县| 柯坪县| 贡觉县| 黄山市| 巩留县| 罗田县| 突泉县| 崇仁县| 焉耆| 南昌市| 来凤县| 阳东县| 延寿县| 黄陵县|