vCOPS Custom Dashboard – Cluster + VM -> Environment

After reading a lot of stuff about vCOPS and playing around with Custom Dashboards. I start building my own dashboards. Some for VM monitoring some for Cluster or Datastore some based on Super-Metrics some with default metrics. So I decide to create a dashboard with all necessary things I want to know about my environment.

At first I start collecting my thoughts what I want to see on my dashboard:

  • Cluster Usage *CPU * RAM *Network
  • VM *CPU *RAM *Network *Disk I/O

The next thing for me was to decide which „Widget“ I need.

  • 1x Generic Scoreboard Widget for Cluster Overview
  • 1x Resources Widget for Host Metrics
  • 1x Resources Widget for VM Metrics
  • 1x Resources Widget for Storage Metrics
  • 1x Ressources Widget for VM Metric (VMs on same Storage as selected VM)
  • 1x Metric Graph Widget for Metric Details from selected VM
  • 1x Health Status Widget for select VM
  • 1x Generic Scoreboard for current VM Metric (CPU; CPU Ready; Memory;Network; Disk Workload; Disk free Space)

After all Widgets where configured we will get a Dashboard like this.

Dashboard_Overview_big

 

 

 

 

Let´s start with the configuration from the Cluster „Generic Dashboard“

Cluster-generic-scoreboard

 

 

 

 

 

 

  1. Expand Datacenter in Resources-Tags and select the Datacenters
  2. select your Cluster you want to see in your Widget
  3. select the Metric (I created a Super Metric* for Cluster with Ghz – Unit)
  4. fill out the gabs with your Values

*How to create these Super Metrics -> Link to Lior Kramat Blog

Next step: Configuration from Resources Widget for Host Metrics:

Host Metrics

 

 

 

 

 

 

 

  1. I select „Children Mode“ and refresh every 30 seconds
  2. My selected tags are all Clusters under „Cluster Compute Resource“
  3. add some Metrics like CPU, Memory, Network

Host_metrics-Overview

 

 

 

 

Keep in mind the we will work with „Widget Interactions“ so if you will select a Cluster from our first Widget, you will get in „Host Metics“ only all Servers from this Cluster. The same will proceed with the both next Widgets.

Next step:  Configuration from Resources Widget for VM Metrics:

vm-Metrics

 

 

 

 

 

 

 

  1. I select „Children Mode“ and refresh every 30 seconds
  2. My selected tags under „Resource Kinds“ are -> Virtual Machine „All Attributes“
  3. add some Metrics like CPU, Disk Commands, Network Usage, Memory

vm-Metrics-Overview

 

 

 

 

Next step: Configuration from Resources Widget for Storage Metric

storage-metric

 

 

 

 

 

 

 

  1. I select „Children Mode“ and refresh every 30 seconds
  2. My selected tags under „Resource Kinds“ are ->Datastore „All Datastore’s“
  3. add some Metrics like Disk Workload, Disk I/O, Disk read/write latency, Disk Usage

storage-metric-overview

 

 

 

Next step:  Configuration from Resources Widget for VM on Storage:

vm_on-storage

 

 

 

 

 

 

 

  1. I select „Parents Mode“ and refresh every 30 second
  2. My selected tags under „Resource Kinds“ are -> Virtual Machine „All
  3. Attributes“add some Metrics like CPU, Disk Commands, Network Usage, Memory

vm-on-storage_overview

 

 

 

 

Note: here you will see all VM on the Datastore you select above.

Next step:  Configuration from Ressources Widget for VM Metric (VMs on same Storage as selected VM)

vm-metric_oerview

 

 

 

 

 

 

This Widget is not configured. Also the „Res. Interaction Mode“ is default.  To get more information about Res. Interactions Modes you have to read this great blog post.

 

Next step: Configuration from Health Status Widget for select VM

vm-health

 

 

 

 

 

 

 

  1. I select „Self Mode“ and refresh every 30 seconds
  2. select „Order By: Value and Last 24 Hours“
  3. My selected tags under „Resource Kinds“ are -> Virtual Machine „All Attributes“
  4. As Metric I choose the default „Health“

vm-health-overview

 

 

 

Next step: Configuration from Generic Scoreboard for current VM Metrics

vm-scores

 

 

 

 

 

  1. I select not Self Provider but refresh every 5 seconds
  2. the „Res. Interaction Mode“ is Custom -> I create my own XML File with the Metrics you can see here

Bildschirmfoto 2014-10-27 um 23.26.55

 

 

 

 

Bildschirmfoto 2014-10-27 um 23.27.55

 

 

 

Now all widgets are configured and it is time to configure the widget interactions.

Bildschirmfoto 2014-10-27 um 23.31.38

 

 

 

 

 

 

 

So what does it mean:

Dashboard_Overview_big

 

 

 

 

  1. select „Cluster Workload CPU“ and you will see all ESX Servers in the next Resource Widget
  2. just select any ESX Server and you will find his VM´s in the next Resource Widget
  3. Here are all VM´s from the selected ESX Server in „2“, with selecting any VM -> their „Datastore“ will be visible. ALSO: in „3.1“ you can see the Metrics from the selected VM AND: in „3.2 & 3.3“ you will see automatically the metrics and health stats.
  4. by selecting the Datastore from „3“ you will see all VMs running on these Datastore in 4.1

 

Hope this will help you to understand a little bit more about vCOPS.