Tag Archives: Hyperic

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.

vRealize Operations 6.1 End Point Operations

One feature that my customers have been asking is the ability to see counters in the Guest OS. This can be achieved with Hyperic in earlier releases of vRealize Operations. In version 6.1, you no longer need to deploy Hyperic server.

You download the agent from the same place you download vRealize Operations. You might be confused with the choice of agents. They are quite straight forward actually:

  • There are 2 different agents: Windows and Linux.
  • The agents come in 2 flavours: with Java or without Java. The one with embedded Java naturally has to have both the 32 bit and 64 bit options, because there are 32 bit JRE and 64 bit JRE.

Because of the above, you have many combinations. They are actually just the same thing 🙂

The agent is much smaller relative to the Hyperic agent. This is a welcomed news for those who are concern with large agent foot print. If you are curious, this is the directory structure now for the agent without the embedded Java.

11

I personally prefer to deploy the agent with embedded Java. This takes care the Java compatibility. If I use an external Java, it might be updated without me knowing it. That can create some fun troubleshooting activity in data center. It reminds me of the infamous line “Write Once. Test and Debug Everywhere”.

I’m using the Windows agent here as an example. It is already an exe file, so you just need to double click to launch. You will get the setup wizard as shown below:

21

As part of the setup, you will be asked to provide the certificate Thumbprint. You get that from the http:s//Your-vRealize-Ops/Admin URL. In my case, it’s vrealize-ops-6/admin as you can see below.

Once you login, click on the certificate icon on the top right. I highlighted it below with red rectangle. You will get a dialog box, listing 2 thumbprints. Choose the 2nd one, not the the first one. I’ve highlighted the second one in my case. On your vRealize Operations screen, copy that.

22

Go back to your Agent installation. When you are asked, simply paste it. I’ve shown mine as example below:

23

Next, provide credential. I simply use the Admin credential.

24

The rest of the Setup wizard is pretty forward. Logically, it will also ask for your vRealize Operations address. I provided a FQDN name. Be careful what you type. The setup does not validate it.

The entire installation is pretty fast. At the end, the usual completion screen is shown. It offered to open the readme file. Nothing important that you need to do there. So you are done.

26

You can validate that it is running by going to Windows Service. Do not look for VMware or vRealize. The name is shown below.

27

Yes, that’s all you need to do. The next thing is to check if it actually sends data to vRealize Operations. Wait for around 5 minutes, and you should see it. Here is mine:

28

What if it does not? Where do you check?

Go to the Inventory Explorer. From there, expand the EP Ops Adapter Resources Group. In my case, since it is Windows, I expanded Windows. The resource will appear if it’s sending data to vRealize Operations. The Collection State and Collection Status will be both green.

29

Hope you find the article useful!