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

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

主站蜘蛛池模板: 凤城市| 万州区| 桐庐县| 定襄县| 丰原市| 吴旗县| 莫力| 九江市| 阜新| 临泉县| 板桥市| 安丘市| 岳普湖县| 曲松县| 罗定市| 法库县| 蓬溪县| 万荣县| 新化县| 广西| 绥宁县| 江永县| 宁河县| 衢州市| 布拖县| 湖口县| 张家界市| 汉源县| 广河县| 农安县| 长葛市| 隆昌县| 广汉市| 余庆县| 乐山市| 宁陵县| 宣武区| 革吉县| 莒南县| 利津县| 微博|