You can use a sample script to monitor operating systems in physical servers.

The sample script is supported on the following operating systems:
  • CentOS 7 and CentOS 8
  • RHEL 7 and RHEL 8
  • SUSE 12 and SUSE 15
  • OEL7
  • Ubuntu 16.04 and Ubuntu 18.04
  • VMware Photon Linux


  • Ensure that Internet is enabled.
  • Verify that cURL is at 7.29.0.
  • Verify that unzip is at 6.0-20.el7 or above.
  • Verify that OpenSSL is at 1.0.2k-fips or above.


  1. Download the sample script from cloud proxy by running the following command:
    wget --no-check-certificate https://<cloudproxyIp>/downloads/salt/ 
    Note: Use the relevant cloud proxy IP address for <cloud-proxy> in the preceding location specified.
  2. Make the script executable by running the following command:
    chmod +x
  3. Create the user's refresh token associated with the current organization from the following location in the Cloud Service portal.
    User/Organization Settings > My Account > API Tokens >> Generate a New API Token
  4. Run the sample script.
    ./ -c <cloudproxyIp> -t <refreshToken from previous step> -d <agent installation directory> 
    If the environment is behind a corporate proxy, the script considers the proxy explicitly for external connections.
    Note: Ensure that the special characters in the user name and password are either http encoded or escaped correctly. For example:
    ./ -c <cloudproxyIp> -t <refreshToken from previous step> -d <agent installation directory> -x http://<proxyIp>:<proxyPort> -u <proxyUser> -p <proxyPassword>
  5. Run Telegraf.
    telegraf/usr/bin/telegraf -config telegraf/etc/telegraf/telegraf.conf -config-directory telegraf/etc/telegraf/telegraf.d

What to do next

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