It's possible to run telegraf with both a config file and config directory.
The patch adds telegraf_confdir to allow optional use of a configuration directory.
Created attachment 205878 [details]
Created attachment 205900 [details]
I got some feedback from matthew@ and the new version explicitly defaults telegraph_confdir to any empty string.
Also my original comment did not document that my patch also changes the flags to use "--" instead of "-". Both seem to work but the usage message shows "--" so it seems better to use that.