You can configure Telegraf to monitor operating systems in physical servers.



  1. Create a refresh token from the following location in the Cloud Service portal:
    ( )

    User/Organization Settings >> My Account >> API Tokens >> Generate a New API Token

  2. Download Telegraf on the end point from cloud proxy.
    Invoke-RestMethod https://<cloud-proxy>/downloads/salt/telegraf.tar.gz -OutFile
    Note: Use the relevant cloud proxy IP address for <cloud-proxy> in the preceding location specified.
  3. Create a certificate signing request by running the following command:
    openssl req -new -newkey rsa:2048 -nodes -keyout key.pem -out csr.pem -subj "/C=IN/ST=KA/L=BLR/O=VMWARE/OU=CMBU/CN=$UUID"
  4. Sign the certificate using the vRealize Operations Cloud Suite API.
    1. Use the refresh token (step 1) to get the access token. Run the following command:
      Invoke-RestMethod '' `
           -Method 'POST' `
           -Headers @{"Accept" = "application/json"; "Content-Type" = "application/x-www-form-urlencoded"} `
           -Body "refresh_token=${refresh_token}"
    2. Get the collector ID by running the following command:
      Invoke-RestMethod '<cloud-proxy>' `
          -Headers @{'Accept' = 'application/json'; 'Authorization' = "CSPToken ${access_token}"}
    3. Get the signed certificate and CA as a ZIP file. Run the following command:
      Invoke-RestMethod '<cloud-proxy-id>' `
           -Method 'POST' `
           -ContentType 'application/octet-stream' `
           -Headers @{'Authorization' = "CSPToken ${access_token}"} `
           -InFile csr.pem `
      Note: Use the cloud proxy collector ID as the <cloud-proxy-id> in the preceding example.
  5. Extract the telegraf binary and the signed certificate-bundle. Update the telegraf configuration with the following settings:
      url = "https://<cloud-proxy>/arc/default/metric"
      insecure_skip_verify = true
      tls_ca = "ca.cert.pem"
      tls_cert = "cert.pem"
      tls_key = "key.pem"
      data_format = "wavefront"
        uuid = "$(uuidgen)"
        hostname = "$(hostname)"
  6. Restart Telegraf and wait for 10 minutes to get the data.

What to do next

You can view the metrics by selecting the relevant object > Metrics Tab from the vRealize Operations Cloud user interface.