X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=383dda6397c5e4e6c1b90d9c683e32137b179e4a;hb=89783745dc59079eab34e0c52de6e5e972f50eb2;hp=92a5e2545e78a7756ad5263c1d46c6ace3f6dcf5;hpb=da933ca8f0bd3d3ec9ee5681f0e88f3b46e884d3;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 92a5e254..383dda63 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -53,11 +53,21 @@ directory for the daemon. Loads the plugin I. There must be at least one such line or B will be mostly useless. -=item B I +=item B I -Includes the file I as if it was copy and pasted here. To prevent loops -and shooting yourself in the foot in interesting ways the nesting is limited to -a depth of 8Elevels, which should be sufficient for most uses. +If I points to a file, includes that file. If I points to a +directory, recursively includes all files within that directory and its +subdirectories. If the C function is available on your system, +shell-like wildcards are expanded before files are included. This means you can +use statements like the following: + + Include "/etc/collectd.d/*.conf" + +To prevent loops and shooting yourself in the foot in interesting ways the +nesting is limited to a depth of 8Elevels, which should be sufficient for +most uses. Since symlinks are followed it is still possible to crash the daemon +by looping symlinks. In our opinion significant stupidity should result in an +appropriate amount of pain. It is no problem to have a block like CPlugin fooE> in more than one file, but you cannot include files from within blocks. @@ -289,8 +299,6 @@ output that is expected from it. =item B I[:[I]] I [IargE> [IargE> ...]] -=item B I[:[I]] I [IargE> [IargE> ...]] - Execute the executable I as user I. If the user name is followed by a colon and a group name, the effective group is set to that group. The real group and saved-set group will be set to the default group of that @@ -307,10 +315,9 @@ program. Please note that due to the configuration parsing numbers and boolean values may be changed. If you want to be absolutely sure that something is passed as-is please enclose it in quotes. -The B, B, and B statements change the -semantics of the programs executed, i.Ee. the data passed to them and the -response expected from them. This is documented in great detail in -L. +The B and B statements change the semantics of the +programs executed, i.Ee. the data passed to them and the response +expected from them. This is documented in great detail in L. =back @@ -335,6 +342,13 @@ Hostname to connect to. Defaults to B<127.0.0.1>. TCP-Port to connect to. Defaults to B<7634>. +=item B I|I + +If enabled, translate the disk names to major/minor device numbers +(e.Eg. "8-0" for /dev/sda). For backwards compatibility this defaults to +I but it's recommended to disable it as it will probably be removed in +the next major version. + =back =head2 Plugin C @@ -426,7 +440,8 @@ seconds. Setting this to be the same or smaller than the I will cause the list of domains and devices to be refreshed on every iteration. Refreshing the devices in particular is quite a costly operation, so if your -virtualization setup is static you might consider increasing this. +virtualization setup is static you might consider increasing this. If this +option is set to 0, refreshing is disabled completely. =item B I