Monitoring VM when you do not have vCenter access

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.

logo-olm

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.

Pre-requisites

  • 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:

1

  1. Select the plugin file
  2. Check the Plugin File name
  3. Click Upload

2

Check the progress of the installation:

3

Click refresh. Finally check if the status is ok

4

Optional – Dashboards

Now you can go to vRealize Operations UI and import the dashboards:

  1. Go to Content
  2. Click on Dashboards
  3. Click on Import Dashboards

5

Select the dashboard file and click open

6

Optional – Alerts

  1. Click Alert Definitions
  2. Click in the Button
  3. Import it

7

Click in the alert file and open it

8

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.

10

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

11

Now, go back to vRealize Operations, and desk03 is showing some information.

13

Just wait for a few minutes. You will see the collection status changed to green

14

Now, we are ready to get metrics inside that VM.

  1. Type the name of your VM
  2. Choose VMware Tools

20

Click in the troubleshooint TAB

21

From within the Troubleshooting tab, click All Metrics

22

Click Utilization

23

And you can see all metrics that comes from VMware tools directly.

24

This concludes this post, in the next post (Part 2 ) we will talk about the same approach, but using EPOPs agents.

Leave a Reply