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.:
urls = ["https://ingest.example.de"]
token = "xxxxx"
organization = "ctrlx-vlab"
bucket = "ctrlx"
url = "https://192.168.1.1"
username = "boschrexroth"
password = "boschrexroth"
node = "scheduler/tasks/ctrlXAutomation/info/counter"
publishintervalms = "100"
insecure_skip_verify = true
Solved! Go to Solution.
Sorry for the delay.
To store data into the configurations manageable via the ctrlX CORE web interface you simple connect to the solution manager with a plug in your snapcraft.yaml:
plugs: active-solution: interface: content content: solutions target: $SNAP_COMMON/solutions
An them simply store your file in the active configuration: