diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-29 18:22:24 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-29 18:22:24 +0000 |
| commit | 4863012792cbc3039e392069df9806790d591ea1 (patch) | |
| tree | 98eb15bfbed3dab8ccb6efbc5484a329f9e4fcb1 /lib/puppet | |
| parent | 0ecb77569f58170c869525ad678a94b6d0fdcab2 (diff) | |
| download | puppet-4863012792cbc3039e392069df9806790d591ea1.tar.gz puppet-4863012792cbc3039e392069df9806790d591ea1.tar.xz puppet-4863012792cbc3039e392069df9806790d591ea1.zip | |
Enhancing the report docs a bit
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2367 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
| -rw-r--r-- | lib/puppet/reports/log.rb | 3 | ||||
| -rw-r--r-- | lib/puppet/reports/rrdgraph.rb | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lib/puppet/reports/log.rb b/lib/puppet/reports/log.rb index e6ae7e3d1..96f14767b 100644 --- a/lib/puppet/reports/log.rb +++ b/lib/puppet/reports/log.rb @@ -1,7 +1,8 @@ require 'puppet' Puppet::Network::Handler.report.newreport(:log) do - desc "Send all received logs to the local log destinations." + desc "Send all received logs to the local log destinations. Usually + the log destination is syslog." def process self.logs.each do |log| diff --git a/lib/puppet/reports/rrdgraph.rb b/lib/puppet/reports/rrdgraph.rb index 15bbc1a90..ce8414191 100644 --- a/lib/puppet/reports/rrdgraph.rb +++ b/lib/puppet/reports/rrdgraph.rb @@ -3,7 +3,7 @@ require 'puppet' Puppet::Network::Handler.report.newreport(:rrdgraph) do desc "Graph all available data about hosts using the RRD library. You must have the RRD binary ruby library installed to use this report, which - you can get from [Tobias Oetiker's site](http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/contrib/). + you can get from [Tobias Oetiker's site](http://oss.oetiker.ch/rrdtool/pub/contrib/). This report will create, manage, and graph RRD database files for each of the metrics generated during transactions, and it will create a @@ -13,7 +13,10 @@ Puppet::Network::Handler.report.newreport(:rrdgraph) do All RRD files and graphs get created in the ``rrddir`` directory. If you want to serve these publicly, you should be able to just alias that - directory in a web server." + directory in a web server. + + If you really know what you're doing, you can tune the ``rrdinterval``, + which defaults to the ``runinterval``." def hostdir unless defined? @hostdir |
