Unlocking the Potential | VMware Aria Operations | Metric Search
Example metric queries to help you with “Real World” questions.
This blog post is the start of a series of blog posts that will be created to help you “Unlock the Potential” of the VMware Aria Products. I want to give you some “Real World” examples that VMware admins could use everyday to help them with their daily tasks. Hopefully you will learn from my Tips and Tricks.
VMware Aria Operations 8.12 Released:
With the release of VMware Aria Operations 8.12, Metric Searches was added to the product.
I always like to create Dashboards with VMware Aria Operations to show metric information that I think is important to a VMware Admin. I think that metric searches will help provide a lot of information that is not included on existing or custom dashboards. Metric Searches will also allow non-admins, that don’t have permission to create dashboards and views, to see specific information to help troubleshoot an issue.
I really like how the results of a metric search will stack and then you can scroll to see what item has the highest value. You can change the results to show different time ranges. After results are displayed you can also start defining the parents of the results.
Search Examples:
In this example the metric search found all VMs with CPU|Ready ms > 750 ms. When search is complete you can define the search further by selecting the parent host.
|
|
Now lets take the search used above and define the results further by specifying host or cluster.
|
|
Example Metric Searches for VMs:
|
|
Example Metric Searches for Hosts:
|
|
Example Metric Searches for Clusters:
|
|
Example Metric Searches for Datastores:
|
|
These metric search query examples should give you some good ideas of what you can do. Take these examples and change to make your own. Have Fun!
Metric search queries remind me of one of my favorite quotes:
Your thought process is the most powerful automation tool you’ll ever have! - Cody De Arkland
Stream Deck
If you’re thinking to yourself, I don’t want to have to type or copy/paste these metric searches everyday, I have a solution. STREAM DECK! If you ever wanted an excuse to spend the money for a Stream Deck, now is the time! You can program the buttons of a Stream Deck to do the searches. There is a button type in the Stream Deck called text. Enter the metric search query as the text. See the screen shot below. AWESOME!
Demo of doing Multiple Searches in a row and all the text is entered by the Stream Deck.
How to use the Kebab menu to go to the TroubleShooting Workbench
Here is an example of all the steps above and then also choosing the kebab menu to go to the troubleshooting workbench.
- Enter Search String with Stream Deck
- Review the VMs for high CPU
- Change the date range to 7 days to see how long the VM has been at 100% usage
- Go to the troubleshooting WorkBench to see why the CPU usage is so high.
Lessons Learned
- Metric Searches are a great way to do get some quick data.
- Nice way for non-admins to get data they want to see that isn’t included in OOTB (Out of The Box) Dashboards and Views.
- Quick way to be able to stack metrics from multiple objects.
- Metric Search adds a way to extend how you would use Aria Operations Standard version, because you can not create custom dashboards and views.
Links I found to be very helpful:
- If you found this Blog article useful and it helped you, Buy me a coffee to start my day.