Github Mirror / telegraf-plugins: e7766887




Update README to include example telegraf config

Update README to include example telegraf config

Commit e7766887.

Authored 2023-05-31T20:08:07.000+01:00 by B Tasker in project Github Mirror / telegraf-plugins

+22 lines -0 lines

Commit Signature

Changes

diff --git a/soliscloud/README.md b/soliscloud/README.md
--- a/soliscloud/README.md
+++ b/soliscloud/README.md
# @@ -30,6 +30,28 @@ Once API access has been enabled for your account, instructions will be given on
#
#
#
# +----
# +
# +### Telegraf Config
# +
# +The API details can be passed via the `environment` configuration option
# +
# +```ini
# +[[inputs.exec]]
# + commands = [
# + "/usr/local/src/telegraf_plugins/soliscloud.py",
# + ]
# + timeout = "60s"
# + interval = "5m"
# + name_suffix = ""
# + data_format = "influx"
# + environment = [
# + "API_ID=",
# + "API_SECRET=",
# + "API_URL=https://www.soliscloud.com:13333"
# + ]
# +```
# +
#
# ----
#
#