summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d5a1b3)
raw | patch | inline | side by side (parent: 1d5a1b3)
author | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Mon, 17 Dec 2007 14:48:36 +0000 (15:48 +0100) | ||
committer | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Mon, 17 Dec 2007 14:48:36 +0000 (15:48 +0100) |
src/collectd.conf.pod | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 49cccdf03ac4e5eea46b32eb3d98286f1e08a3cf..e8f4af7897aaea1b807cfdceee767ebb4042da92 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
The B<VServer> homepage can be found at L<http://linux-vserver.org/>.
+=head1 THRESHOLD CONFIGURATION
+
+Starting with version C<4.3.0> collectd has support for B<monitoring>. By that
+we mean that the values are not only stored or sent somewhere, but that they
+are judged and, if a problem is recognized, acted upon.
+
+Since systems and what you expect them to do differ a lot, you can configure
+B<thresholds> for your values freely. This gives you a lot of flexibility but
+also a lot of responsibility.
+
+ <Threshold>
+ <Type "foo">
+ Min 0.00
+ Max 1000.00
+ Invert false
+ Instance "bar"
+ </Type>
+
+ <Plugin "interface">
+ Instance "eth0"
+ <Type "if_octets">
+ Max 10000000
+ </Type>
+ </Plugin>
+
+ <Host "hostname">
+ <Type "cpu">
+ Instance "idle"
+ Min 10
+ </Type>
+
+ <Plugin "memory">
+ <Type "memory">
+ Instance "cached"
+ Min 100000000
+ </Type>
+ </Plugin>
+ </Host>
+ </Threshold>
+
+There are basically two types of configuration statements: The C<Host>,
+C<Plugin>, and C<Type> blocks select the value for which a threshold should be
+configured. The C<Plugin> and C<Type> blocks may be specified further using the
+C<Instance> option. You can combine the block by nesting the blocks, though
+they must be nested in the above order, i.E<nbsp>e. C<Host> may contain either
+C<Plugin> and C<Type> blocks, C<Plugin> may only contain C<Type> blocks and
+C<Type> may not contain other blocks. If multiple blocks apply to the same
+value the most specific block is used.
+
+The other statements specify the threshold to configure. Currently the
+following statements are recognized:
+
+=over 4
+
+=item B<Min> I<Value>
+
+...
+
+=back
+
=head1 SEE ALSO
L<collectd(1)>,