In the last blog post we saw how to create custom dashboards to suit our specific needs. To recap, custom dashboards allow us to create views that suit the day-to-day need to do the job effectively. One can place any metric collected by Foglight onto the dashboard. This allows us to focus only on the objects of interest.
As shown below, we are looking at 2 simple metrics for “Cluster 4”. Memory Swap In and CPU Used. We are also following same metrics for ESX hosts belonging to that cluster.
All is well. But what should happen when we want to get a little deeper?
Custom dashboards allow us a way to jump to story behind the simple gauge. Here is how:
Let’s select “Cluster 4 CPU Used Hz” table and get into “Edit properties”. To get there, simply click on the right-most icon on top-right corner of the field. It would open a window like below. Select the Actions tab:
There are two actions that can be selected. These actions tell Foglight what to do when user “clicks” on the gauge icon (Select) or when user hovers over the metric with the mouse pointer (Dwell). Let’s just pick one for our purpose.
We will select the first one: Select a metric. Click on the box next to “Select a metric”. The “Edit” icon on the right is enabled. Click on that metric. The new window pops us as shown below:
We have 4 options to choose from: popup, Dialog, Next page/Drill down or External URL. Depending on the desired style of the page, you can select any of the above options. Typically, most used option here is next page/drill down. But you can use popup for showing detailed information as well.
External URL can be used for opening a specific web page to take certain action or even providing definition.
Once you hit next, the screen will show options for showing which data to show: It can either be no data or parent data.
“No Data” here means the data unconnected to the metric on which the user is clicking. This can be for opening options window, for example or something completely different.
More straight forward choice here is to show selected Metric’s parent. Let’s go with this option and hit next.
The new screen shows all related metrics to choose from. Opening “VMware” and then “Cluster”, we select “Clusters with Most Running VMs”. The preview screen shows that 10 VMs are running. Hit Finish. And then hit “Apply” to return to the dashboard.
Now if you click on the Cluster 4 CPU Used metric, you will see the new popup open up.
If you click on the “Cluster4” object, you will go to the explore cluster dashboard, thus allowing you to explore deep into the cluster’s functionality.
Custom dashboards provide a powerful way to selectively view the data. Many dashboards can be created to suite a specific function or role and they are all linked. So “exploring” from one dashboard to another for in-depth look is just a click away