Code

update some general information and added add checks for configure
[collectd.git] / README
1  collectd - System information collection daemon
2 =================================================
3 http://verplant.org/collectd/
5 About
6 -----
8   collectd is a small daemon which collects statistics about a computer's
9   usage and writes then into RRD files.
12 Features
13 --------
15   * collectd is able to collect the following data:
17     - CPU utilization
18       (Time spent in system, user, nice and idle)
20     - Disk utilization
21       (Sectors read/written, number of read/write actions, time spent doing IO)
23     - Quota
24       (User/group block/inode usage/quota/limit/grace/timeleft per filesystem.)
26     - Harddisk temperatures
27       (Uhm, yeah, temperature of harddisks that is ;)
29     - System load
30       (Load average over the last 1, 5 and 15 minutes)
32     - Memory utilization
33       (Memory occupied by running processes, page cache, buffer cache and free)
35     - NFS Procedures
36       (Which NFS command were called how often. Only NFSv2 and NFSv3 right now)
38     - Ping latency
39       (Time to reach the default gateway or another given host)
41     - Serial
42       (RX and TX of serial interfaces)
44     - Sensors
45       (System temperatured and fan rotation speeds)
47     - Swap
48       (Pages swapped out onto harddisk or whatever is called `swap' by the OS..)
50     - Tape
51       (Read and write bytes and operations on tape devices)
53     - Traffic
54       (In/Outbound traffic on the interfaces)
56   * Performance: Running as a daemon collectd doesn't spend much time in
57     startup. Since collectd links against libping, librrd and libsensors it
58     doesn't need to start any other processes.
60   * Hardly any maintenance neccessary and setup is trivial.
62   * Extremely easy and failsafe network operation possible.
65 Operation
66 ---------
68   * When running collectd writes system statistics in RRD-files. Per default
69     they reside in `/var/lib/collectd'.
71   * collectd needs to run as user root, since only root can craft ICMP
72     packages needed to ping other hosts. collectd should NOT be installed
73     setui root since it can be used to overwrite valuable files..
75   * Sample scripts to generate graphs reside in `contrib/' in the source
76     package or somewhere near `/usr/share/doc/collectd' in most distributions.
77     Please be aware that those script are meant as a starting point for your
78     own experiments.. Some of them require the `RRDs' Perl module.
79     (`librrds-perl' on Debian)
81   * The RRD-files that collectd creates hold the following data. Use ``rrdtool
82     resize'' if you want to cover longer/shorter periods of time.
84     Resolution | Data points |  Timespan
85     -----------+-------------+----------
86     60 seconds |        1500 |  25 hours
87     30 minutes |        1680 |  35 days
88      6 hours   |        1520 | 380 days
90   * Use `-c' to start in client-, `-s' to start in server-mode. Read the
91     manpage for details.
94 Prerequisites
95 -------------
97   To compile collectd from source you will need:
99   * Usual suspects: C compiler, linker, preprocessor, make, ...
101   * rrdtool (headers and library; rrdtool 1.0 and 1.2 both work fine)
103   * lm-sensors (optional)
105   * libstatgrab may be used to collect statistics on systems other than Linux
106     and/or Solaris. Note that CPU- and disk-statistics, while being provided by
107     this library, are not supported in collectd right now..
108     <http://www.i-scream.org/libstatgrab/> 
110 Author
111 ------
113   Florian octo Forster <octo at verplant.org>