Adjusting the Report Email Header in Aria Operations
- Brock Peterson

- Jun 5
- 1 min read
Updated: Aug 22
In VCF Operations you have the ability to schedule Reports and email them.

They come in looking like this, with a header in bold saying "The attached report was generated and emailed by VMware Aria Operations".

What if you want to change this? Can do, find the file called report-email-template.html on your Operations Cluster Primary Node, which exists in /usr/lib/vmware-vcops/controller/plugins/vcops-view-server-1.0-SNAPSHOT/conf/templates. It'll look like this.
<html>
<body>
<h2>The attached report was generated and emailed by VMware Aria Operations</h2>
<table border="0">
<tr>
<td>Report Title:</td>
<td>{0}</td>
</tr>
<tr>
<td>Report Description:</td>
<td>{1}</td>
</tr>
<tr>
<td>Report Time:</td>
<td>{2,date,medium}, {2,time,medium}</td>
</tr>
<tr>
<td>Completion State:</td>
<td>{3}</td>
</tr>
</table>
</body>
</html>I adjusted mine to this.
<html>
<body>
<h2>This report was generated by and emailed from VCF Operations:vcf-operations-bpeterson.broadcom.com (10.167.244.218)</h2>
<table border="0">
<tr>
<td><strong>Report Title:</strong></td>
<td>{0}</td>
</tr>
<tr>
<td><b>Report Description:</b></td>
<td>{1}</td>
</tr>
<tr>
<td><b>Report Time:</b></td>
<td>{2,date,medium}, {2,time,medium}</td>
</tr>
<tr>
<td><b>Completion State:</b></td>
<td>{3}</td>
</tr>
</table>
</body>
</html>My email now looks like this.

Notice the header has changed as well as the Title, Description, Time, and State, all of which I made bold in the HTML. A couple notes:
You'll have to do this on all Analytics Nodes of your Cluster
You'll have to redo this after upgades, as this file gets updated at upgrade time
An online tool for HTML viewing and editing like htmlviewer.cc can significantly streamline your coding workflow for smaller HTML tasks. Whether you need to quickly check how a snippet of HTML renders, clean up messy code with a beautifier, or make minor edits and see the changes live, these browser-based tools are very convenient. The ability to paste code or import from a URL and get instant visual feedback makes them invaluable for quick debugging, learning, or prototyping simple web page elements without needing complex software.
Cool Stuff!!
This is great! Keep them coming!😍