summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f3edac)
raw | patch | inline | side by side (parent: 5f3edac)
author | Florian Forster <octo@noris.net> | |
Wed, 27 Aug 2008 15:42:26 +0000 (17:42 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 27 Aug 2008 15:42:26 +0000 (17:42 +0200) |
src/collectd-exec.pod | patch | blob | history | |
src/collectd-unixsock.pod | patch | blob | history |
diff --git a/src/collectd-exec.pod b/src/collectd-exec.pod
index 59ce399d892873ab04bd589476ec4c2eda89a1a2..d935c70d8a42d87597bb2f29920132800ded5083 100644 (file)
--- a/src/collectd-exec.pod
+++ b/src/collectd-exec.pod
The I<OptionList> is an optional list of I<Options>, where each option if a
key-value-pair. A list of currently understood options can be found below, all
-other options will be ignored.
+other options will be ignored. Values that contain spaces must be quoted with
+double quotes.
I<Valuelist> is a colon-separated list of the time and the values, each either
an integer if the data-source is a counter, or a double if the data-source is
=item B<message=>I<Message> (B<REQUIRED>)
Sets the message of the notification. This is the message that will be made
-accessible to the user, so it should contain some useful information. This
-option must be the last option because the rest of the line will be its value,
-even if there are spaces and equal-signs following it! This option is
-mandatory.
+accessible to the user, so it should contain some useful information. As with
+all options: If the message includes spaces, it must be quoted with double
+quotes. This option is mandatory.
=item B<severity=failure>|B<warning>|B<okay> (B<REQUIRED>)
index 1e00baf3d118ea1839f0d03208aeca127b08dca4..ca00a6defe33e7c45d682c32bae1f90cccdda89a 100644 (file)
The I<OptionList> is an optional list of I<Options>, where each option is a
key-value-pair. A list of currently understood options can be found below, all
-other options will be ignored.
+other options will be ignored. Values that contain spaces must be quoted with
+double quotes.
I<Valuelist> is a colon-separated list of the time and the values, each either
an integer if the data-source is a counter, or a double if the data-source is
=item B<message=>I<Message> (B<REQUIRED>)
Sets the message of the notification. This is the message that will be made
-accessible to the user, so it should contain some useful information. This
-option must be the last option because the rest of the line will be its value,
-even if there are spaces and equal-signs following it! This option is
-mandatory.
+accessible to the user, so it should contain some useful information. As with
+all options: If the message includes spaces, it must be quoted with double
+quotes. This option is mandatory.
=item B<severity=failure>|B<warning>|B<okay> (B<REQUIRED>)
I<Hostname>/I<Plugin>/I<Type>
Where I<Plugin> and I<Type> are both either of type "I<Name>" or
-"I<Name>-I<Instance>". This sounds more complicated than it is, so here are
+"I<Name>-I<Instance>". If the identifier includes spaces, it must be quoted
+using double quotes. This sounds more complicated than it is, so here are
some examples:
myhost/cpu-0/cpu-user
myhost/load/load
myhost/memory/memory-used
myhost/disk-sda/disk_octets
+ "myups/snmp/temperature-Outlet 1"
=head1 ABSTRACTION LAYER