Hi,
I will build a custom snap. It is the telegraf agent with an developed plugin for the datalayer SSE.
in the snapcraft.yml there will be something like this
grade: stable confinement: strict apps: ctrlx-telegraf: command: telegraf --config <PATH-TO-CONFIG>/config.conf daemon: simple restart-condition: always plugs: [network-bind]
The file config.conf is in toml syntax eg.:
[[outputs.influxdb_v2]]
urls = ["https://ingest.example.de"]
token = "xxxxx"
organization = "ctrlx-vlab"
bucket = "ctrlx"
[[inputs.ctrlxcore]]
url = "https://192.168.1.1"
username = "boschrexroth"
password = "boschrexroth"
node = "scheduler/tasks/ctrlXAutomation/info/counter"
publishintervalms = "100"
insecure_skip_verify = true
1. Is it possible that this config file is part of the configuration which can be saved,downloaded, imported by the user via the webui?
2. Which path shall be specified in the snapcraft yaml?