From 6ef9b3cde8d5b0a32c4e504c51873f8204adab40 Mon Sep 17 00:00:00 2001 From: octo Date: Tue, 21 Mar 2006 18:09:35 +0000 Subject: [PATCH] Added the apache plugin to the manpages. Corrected/completed information about the RRAs in collectd(1) --- src/collectd.conf.pod | 20 ++++++++++++++ src/collectd.pod | 61 ++++++++++++++++++++++++++++--------------- 2 files changed, 60 insertions(+), 21 deletions(-) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 30124067..4920460e 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -104,6 +104,26 @@ operating systems. Some Plugins may register own options. These options must be inclosed in a C-Section. Which options exist depends on the plugin used: +=head2 Plugin C + +=over 4 + +=item B I + +Sets the URL of the C output. This needs to be the output generated +by C and it needs to be the machine readable output +generated by appending the C argument. + +=item B I + +Optional user name needed for authentication. + +=item B I + +Optional password needed for authentication. + +=back + =head2 Plugin C =over 4 diff --git a/src/collectd.pod b/src/collectd.pod index 5c30558c..0bf8299e 100644 --- a/src/collectd.pod +++ b/src/collectd.pod @@ -134,12 +134,29 @@ values. =head1 SPECIAL PLUGINS +=head2 apache + +This module connects to an Apache webserver and expects the output produced by +B. If requires B to set up the HTTP connection and issue +the request(s). The following is a sample config for the Apache webserver. The +use of C is mandatory. + + ExtendedStatus on + + + SetHandler server-status + + + +This plugin requires further configuration. Please read L. + =head2 cpufreq This module reads F (for the first CPU installed) to get the current CPU frequency. If this file does not exist make sure B (L) or a -similar tool is installed. +similar tool is installed and an "cpu governor" (that's kernel module) is +loaded. =head2 mysql @@ -188,31 +205,33 @@ The B homepage can be found at L. =head1 RRD FILES -The RRD files are created automatically with the following RRAs: - - RRA:AVERAGE:0.0:1:1500 - RRA:AVERAGE:0.2:6:1500 - RRA:AVERAGE:0.1:180:1680 - RRA:AVERAGE:0.1:2160:1520 - RRA:MIN:0.0:1:1500 - RRA:MIN:0.2:6:1500 - RRA:MIN:0.1:180:1680 - RRA:MIN:0.1:2160:1520 - RRA:MAX:0.0:1:1500 - RRA:MAX:0.2:6:1500 - RRA:MAX:0.1:180:1680 - RRA:MAX:0.1:2160:1520 +The RRD files are created automatically. The size of the RRAs depend on the +compile time settings of I and I. With the default values (I += B<10>, I = B<1200>) the following RRAs are created: + + RRA:AVERAGE:0.1:1:8640 + RRA:AVERAGE:0.1:50:1210 + RRA:AVERAGE:0.1:223:1202 + RRA:AVERAGE:0.1:2635:1201 + RRA:MIN:0.1:1:8640 + RRA:MIN:0.1:50:1210 + RRA:MIN:0.1:223:1202 + RRA:MIN:0.1:2635:1201 + RRA:MAX:0.1:1:8640 + RRA:MAX:0.1:50:1210 + RRA:MAX:0.1:223:1202 + RRA:MAX:0.1:2635:1201 By default collectd uses a 10 second I. Thus the RRAs contain the following timespans. If you've changed the I at compile time you will have calculate resolution and timespan yourself. - PDP per CDP | Resolution | Data points | Timespan - ------------+------------+-------------+---------- - 1 | 10 seconds ! 1500 ! 4 hours - 6 | 1 minute | 1500 | 25 hours - 180 | 30 minutes | 1680 | 35 days - 2160 | 6 hours | 1520 | 380 days + PDP per CDP | Resolution | Data points | Timespan + ------------+--------------+-------------+--------- + 1 | 10.0 seconds ! 8640 ! 1 day + 50 | 8.3 minutes | 1210 | 1 week + 223 | 37.2 minutes | 1202 | 1 month + 2635 | 7.3 hours | 1201 | 1 year The DS'es depend on the module creating the RRD files: -- 2.30.2