summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f807d67)
raw | patch | inline | side by side (parent: f807d67)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 13 Dec 2006 12:37:58 +0000 (13:37 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 15 Dec 2006 08:19:32 +0000 (09:19 +0100) |
* Added a description of the protocol and the DS's to the manpage.
* Make clear that the group of the UNIX socket is always changed when running
as root.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
* Make clear that the group of the UNIX socket is always changed when running
as root.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/collectd.conf.pod | patch | blob | history | |
src/collectd.pod | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index e7ebaf98326ae63464567e38d91026d4ceb2d5e1..aa4799a48ac0dad96b5912cf3e0b4d89e37486d7 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
=item B<SocketGroup> I<Group>
-Change the group of the UNIX-socket after it has been created.
+If running as root change the group of the UNIX-socket after it has been
+created. Defaults to B<collectd>.
=item B<SocketPerms> I<Permissions>
=item B<MaxConns> I<Number>
-Sets the maximum number of connections that can be handeled in parallel. Since
+Sets the maximum number of connections that can be handled in parallel. Since
this many threads will be started immediately setting this to a very high
value will waste valuable resources. Defaults to B<5> and will be forced to be
at most B<16384> to prevent typos and dumb mistakes.
diff --git a/src/collectd.pod b/src/collectd.pod
index 4919f550948f2332dac08a09f0b59bb58a16d21b..f5ed782c07693d2eb60f6dfb777e354737f13f64 100644 (file)
--- a/src/collectd.pod
+++ b/src/collectd.pod
similar tool is installed and an "cpu governor" (that's kernel module) is
loaded.
+=head2 email
+
+This plugin collects data indirectly by providing a UNIX socket that external
+programs can connect to. A simple line based protocol is used to communicate
+with the plugin:
+
+E-Mail type (e.g. "ham", "spam", "virus", ...) and size (bytes):
+
+ e:<type>:<size>
+
+Spam score:
+
+ s:<value>
+
+Successful spam checks (e.g. "BAYES_99", "SUBJECT_DRUG_GAP_C", ...):
+
+ c:<type1>[,<type2>,...]
+
+Each line is limited to 256 characters (including the newline character).
+Longer lines will be ignored.
+
=head2 mysql
Requires B<mysqlclient> to be installed. It connects to the database when
DS:wcount:COUNTER:HEARTBEAT:0:U
DS:wbytes:COUNTER:HEARTBEAT:0:U
+=item E-Mail count (F<email/email-I<E<lt>typeE<gt>>.rrd>)
+
+ DS:count:GAUGE:HEARTBEAT:0:U
+
+=item E-Mail size (F<email/email_size-I<E<lt>typeE<gt>>.rrd>)
+
+ DS:size:GAUGE:HEARTBEAT:0:U
+
=item HDD Temperature (F<hddtemp-I<E<lt>majorE<gt>>-I<E<lt>minorE<gt>>.rrd>)
DS:value:GAUGE:HEARTBEAT:U:U
DS:incoming:COUNTER:HEARTBEAT:0:U
DS:outgoing:COUNTER:HEARTBEAT:0:U
+=item Spam score (F<email/spam_score.rrd>)
+
+ DS:score:GAUGE:HEARTBEAT:0:U
+
+=item Spam checks (F<email/spam_check-I<E<lt>typeE<gt>>.rrd>)
+
+ DS:hits:GAUGE:HEARTBEAT:0:U
+
=item Swap usage (F<swap.rrd>)
DS:used:GAUGE:HEARTBEAT:0:1099511627776