Info | ||
---|---|---|
You will need to setup the Telegraf at a VM / container that has the following rights:
Linux specific: if you host the collector on Linux, please remove the lines below from the “inputs.file” sections.
|
Step 1
Create an AtomSphere API token. Follow the instructions from Boomi. Also note Note down your
Token
Boomi account Id which you can find after logging in at Boomi AtomSphere under “Settings » Account Information”
username (in the form “BOOMI_TOKEN.<username>”)
Step 2
For the server or container hosting Telegraf
download and install the Influx Telegraf agent that corresponds to your OS athttps://portal.influxdata.com/downloads/
Copy the Telegraf_Boomi_Processes.conffile into the Influx Telegraf folder (the folder should contain the telegraf.exe and the default telegraf.conf file). You can download the configuration file here.In the “outputs.http” section
Download the BoomiProcesses.ps1 PowerShell script into your Telegraf folder (same place where you put the Telegraf_Boomi_Processes.conf). You can download the script here
Telegraf configuration
In the “outputs.http” sections of the config file there
are fields with the name “authenticate”. Place your Eyer agent API token here.
In the
“inputs.exec” sections of the config file there
are fields with the name “commands”. Insert the path to your Telegraf folder and PowerShell script here
Save the Telegraf config file
- Download the Boomi_processes.ps1 PowerShell script into your Telegraf folder. You can download the script here
(the folder should contain the telegraf.exe and default config file). It should look something like the line below (NOTE! Use the short name version of the folder name if the folder name contains any spaces. In a cmd window you can write “dir /x" to list the short version name of any directory)
Code Block commands = ['powershell -command "& { . C:\telegraf-1.31.2_windows_amd64\telegraf-1.31.2\BoomiProcesses.ps1; RegularProcess }"']
In the “inputs.file” sections, make sure to add the path to your telegraf folder as shown below (NOTE! Forward slashes).
Code Block files = ["C:/telegraf-1.31.2_windows_amd64/telegraf-1.31.2/Transactions*.json"]
Save the Telegraf config file
Powershell script configuration
Open / edit the Boomi_processes.ps1 PowerShell script
Replace all variable in the top section with your AtomSphere API token & username, Boomi account Id and Telegraf path. In your Telegraf path, make sure you have a “\” at the end of the path, like
Code Block $TelegrafPath = 'C:\Program Files\InfluxData\telegraf\telegraf-1.28.2\'
Save the PowerShell file
Register the Telegraf agent as a service and start it(see instructions per OS). With Windows use
Code Block \telegraf.exe --service install `--config "C:\Program Files\InfluxData\telegraf\telegraf-1.28.2\Telegraf_Boomi_Processes.conf" --service-name BoomiProcess service install
Start the Telegraf service.
...