Note: In order to setup a telegraf agent, you must install the cloud proxy first: Installing Cloud Proxy in Aria Operations
For windows machines (Physical or virtual), you can setup and configure the open source telegraf agent to receive data into Aria Operations.
Aria Operations 8.16.x
Aria Operations 8.17.x
Aria Operations 8.18.x
Telegraf agents cannot start as a Windows service until they have been fully configured.
https://<CloudProxy>/downloads/salt/telegraf-utils.ps1 and save the file in the local system'C:\telegraf' and create another folder inside that folder for the configuration data such as 'C:\telegraf\telegraf.d'. NOTE: DO not create a folder with spaces in it as it will cause the process to fail.'C:\telegraf\"'.\telegraf.exe --service install --config C:\telegraf\telegraf.conf --config-directory C:\telegraf\telegraf.d''.\telegraf.exe --service start' .\telegraf-utils.ps1 opensource -c cloud_proxy_ip_or_collector_group_name -t token -d telegraf_conf_dir -e telegraf_bin_path -v vmwareariaoperations_ip_or_fqdn
Description of arguments:
-c : [REQUIRED] cloud_proxy_ip_or_collector_group_name - Cloud Proxy IP or Collector Group Name
-t : [REQUIRED] token - Auth Token of the user/account. For getting a new token:
(https://<VMwareAriaOperations_IP>/suite-api/ or curl -ks -X POST https://<VMwareAriaOperations_IP>/suite-api/api/auth/token/acquire -H \"Content-Type: application/json\" -H \"Accept: application/json\" -d \"{\"username\":\"<VMwareAriaOperations_USER>\",\"password\":\"<VMwareAriaOperations_USER_PASSWORD>\"}\")
-d : [REQUIRED] telegraf_conf_dir - Telegraf configuration directory and it is required argument. ex: C:\Telegraf\telegraf-1.20.4\telegraf.d
-e : [REQUIRED] telegraf_bin_path - Path of telegraf executable ex: C:\Telegraf\telegraf-1.20.4\telegraf.exe
-v : [REQUIRED] vmwareariaoperations_ip_or_fqdn - IP/FQDN of VMware Aria Operations master node and required for on-prem\telegraf.exe --service stop' followed by '.\telegraf.exe --service start'Related documentation: Configure Open Source Telegraf in Aria Operations