Telegraf agent installation on Windows VM fails.
The error running the telegraf-utils.ps1 is "The requested URL was not found on this server. At C:\telegraf\telegraf-utils.ps1:900 char:5"
The requested URL was not found on this server.
At C:\telegraf\telegraf-utils.ps1:900 char:5
+ Invoke-RestMethod -Proxy $PROXY -ProxyCredential $proxyCredential ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Aria Operations 8.17.1
Currently, there is no resolution in Aria Operations 8.17.1 However, you can follow the workaround below.
1. Open the Telegraf Script
Navigate to the Telegraf installation directory:
Locate the telegraf-utils.ps1
script.
Open it using a text editor (e.g., Notepad++ or Visual Studio Code).
2. Comment Out the Specific Line
Find line 1089 in the script.
Locate the following line:
Comment it out by adding #
at the beginning:
3. Save the Script
Save the modified telegraf-utils.ps1
file.
Close the text editor.
4. Retry the Installation
Run the installation command again to check if it proceeds without errors.