vRealize Operations Manager – Monitor any IP & port for Availability and Response time!

A while back I was looking for a vROps management pack that would ping IP addresses to check availability and response time for a given list of endpoints. A search of the VMware Solution Exchange returned nothing however recently I discovered the Port Adapter management pack.

Initially from reading the documentation, I thought that the pack was only able to monitor ESXi host ports:

The port adapter is an embedded adapter for vCenter Operations Manager. The adapter monitors the availability state and response time of ports on hosts.

Upon further reading I found my assumption to be incorrect and installed the pack in my lab to see what functionality it had.

In summary the management pack reads a text file which you define a list of IP addresses or hostnames and ports:

  • 80
  • 3389
  • 22

You can also define multiple ports per endpoint like this:

  • 443 53


I tested the installation on vROPs 6.1, 6.2 & 6.4 but it should work for all versions including the older vCOps

  1. You can download the management pack here, there doesn’t appear to be a license restriction and the download is free of charge. You need an account to download the pack but this is also free.
  2. Once you have logged in, download the pack by selecting the try button on the right of the page
  3. Login to your vROps instance and navigate to Home > Solutions (Press the plus icon to add a new solution)
  4. Browse for the .pak file downloaded earlier, upload and accept the defaults
  5. Close the wizard and select the PORT solution then click the configure icon
  6. Give your instance a name. I simply called mine Port Monitor
  7. Save and exit the wizard
  8. Next you need to login to the console or SSH to the vROps appliance and edit the default text file with all the IP addresses and ports you want to monitor
  9. I simply login to the console with the admin account
  10. Use VI to edit the text file located here: /usr/lib/vmware-vcops/user/plugins/inbound/port_adapter3/conf/host_port_list.txt
  11. Here is my example before I save it. Note that it can take up to 15 minutes for this to take effect
  12. Now go back to the vROps UI and create a view (Home > Content > Dashboards > New) You need vROps Advanced or Enterprise to create new dashboards but it’s still possible to create alerts if you have the standard version. See further down for details
  13. For ease I created a basic dashboard and a video to show you how I built it

Out of the box there is an alert for object is down, you can create custom email alert notifications from this alert. If you want to create your own alerts then this can be done by creating your own symptoms and definitions. Example below:

  1. Home > Content > Symptom Definitions > Metric / Property Symptom Definitions
  2. Copy these settings, changing the port where required. You need to create a symptom definition for every port you are monitoring so change the port number accordingly each time
  3. Next create an alert definition. You only need one alert definition because one can include all the symptoms created earlier
  4. Remember to add another symptom and include it in your alert definition whenever you decide to monitor additional ports

That’s it! If one of the ports go down that you are monitoring, you will get a critical alert in vROps. You can also create email alerts based on the alert definition

Below is an example of the built in alert which triggers when all ports for a given endpoint are not reachable

Leave a Response