X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-unixsock.pod;h=ac4a1b13fb4810b99e2fbc6f40ae853c27b1091f;hb=e4b8a186516b61f16d94a76db0aa102a3270d46c;hp=1e00baf3d118ea1839f0d03208aeca127b08dca4;hpb=abfe65ffb5239060c0c9558d916bbeddee0bc86c;p=collectd.git diff --git a/src/collectd-unixsock.pod b/src/collectd-unixsock.pod index 1e00baf3..ac4a1b13 100644 --- a/src/collectd-unixsock.pod +++ b/src/collectd-unixsock.pod @@ -17,11 +17,11 @@ collectd-unixsock - Documentation of collectd's C The C opens an UNIX-socket over which one can interact with the daemon. This can be used to use the values collected by collectd in other -applications, such as monitoring, or submit externally collected values to -collectd. +applications, such as monitoring solutions, or submit externally collected +values to collectd. -This plugin is used by L to check if some value is in a -certain range and exit with a Nagios-compatible exit code. +For example, this plugin is used by L to check if some +value is in a certain range and exit with a Nagios-compatible exit code. =head1 COMMANDS @@ -94,7 +94,8 @@ data-sets is available in the B file. The I is an optional list of I, 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 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 @@ -142,10 +143,9 @@ Valid options are: =item BI (B) 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|B|B (B) @@ -212,13 +212,15 @@ Value or value-lists are identified in a uniform fashion: I/I/I Where I and I are both either of type "I" or -"I-I". This sounds more complicated than it is, so here are +"I-I". 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