summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorajax <ajax@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-04 21:44:56 +0000
committerajax <ajax@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-04 21:44:56 +0000
commitd72c970481247978fde8fb22f6f49fac090d296b (patch)
tree6eb85a572aa741a6a6dd06b53cfe0310e997d7ce /documentation
parent8a8191faad0c0b94c73a11e04d9ab04f938880c8 (diff)
downloadpuppet-d72c970481247978fde8fb22f6f49fac090d296b.tar.gz
puppet-d72c970481247978fde8fb22f6f49fac090d296b.tar.xz
puppet-d72c970481247978fde8fb22f6f49fac090d296b.zip
Adding some documentation on reports.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1729 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'documentation')
-rw-r--r--documentation/documentation/reports.page90
1 files changed, 90 insertions, 0 deletions
diff --git a/documentation/documentation/reports.page b/documentation/documentation/reports.page
new file mode 100644
index 000000000..2ca947147
--- /dev/null
+++ b/documentation/documentation/reports.page
@@ -0,0 +1,90 @@
+---
+inMenu: true
+title: Reports and Reporting
+orderInfo: 20
+---
+
+# Reports and Reporting
+
+Puppet can be configured to run specialized reports to help you to better keep track of your configurations.
+
+## Setting Up Reporting
+
+Enabling and configuring reports must be handled both on the client and server as the client doesn't include reporting information unless explicitly requested.
+
+### Turn on reporting on the client-side.
+
+In order to turn on reporting on the client-side (`puppetd`), the `report` argument must be given to the `puppetd` executable either by pasing the argument to the executable on the command line, like this:
+
+ $ puppetd --report
+
+or by including the configuration parameter in the `puppetd` configuration file, usually located in `/etc/puppet/puppetd.conf`. Take this `puppetd.conf` for instance,
+
+ #
+ # /etc/puppetd.conf
+ #
+ [puppetd]
+ report = true
+
+
+With this setting enabled, the client will then send the data necessary for reporting to the puppetmasterd server at the appropriate times.
+
+### Turn on reporting on the server-side
+
+Next, the server must be configured to intepret the report results. We'll tell it which reports to run by giving it a comma-separated list of reports we want to run against the client-submitted data. Again, we can do this from the command line, like so:
+
+ $ puppetmasterd --reports tagmail, daily, security
+
+or we can include these configuration parameters in the configuration file, typically `/etc/puppet/puppetmasterd.conf`. For example,
+
+ #
+ # /etc/puppetmasterd.conf
+ #
+ [puppetmasterd]
+ reports = tagmail, daily, security
+
+
+You may also wish to specify the directory where reports will be stored with the `[reportdirectory](configref.html#reportdirectory)` parameter. Furthermore, transaction
+reports can optionally be sent to a special report server (not necessarily the server or
+client). This server can be specified with the `[reportserver](configref.html#reportserver).
+
+For more about configuring your server, take a look at the section on [Configuration Reference](configref.html).
+
+## Available reports:
+
+### tagmail
+
+The `tagmail` report uses a "tagmap" mapping file to match certain reporting tags to certain e-mail recipients and sends messages with that tag to the appropriate recipients. The wildcard tag `all` matches all transactions.
+
+#### tagmap
+
+The mapping between reporting tags and email addresses, typically `/etc/puppet/tagmail.conf`.
+
+ #
+ # /etc/puppet/tagmail.com - tagmail config
+ #
+ all: root@localhost
+ mail: postmaster@domain.com
+ sun: solarisadmins@domain.com
+
+
+#### sendmail
+
+Where to find the sendmail binary with which to send email.
+
+#### reportfrom
+
+The 'from' email address for the reports.
+Default: report@hostname.domain.you
+
+#### smtpserver
+ The server through which to send email reports.
+
+### rrdgraph
+
+The `rrdgraph` reports on the puppet system and its operations. The reports are stored as HTML in the rrd directory, so puppet must have write access to this directory.
+
+#### rrddir
+The directory into which puppet will put the web-ready report files. Of course, this directory will need to be puppet-writable.
+
+* $Id:$