Sample dashboards to monitor NSX Load Balancers

This blog is contributed by my friend Luciano Gomes, a VMware PSO Consultant in Rio de Janeiro Area, Brazil. Thank you Lucky!

vRealize Operations NSX for vSphere v3.0 management pack has 4 “out-of-the-box” dashboards. In this blog, I will show you how to create 2 dashboards to monitor Load Balance Services. You can certainly expand the idea to monitor any service hosted by NSX Edge). I will provide the files, so you can just import the XML file. So, let’s get started.


You should have the following up and running:

  • vRealize Operations. I recommend 6.2.1 release.
  • NSX Load Balancer
  • NSX for vSphere Management Pack

Configuring the XML and importing the Dashboards:

Create a new Metric Config file. Copy and paste this text below into it. This drives the customised metric shown in the dashboard.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <AdapterKind adapterKindKey="NSX">
 <ResourceKind resourceKindKey="LoadBalancerEdgeService">
 <Metric attrkey="virtualserver|session_rate" label="Virtual Server|Sessions per second" unit="Sessions" yellow="500" orange="7000" red="85000" />
 <Metric attrkey="virtualserver|current_sessions" label="Virtual Server|Current Sessions" unit="Sessions" yellow="5000" orange="7000" red="85000" />
 <Metric attrkey="virtualserver|max_sessions" label="Virtual Server|Max Observed Sessions" unit="Sessions" yellow="500" orange="7000" red="85000" />
 <Metric attrkey="pool|session_rate" label="Pool|Sessions per second " unit="Sessions" yellow="500" orange="700" red="850" />
 <Metric attrkey="pool|current_sessions" label="Pool|Current Sessions" unit="Sessions" yellow="500" orange="700" red="850" />
 <Metric attrkey="pool|max_sessions" label="Pool|Max Observed Sessions" unit="Sessions" yellow="500" orange="700" red="850" />

If you are not sure how to do it, here is the instruction and screenshot.

  1. Click Content on the main navigation
  2. Click Manage Metric Config from the menu on the left.
  3. Select ReskndMetric
  4. Click Plus green icon, to create new file
  5. Give a name to file: load.xml
  6. Save the file.


The next step is to import the dashboards. Download it from this link link, then follow the steps

  1. Click Content, then Dashboard
  2. Click in the Gear icon.
  3. Choose Import Dashboards from the drop down menu.
  4. Choose the file that you’ve just downloaded. It contains 2 dashboards.
  5. Wait a little and check the new Dashboards are imported.


That’s it! Time to explore the new dashboards.

Exploring the New Dashboards

In the first dashboard, you choose your Load Balancer Instance from a list. The list of metrics in Load Balancer Status are automatically shown. If there is any alert, it will show up on the bottom widget.


In the second dashboard, you have the flexibility of choosing NSX Edge or just the Load Balancer. The list of metrics are automatically shown. You can then choose any metric to plot a line chart. This is useful if you need to go back in time.


Hope you find it useful!

Leave a Reply