Document /etc/default/telegraf file

This commit is contained in:
Daniel Nelson 2017-10-06 16:57:57 -07:00
parent 6618850cd7
commit abfeafd248
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ Environment variables can be used anywhere in the config file, simply prepend
them with $. For strings the variable must be within quotes (ie, "$STR_VAR"), them with $. For strings the variable must be within quotes (ie, "$STR_VAR"),
for numbers and booleans they should be plain (ie, $INT_VAR, $BOOL_VAR) for numbers and booleans they should be plain (ie, $INT_VAR, $BOOL_VAR)
When using the `.deb` or `.rpm` packages, you can define environment variables
in the `/etc/default/telegraf` file.
## Configuration file locations ## Configuration file locations
The location of the configuration file can be set via the `--config` command The location of the configuration file can be set via the `--config` command