You can use a sample script to monitor operating systems in physical servers.
- CentOS 7 and CentOS 8
- RHEL 7 and RHEL 8
- SUSE 12 and SUSE15
- 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.
- Download the sample script from cloud proxy by running the following command:
wget --no-check-certificate https://<cloudproxyIp>/downloads/salt/unmanagedagent_setup_sample.shNote: Use the relevant cloud proxy IP address for <cloud-proxy> in the preceding location specified.
- Make the script executable by running the following command:
chmod +x unmanagedagent_setup_sample.sh
- 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
- Run the sample script.
./unmanagedagent_setup_sample.sh -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:
./unmanagedagent_setup_sample.sh -c <cloudproxyIp> -t <refreshToken from previous step> -d <agent installation directory> -x http://<proxyIp>:<proxyPort> -u <proxyUser> -p <proxyPassword>
- 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 vRealize Operations Cloud user interface.Tab from the