Telegraf agent installation on Windows fails with error "SKIP_CERTIFICATE should be {1, 0}"
search cancel

Telegraf agent installation on Windows fails with error "SKIP_CERTIFICATE should be {1, 0}"

book

Article ID: 438101

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • When attempting to install the Telegraf agent on a Windows server using the telegraf-utils.ps1 script, the installation fails with the following error.

    .\telegraf-utils.ps1 product-managed -c <cloud_proxy_ip_or_collector_group_name> -t <token> -v <vmwareariaoperations_ip_or_fqdn>
    
    SKIP_CERTIFICATE should be {1, 0}

     

  • The error persisted even after following PowerShell script to bypass certificate validation mentioned in Broadcom KB389315

Environment

Aria Operations 8.x

Cause

The Telegraf installation script failed as the argument for SKIP_CERTIFICATE was missing.
The telegraf-utils.ps1 script was looking for input validation check for the SKIP_CERTIFICATE variable. If the script is executed without the -k argument, the variable remains in an invalid state, triggering the validation failure.

Below is the "SKIP_CERTIFICATE" reference within the telegraf-utils.ps1 script

Resolution

To complete the Telegraf agent installation, execute the installation script using the -k parameter with a value of 1 as given below:

.\telegraf-utils.ps1 product-managed -t <token>  -v <vmwareariaoperations_ip_or_fqdn>  -c <cloud_proxy_ip_or_collector_group_name> -k 1


Note : Refer to KB389315 Step 3, to obtain the script execution token.

Additional Information

Install/Uninstall an Agent Using a Script on a Windows Platform