Do you want to keep track of the number of different operating systems in your environment?
In this blog I will show you how to create a trend line graph for Windows Server 2016 and CentOS and use this in a dashboard. You are then able to easily see how many instances have been added over a certain period.
The result will look like below.
How do we create this? First we need to create a group type. This group type will group all the different operating systems under a certain group type which will make it easier later on when creating the trend line view and dashboard.
To create a group type go to Administration > Configuration > Group Types > +. The group type is named “Operating Systems”
Once the group type has been created we need to create custom groups for each Operating System. In this example we going to create a custom group for Windows Server 2016.
To create a Custom Group go to Environment > Custom Groups > +. Configure the membership criteria based on property “Guest Fullname” of a virtual machine.
Repeat this step for all the different operating systems in your environment.
Next, we need to create a view. The view created must be based on the group type we created earlier which is in this case Operating Systems.
To create a view go to Dashboards > Views > +
Provide a “name” for the view
Under presentation select “Trend”
Under “Subjects”, choose the group type “Operating Systems” (container) we created earlier.
We want to display the total number of a selected Operating System, choose the metric “populationTotalCount”. Change the metric label to TotalCount and deselect “Forecast data for the next”.
Save the view and it is now ready to be added to a dashboard.
To create a dashboard go to Dashboard > Actions > Create Dashboard. For this dashboard I will add a trend view and a metric chart. You can use either of them in your dashboard. Just to show the difference between those.
Provide a “name” for the dashboard and add the widgets “Object list” and “Metric chart”.
Add “trend” view.
Now we need to configure the dashboard. First edit object list by providing a “name”, set to “auto select first row” and set output filter to “Object type” and choose “Operating System”. Click save.
Edit trend view by providing a “name” and select the earlier “created view” under output data. Click save.
Next, edit the metric chart by providing a “name” and add the metric “populationTotalCount” under Output Data. Click OK and save.
Last step is to setup the interactions in the dashboard. Click on Interactions and configure as below. Click save.
You can now leverage the dashboard and customize if needed.
Note: Based on vROps 7.5