As i’m sure you already know it – there are many widgets that can be used when designing and building a custom dashboard in vCenter Operations Manager Custom UI.
One widget, that may not be the “sexiest” or the most colorful but is fun to play with – is the Text widget.
Trust me – I’m also a big fan of the Scoreboard, Heathmap and Metric Graph widgets, but I really wanted to find use cases to use the Text widget.
I’ve had several cases where using the Text widget was very nice and helpful, for example:
- Give a short brief of the heat map’s configured metrics and a short explanation of how their high/low values effect on a certain VM, host, datastore and etc..
- When something goes wrong, whether you’re the VI admin, the Operator guy or a member of a given application team – you might want contact the ones who’s responsible – The storage/network/system teams, or in other words – the phone number of those guys who will get the call at 3:00 AM when things are broken.
- Configure to display HTML page with any info that one may find useful and important to display in the custom dashboard.
Those are just some ideas of how you may want to use the Text widget, as i’m sure that there are other creative and crazy ideas (:
Before jumping straight ahead and configure the Text widget, first we need to edit the web.properties file.
- Text widget can be implemented by using neither text or HTML file. in this case – i’ll use a text file which i edited with a short description
- SSH into the Custom UI VM,
If your’re not sure how to do it – you can take a look here.
- Navigate to the following path:
- Open web.properties and edit the following line:
In my case, i chose to place all text files under
- Save and close the file.
- Restart Enterprise Web service by running the following command: service vcopswebenterprise restart.
Now – let’s use those pre-created text files and integrate them into a custom dashboard.
For this example – I’ll use a dashboard I already created.
The dashboard, “Heatmap-VirtualJedi”, contains four heatmap widgets with some
- Login to the Custom UI portal
- Whether you plan to create an new custom dashboard or just improving an existing one – drag some Text widgets to the right.
- After placing some Text widgets on my custom dashboards, you can get the idea where this is going – the plan is that for each heatmap there will be a Text widget that will explain it content, somthing like this:
Click the Edit Widget icon on the widget’s toolbar.
Type a meaningful name in the Widget title text box.
Select a Refresh Widget Content option to specify whether the widget refreshes data after a specific time period.
In our case, there is not need to set any time for refresh since we will use the widget for giving general and static information.
and there you have it – a Text widget configured to give a short explanation of what is CPU Ready Time.
And this is how that dashboard will look like after configuring the other three Text widgets.
This is another example custom dashboard (in this case – a custom dashboard for Oracle DB) , and on the bottom left i’ve configured the Text widget to display the contacts details (3:00 AM calls, remember?)
So, what your ideas of using the Text widget?
Please – share so everyone can enjoy!
Until next time – “May the force be with you”!