X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.pod;h=0bf8299e53bae85810dac47078151b941fae3d7f;hb=46ed2804b39e77f7a0277f5188b7a82b1bead88d;hp=0a3b91f46050dbef95fc48402607be20e5c446a5;hpb=5d32490be3b416a4e2c709a5d79bb6bce13db897;p=collectd.git diff --git a/src/collectd.pod b/src/collectd.pod index 0a3b91f4..0bf8299e 100644 --- a/src/collectd.pod +++ b/src/collectd.pod @@ -122,9 +122,9 @@ collectd is linked against C. The other two modes, B and B, are used to send data over a network and receive it again. -In B the daemon collectd the data locally and send it's result to -one or more network addresses. No RRD files are written in this case. This is -the only mode available if collectd is not linked against C. +In B the daemon collects the data locally and sends it's results +to one or more network addresses. No RRD files are written in this case. This +is the only mode available if collectd is not linked against C. If started in B the daemon will listen on one or more interfaces and write the data it receives to RRD files. No data is collected locally. @@ -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,26 +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.2:6:1500 - RRA:AVERAGE:0.1:180:1680 - RRA:AVERAGE:0.1:2160:1520 - RRA:MIN:0.2:6:1500 - RRA:MIN:0.1:180:1680 - RRA:MIN:0.1:2160:1520 - RRA:MAX:0.2:6:1500 - RRA:MAX:0.1:180:1680 - RRA:MAX:0.1:2160:1520 - -Since collectd uses a 10 second I the RRAs contain the following -timespans: - - Resolution | Data points | Timespan - -----------+-------------+---------- - 60 seconds | 1500 | 25 hours - 30 minutes | 1680 | 35 days - 6 hours | 1520 | 380 days +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.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: