This blog is contributed by my friend Luciano Gomes, a VMware PSO Consultant in Rio de Janeiro Area, Brazil. Thank you Lucky!
The Olympic games is coming soon, if you come to Rio, just let me know, I will be glad to show you my wonderful city.
We never stop learning. But before we start this post, I have a question for you. If a customer wants to monitor ESXi Host and the VMs, but for some reason do not have access to vCenter Server. Is it impossible? Actually, no. Our colleague Brandon Gordon, wrote this solution.
It requires Hyperic. Be informed that vRealize Hyperic 5.8.4 and 5.8.5 has End of General Support Date on 9 Dec 2017. You can see the complete list here. The process of merging Hyperic into the base vRealize Platform has begun.
- vRealize Hyperic Server
- vRealize Operations Manager
- VMware Tools Installed in the VMs that you want to monitor
- vRealize Hyperic Agent installed in VMs that you want to monitor
Overview of the Installation
- Install VMware Tools
- Install Hyperic Agents
- Import vmtools-plugin.xml in Hyperic
- Optionally import vmtools_dashboards.json in vRealize Operations for default dashboards
- Optionally import vmtools_alerts.xml in vRealize Operations for default alerts
Downloading and Installing the Solution:
I will not cover the VMware Tools installation. I think you know that 🙂 For how to install the Hyperic Agent, look here. You should also have the vRealize Operations and Hyperic properly configured.
the first step is get the download of the VMware Tools Hyperic Plugin from solution exchange website, you can found here.
Access your vRealize Hyperic server and click in Administration –> Plugin manager–>add/update plugin(s), as shown below:
- Select the plugin file
- Check the Plugin File name
- Click Upload
Check the progress of the installation:
Click refresh. Finally check if the status is ok
Optional – Dashboards
Now you can go to vRealize Operations UI and import the dashboards:
- Go to Content
- Click on Dashboards
- Click on Import Dashboards
Select the dashboard file and click open
Optional – Alerts
- Click Alert Definitions
- Click in the Button
- Import it
Click in the alert file and open it
By this time, we are almost there, just to clarify and helps the understanding. My virtual machine that resides in a host without management by vCenter is called desk03, as you can see, there is nothing from that VM in vRealize Operations. I was not running the Hyperic Agent yet, because of it, we have nothing in vRealize Operations.
Wait for some time (around 10 minutes) and go to Hyperic interface. You will see the new resource has been discovered, as shown below. Just click Add to Inventory button
Now, go back to vRealize Operations, and desk03 is showing some information.
Just wait for a few minutes. You will see the collection status changed to green
Now, we are ready to get metrics inside that VM.
- Type the name of your VM
- Choose VMware Tools
Click in the troubleshooint TAB
From within the Troubleshooting tab, click All Metrics
And you can see all metrics that comes from VMware tools directly.
This concludes this post, in the next post (Part 2 ) we will talk about the same approach, but using EPOPs agents.