{"id":1399,"date":"2023-04-24T19:03:04","date_gmt":"2023-04-24T18:03:04","guid":{"rendered":"https:\/\/thomas-kopton.de\/vblog\/?p=1399"},"modified":"2023-04-24T19:03:04","modified_gmt":"2023-04-24T18:03:04","slug":"enhancing-sustainability-data-in-vmware-aria-operations-using-rest-api-and-automation","status":"publish","type":"post","link":"https:\/\/thomas-kopton.de\/vblog\/?p=1399","title":{"rendered":"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Overview of OOTB Sustainability<\/h4>\n\n\n\n<p>With its <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">VMware Greenscore VMware Aria Operations<\/mark><\/strong> provides a great way of not only showing the effects of your current efforts toward more <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">sustainable<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">operations<\/mark>, it also offers multiple approaches which will help organization improve their <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">operational efficiency<\/mark>, save money and <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">reduce carbon emissions<\/mark>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"302\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2-1024x302.png\" alt=\"\" class=\"wp-image-1412\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2-1024x302.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2-300x89.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2-768x227.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2-1536x453.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2-2048x604.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 01: VMware Aria Operations Greenscore<\/em><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Major use cases possible OOTB<\/h4>\n\n\n\n<p>With the power usage and utilization related metrics VMware Aria Operations is collecting, and the predefined set of Dashboards the operations teams can quickly identify opportunities for improvement.<\/p>\n\n\n\n<p>From <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">Clean Demand<\/mark> overview helping find potentially unused resources (Virtual Machines, Snapshots, etc.) or not properly sized Virtual Machines, through <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">Lean Operations<\/mark> focusing on provider efficiency up to <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">Green Supply<\/mark> making energy consumption and carbon emissions transparent, Aria Operations offers the right tools to make the sustainability strategy a success.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-1024x692.png\" alt=\"\" class=\"wp-image-1409\" width=\"840\" height=\"567\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-1024x692.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-300x203.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-768x519.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-1536x1039.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2048x1385.png 2048w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 02: The three pillars of sustainability in VMware Aria Operations<\/em><\/figcaption><\/figure>\n\n\n\n<p>Leveraging the available information many use cases can be easily implemented out-of-the-box:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>resource reclamation and rightsizing<\/li>\n\n\n\n<li>workload balancing<\/li>\n\n\n\n<li>insights into energy consumption, both at provider and at the consumer level<\/li>\n\n\n\n<li>insights into carbon emissions<\/li>\n\n\n\n<li>insights into energy costs<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Use cases not possible OOTB<\/h4>\n\n\n\n<p>Even if the requirements and use cases are basically always the same, they usually differ in detail. And of course, these details cannot all be mapped as features in the product.<br>On the other hand, VMware Aria Operations offers excellent options for expanding the feature set without waiting for a new version and thus being able to address practically all use cases.<\/p>\n\n\n\n<p>One of such use cases was:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>I need to see the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">power usage<\/mark> of my vSphere Clusters in this month, from the beginning of the month up to today &#8211; <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Month To Date or MTD<\/mark> values<\/li>\n\n\n\n<li>I want to see the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">energy costs<\/mark> of my vSphere Clusters as <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">MTD<\/mark> value<\/li>\n\n\n\n<li>I want to display my current <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Power Usage Effectiveness <\/mark>(PUE) value in VMware Aria Operations<\/li>\n<\/ul>\n\n\n\n<p>Prior to the possible solution, the next two paragraphs will give you a quick overview of the VMware Aria Operations functionalities building the foundation of my concept. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">VMware Aria Operations REST API <\/h4>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">The very well described <strong>Aria Operations REST API<\/strong> is probably the best way to extend functionality almost infinitely. In the end, Aria Operations is a data lake with many many methods and algorithms to generate helpful insights from raw data.<\/mark><\/p>\n\n\n\n<p>Every Aria Operations instance, SaaS as well as on-premises, provides a Swagger UI which makes it really easy to get familiar with the very extensive REST API. You can access the Swagger you by simply navigating to:<\/p>\n\n\n\n<p><code>https:\/\/www.mgmt.cloud.vmware.com\/vrops-cloud\/suite-api<\/code><\/p>\n\n\n\n<p>or<\/p>\n\n\n\n<p><code>https:\/\/$localurl\/suite-api<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"636\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-3-1024x636.png\" alt=\"\" class=\"wp-image-1420\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-3-1024x636.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-3-300x186.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-3-768x477.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-3-1536x954.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-3-2048x1272.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 03: VMware Aria Operations REST API documentation<\/em><\/figcaption><\/figure>\n\n\n\n<p>In my concept I will use few of the Resource and Resources methods to gather information, calculate and add new data to existing objects in Aria Operations.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">VMware Aria Operations Super Metrics<\/h4>\n\n\n\n<p>Sometimes the task is to determine new metrics based on already known metrics or properties. You often don&#8217;t even have to resort to programmatic approaches, the VMware Aria Operations <strong>Super Metrics<\/strong> provide almost everything to generate new information from existing data with little effort.<\/p>\n\n\n\n<p>Super Metrics are another part of my concept and if you would like to learn how to create your own Super Metrics, please go and check out my video series here:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"VMware Aria Operations  Super Metrics Made Easy Part 1 - Introduction\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/IRk2OJAVVMc?list=PLrFo2o1FG9n6PvSd3nFUZYZDo1ICcajVD\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\"><em>Figure 04: Now known as VMware Aria Operations Super Metrics Made Easy<\/em><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">The Concept<\/h4>\n\n\n\n<p>To stay focused on the objectives, here again the requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>I need to see the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">power usage<\/mark> of my vSphere Clusters in this month, from the beginning of the month up to today &#8211; <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Month To Date or MTD<\/mark> values<\/li>\n\n\n\n<li>I want to see the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">energy costs<\/mark> of my vSphere Clusters as <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">MTD<\/mark> value<\/li>\n\n\n\n<li>I want to display my current <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Power Usage Effectiveness <\/mark>(PUE) value in VMware Aria Operations (still WiP)<\/li>\n<\/ul>\n\n\n\n<p>Based on the requirements, here is the data or metrics I need in Aria Operations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MTD value &#8211; how many seconds or minutes or hours since the beginning of the current month<\/li>\n\n\n\n<li>power consumption of my ESXi hosts per hour (or minute etc.)<\/li>\n\n\n\n<li>current price of energy for any of my ESXi hosts (might be different per host)<\/li>\n\n\n\n<li>the total energy consumption of my data center(s) (facility including cooling, lighting etc.)<\/li>\n<\/ul>\n\n\n\n<p>Using this information I can finally calculate the data requested in the use cases. The overall process in my concept is depicted in the following figure (I have removed the login operations for better visibility).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1010\" height=\"1024\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-6-1010x1024.png\" alt=\"\" class=\"wp-image-1433\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-6-1010x1024.png 1010w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-6-296x300.png 296w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-6-768x779.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-6-1514x1536.png 1514w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-6.png 1548w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 05: Communication diagram (simplified)<\/em><\/figcaption><\/figure>\n\n\n\n<p>Let&#8217;s start with the easiest part &#8211; the <strong>energy price<\/strong>.<\/p>\n\n\n\n<p>The are different approaches on how to add this data to Aria Operations. I have decided to use the Custom Group construct to organize my clusters and add automatically add a new custom property, <code>Electricity Rate<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"935\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-5-1024x935.png\" alt=\"\" class=\"wp-image-1432\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-5-1024x935.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-5-300x274.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-5-768x702.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-5-1536x1403.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-5-2048x1871.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 06: Adding Energy Rate property using Custom Groups<\/em><\/figcaption><\/figure>\n\n\n\n<p>If using different energy prices for different ESXi hosts within one cluster is a constraint, the same method can be used to add the energy rate as custom property to every single ESXi host system. This value at the host level will make it easier to calculate MTD energy costs for every single ESXi system.<\/p>\n\n\n\n<p>The next step, slightly more complex, is the calculation of the MTD energy consumption for every Host System object which is having the necessary power metrics, and pushing this new value back to Aria Operations as custom metric. The next picture shows the Aria Automation Orchestrator workflows I have created to accomplish this task.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"612\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-7-1024x612.png\" alt=\"\" class=\"wp-image-1437\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-7-1024x612.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-7-300x179.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-7-768x459.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-7-1536x919.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-7-2048x1225.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 07: Aria Automation Orchestrator workflows<\/em><\/figcaption><\/figure>\n\n\n\n<p>At the first glance this workflow may appear very confusing but there is an own concept behind this approach. The idea is to have a Aria Operations Automation Framework, re-usable building-blocks you stich together and implement new requirements. All workflows, actions, Super Metrics etc. will be available via VMware Code and my GitHub page. You will find all details at the end of this blog post.<\/p>\n\n\n\n<p>This workflow runs every hour and pushes the values to Aria Operations. The next picture shows the <code>MTDEnergyConsumption<\/code> metric of my two ESXi hosts.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"369\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-8-1024x369.png\" alt=\"\" class=\"wp-image-1440\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-8-1024x369.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-8-300x108.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-8-768x277.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-8-1536x553.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-8-2048x737.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 08: Host MTD Energy Consumption metrics<\/em><\/figcaption><\/figure>\n\n\n\n<p>Finally we have the basic metrics, MTD energy consumption and energy price, to calculate additional metrics and visualize them in Aria Operations.<\/p>\n\n\n\n<p>Super Metrics are the easiest way to calculate energy consumption at higher levels like clusters and data centers as well as the price of the consumed energy on all levels. Following picture shows two examples of such Super Metrics, cluster level energy usage and energy price &#8211; both as MTD values.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"485\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-9-1024x485.png\" alt=\"\" class=\"wp-image-1445\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-9-1024x485.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-9-300x142.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-9-768x364.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-9-1536x727.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-9-2048x969.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 09: Cluster MTD Energy Consumption and costs Super Metrics<\/em><\/figcaption><\/figure>\n\n\n\n<p>Finally we can use the new metrics to create Aria Operations Dashboards like this one which shows the Month to Date energy consumption and the costs for my Aria Operations Datacenter as well as its breakdown at cluster level.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-10.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-10-1024x473.png\" alt=\"\" class=\"wp-image-1448\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-10-1024x473.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-10-300x139.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-10-768x355.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-10-1536x710.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-10-2048x947.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 10: Datacenter MTD Energy Consumption and costs dashboard<\/em><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Outlook<\/h4>\n\n\n\n<p>The calculation of the PUE value is still Work in Progress, thus you will receive an error message using the dashboard.<\/p>\n\n\n\n<p>In the next blog post I will show how to add and use even more energy related data coming from basically any device to VMware Aria Operations.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Sources<\/h4>\n\n\n\n<p>The VMware Aria Automation Orchestrator workflows and the Aria Operations content is available here:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/tkopton\/aria-operations-content\/tree\/main\/Sustainability-01\">https:\/\/github.com\/tkopton\/aria-operations-content\/tree\/main\/Sustainability-01<\/a><\/p>\n\n\n\n<p>Please be aware that you will need to create a configuration in Aria Orchestrator, which I will use in an improved version of my workflows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-11-1024x430.png\" alt=\"\" class=\"wp-image-1450\" width=\"840\" height=\"352\" srcset=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-11-1024x430.png 1024w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-11-300x126.png 300w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-11-768x323.png 768w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-11-1536x645.png 1536w, https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-11.png 1886w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>Figure 11: Aria Automation Orchestrator configuration<\/em><\/figcaption><\/figure>\n\n\n\n<p>You will also need to create <strong>Custom Groups<\/strong> in your Aria Operations to group Hosts or\/and Clusters and add the <code>Energy Rate<\/code> as Custom Property to these objects.<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Stay<\/mark><\/strong> <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f5d800\" class=\"has-inline-color\">safe<\/mark><\/strong>.<\/p>\n\n\n\n<p>Thomas \u2013&nbsp;<a href=\"https:\/\/twitter.com\/ThomasKopton\">https:\/\/twitter.com\/ThomasKopto<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview of OOTB Sustainability With its VMware Greenscore VMware Aria Operations provides a great way of not only showing the effects of your current efforts toward more sustainable operations, it also offers multiple approaches which will help organization improve their operational efficiency, save money and reduce carbon emissions. Major use cases possible OOTB With the &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1412,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57,15,14,68],"tags":[58,4,69,26],"class_list":["post-1399","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aria-operations","category-super-metric","category-supermetric","category-sustainability","tag-aria-operations","tag-supermetric","tag-sustainability","tag-vro"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation - TOMsOps<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thomas-kopton.de\/vblog\/?p=1399\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation - TOMsOps\" \/>\n<meta property=\"og:description\" content=\"Overview of OOTB Sustainability With its VMware Greenscore VMware Aria Operations provides a great way of not only showing the effects of your current efforts toward more sustainable operations, it also offers multiple approaches which will help organization improve their operational efficiency, save money and reduce carbon emissions. Major use cases possible OOTB With the ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thomas-kopton.de\/vblog\/?p=1399\" \/>\n<meta property=\"og:site_name\" content=\"TOMsOps\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-24T18:03:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"4026\" \/>\n\t<meta property=\"og:image:height\" content=\"1188\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Thomas Kopton\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thomas Kopton\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399\"},\"author\":{\"name\":\"Thomas Kopton\",\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/#\\\/schema\\\/person\\\/892d6b96c66b1dd4b75c6e32fdbfea82\"},\"headline\":\"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation\",\"datePublished\":\"2023-04-24T18:03:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399\"},\"wordCount\":1293,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"keywords\":[\"Aria Operations\",\"SuperMetric\",\"sustainability\",\"vRO\"],\"articleSection\":[\"Aria Operations\",\"Super Metric\",\"SuperMetric\",\"Sustainability\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399\",\"url\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399\",\"name\":\"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation - TOMsOps\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"datePublished\":\"2023-04-24T18:03:04+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/#\\\/schema\\\/person\\\/892d6b96c66b1dd4b75c6e32fdbfea82\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#primaryimage\",\"url\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"contentUrl\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-2.png\",\"width\":4026,\"height\":1188},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?p=1399#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/#website\",\"url\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/\",\"name\":\"TOMsOps\",\"description\":\"Just another VMware Cloud Management Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/#\\\/schema\\\/person\\\/892d6b96c66b1dd4b75c6e32fdbfea82\",\"name\":\"Thomas Kopton\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e746aafbd3733172ceb4d600ba1feda61bc87cd3b70f5a9dfb581907cc7973b1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e746aafbd3733172ceb4d600ba1feda61bc87cd3b70f5a9dfb581907cc7973b1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e746aafbd3733172ceb4d600ba1feda61bc87cd3b70f5a9dfb581907cc7973b1?s=96&d=mm&r=g\",\"caption\":\"Thomas Kopton\"},\"url\":\"https:\\\/\\\/thomas-kopton.de\\\/vblog\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation - TOMsOps","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thomas-kopton.de\/vblog\/?p=1399","og_locale":"en_US","og_type":"article","og_title":"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation - TOMsOps","og_description":"Overview of OOTB Sustainability With its VMware Greenscore VMware Aria Operations provides a great way of not only showing the effects of your current efforts toward more sustainable operations, it also offers multiple approaches which will help organization improve their operational efficiency, save money and reduce carbon emissions. Major use cases possible OOTB With the ...","og_url":"https:\/\/thomas-kopton.de\/vblog\/?p=1399","og_site_name":"TOMsOps","article_published_time":"2023-04-24T18:03:04+00:00","og_image":[{"width":4026,"height":1188,"url":"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2.png","type":"image\/png"}],"author":"Thomas Kopton","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Thomas Kopton","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399#article","isPartOf":{"@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399"},"author":{"name":"Thomas Kopton","@id":"https:\/\/thomas-kopton.de\/vblog\/#\/schema\/person\/892d6b96c66b1dd4b75c6e32fdbfea82"},"headline":"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation","datePublished":"2023-04-24T18:03:04+00:00","mainEntityOfPage":{"@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399"},"wordCount":1293,"commentCount":0,"image":{"@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399#primaryimage"},"thumbnailUrl":"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2.png","keywords":["Aria Operations","SuperMetric","sustainability","vRO"],"articleSection":["Aria Operations","Super Metric","SuperMetric","Sustainability"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thomas-kopton.de\/vblog\/?p=1399#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399","url":"https:\/\/thomas-kopton.de\/vblog\/?p=1399","name":"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation - TOMsOps","isPartOf":{"@id":"https:\/\/thomas-kopton.de\/vblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399#primaryimage"},"image":{"@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399#primaryimage"},"thumbnailUrl":"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2.png","datePublished":"2023-04-24T18:03:04+00:00","author":{"@id":"https:\/\/thomas-kopton.de\/vblog\/#\/schema\/person\/892d6b96c66b1dd4b75c6e32fdbfea82"},"breadcrumb":{"@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thomas-kopton.de\/vblog\/?p=1399"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399#primaryimage","url":"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2.png","contentUrl":"https:\/\/thomas-kopton.de\/vblog\/wp-content\/uploads\/2023\/04\/image-2.png","width":4026,"height":1188},{"@type":"BreadcrumbList","@id":"https:\/\/thomas-kopton.de\/vblog\/?p=1399#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thomas-kopton.de\/vblog"},{"@type":"ListItem","position":2,"name":"Enhancing Sustainability Data in VMware Aria Operations using REST API and Automation"}]},{"@type":"WebSite","@id":"https:\/\/thomas-kopton.de\/vblog\/#website","url":"https:\/\/thomas-kopton.de\/vblog\/","name":"TOMsOps","description":"Just another VMware Cloud Management Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thomas-kopton.de\/vblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/thomas-kopton.de\/vblog\/#\/schema\/person\/892d6b96c66b1dd4b75c6e32fdbfea82","name":"Thomas Kopton","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e746aafbd3733172ceb4d600ba1feda61bc87cd3b70f5a9dfb581907cc7973b1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e746aafbd3733172ceb4d600ba1feda61bc87cd3b70f5a9dfb581907cc7973b1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e746aafbd3733172ceb4d600ba1feda61bc87cd3b70f5a9dfb581907cc7973b1?s=96&d=mm&r=g","caption":"Thomas Kopton"},"url":"https:\/\/thomas-kopton.de\/vblog\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=\/wp\/v2\/posts\/1399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1399"}],"version-history":[{"count":41,"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=\/wp\/v2\/posts\/1399\/revisions"}],"predecessor-version":[{"id":1453,"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=\/wp\/v2\/posts\/1399\/revisions\/1453"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=\/wp\/v2\/media\/1412"}],"wp:attachment":[{"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas-kopton.de\/vblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}