With FW 2022.0 - InfluxDB 2.0 Chronograf is pre-installed on your EPC
Telegraf is InfluxData’s data collection agent for collecting and reporting metrics. Its vast library of input plugins and “plug-and-play” architecture lets you quickly and easily collect metrics from many different sources.
In this example, Telegraf is configured to then track system measurements like CPU, disk and memory usage.
-
Navigate to Data – Bucket and create a new bucket "System"
-
Navigate to Data – Telegraf
-
Click on Create Configuration
-
Make sure the Bucket "System" is selected in drop-down.
-
Select System and click continue
-
Name the configuration and click Create and Verify
-
Click “Finish”
-
Copy your Telegraf token. You can find it under Data->Tokens
-
Edit the telegraf configuration
a. Add “insecure_skip_verify=true” under the “urls” setting if using a self-signed certificate
b. Paste the token value into token = “[value of token]” -
Open up the software "WinSCP" on your Host-PC.
Navigate to the folder /opt/plcnext/edge/telegraf/etc/telegraf/
and replace the contents of "telegraf.conf" with the config file you downloaded in the previous step.
-
Reboot your EPC
-
As a result, you now should be able to track all available system-variables in your bucket "System".
-
You can use a pre-defined dashboard in InlfuxDB, called "System" with all a lot of relevant data already configured.
a.) Navigate to "Boards" and open up the "System" board. b.) You might have to set the name of your bucket (In my example "system" to each cell.)
-
After configuring each cell, you should have a good overview of your system values.
Please see next chapter: Send data into AnyCloud