From 0f452ad0df4d72d9dfb32d8e36076b765185aef3 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 6 Oct 2017 16:57:57 -0700 Subject: [PATCH] Document /etc/default/telegraf file --- docs/CONFIGURATION.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index d2cffbe07..6c48d2d84 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -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"), 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 The location of the configuration file can be set via the `--config` command