when they specify different intervals, only one of them (the first one encountered) will take effect and all others will be silently ignored. The downside is that if you have multiple conflicting LoadPlugin blocks, e.g. it contains a Plugin block and the appropriate LoadPlugin statement. This is useful when you want to split up the configuration into smaller files and want each file to be “self contained”, i.e. Only the first LoadPlugin statement or block for a given plugin name has any effect. Without any loaded plugins, collectd will be mostly useless. This is required to load plugins, unless the AutoLoadPlugin option is enabled (see below). This is also the working directory for the daemon. Possibly more subdirectories are created. This is the directory beneath which all RRD-files are created. Also, unless AutoLoadPlugin is enabled, the LoadPlugin option must occur before the appropriate block. It is a good idea to load any logging plugins first in order to catch messages from plugins during configuration. ![]() So the plugins are loaded in the order listed in this config file. The configuration is read and processed in order, i.e. ![]() However, those are treated special in that whitespace at the beginning of the following lines will be ignored, which allows for nicely indenting the wrapped lines. This allows long lines to be split into multiple lines. Lines may be wrapped by using \ as the last character before the newline. as decimal separator), hexadecimal when using the 0x prefix and octal with a leading zero ( 0). Numbers can be specified in decimal and floating point format (using a dot. You can use the backslash character ( \) to include double quotes as part of the string. Quoted strings are enclosed in double quotes ( "). Unquoted strings consist of only alphanumeric characters and underscores ( _) and do not need to be quoted. Values can either be an unquoted string, a quoted string (enclosed in double-quotes) a number or a boolean expression. Keys are handled case insensitive by collectd itself and all plugins included with it. ![]() Keys are unquoted strings, consisting only of alphanumeric characters and the underscore ( _) character. Empty lines and everything after a non-quoted hash-symbol ( #) are ignored. Each line contains either an option (a key and a list of one or more values) or a section-start or -end. The syntax of this config file is similar to the config file of the famous Apache webserver. If the AutoLoadPlugin option has been enabled, the explicit LoadPlugin lines may be omitted for all plugins with a configuration block, i.e. These plugins ultimately define collectd's behavior. The most significant option is LoadPlugin, which controls which plugins to load. This config file controls how the system statistics collection daemon collectd behaves. Configuration for the system statistics collection daemon collectd Synopsis BaseDir "/var/lib/collectd"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |