Monitor Status Email Template
The following is the sample template for the XML file that is used with the Monitor Status Email Utility. The configuration file is used to define the recipients of the status e-mail, the message that should be contained in the e-mail, and the content that should be included in the status table contained in the e-mail.
<?xml version="1.0" encoding="utf-8"?>
<!-
//=============================================================================
// Copyright Reveille Software 2013
//
// File Name
// MonitorStatusTemplate.xml
//
// Description
// XML file that describes the format of XML file to be used with the Reveille
// Monitor Status Email executable: ReveilleMonitorStatus.exe.
//
//=============================================================================
-->
<MonitorStatus>
<!--
The <Message> tag contains tags which indicate whether the Email Message should only be sent when there are errors as well as the text for the Email Subject and Message body.
The following tags are valid inside the <Message> tag:
<OnlySendOnError> - Option to only send an Email when there are errors.
<SubjectNoError> - Subject text for the Email Message when there are no errors.
<SubjectError> - Subject text for the Email Message when there are errors.
<MessageNoError> - Message text for the Email Message when there are no errors.
<MessageError> - Message text for the Email Message when there are errors.Example follows:-->
-->
<Message>
<OnlySendOnError>false</OnlySendOnError>
<SubjectNoError>DemoMonitor CHECK – SUCCESSFUL</SubjectNoError>
<SubjectError>DemoMonitor CHECK – FAILED</SubjectError>
<MessageNoError>No action needed at this time.</MessageNoError>
<MessageError>The following items need to be addressed.</MessageError>
</Message>
<!--
The <StatusTable> tag contains tags which indicate whether to include the HTML Status Table in the Email Message body, whether the Status Table should include items with errors only, and whether to color code the items in the table using the Reveille System colors. Additionally, a <Columns> section can be added with tags that define which columns to include in the table and each column's heading text.
The following tags are valid inside of the <StatusTable> tag:
<IncludeTable> - Option to include the HTML Status Table in the Email Message body.
<ExceptionsOnly> - Option to only include items in the Status Table with errors only.
<ColorCode> - Option to color code items in the Status Table using the Reveille System colors. The StatusOnly option designates color coding for the Status column only.
<Columns> - Indicates which columns to include in the table. The following tags are valid inside the <Columns> tag:
<Group Include="true">Group column heading text.</Group> - Option to include the Group column and the text for the heading.
<Monitor Include="true">Monitor column heading text.</Monitor> - Option to include the Monitor column and the text for the heading.
<Resource Include="true">Resource column heading text.</Resource> - Option to include the Resource column and the text for the heading.
<Test Include="true">Test column heading text.</Test> - Option to include the Test column and the text for the heading.
<Status Include="true">Status column heading text.</Status> - Option to include the Status column and the text for the heading.
<LogMessage Include="true">Log Message column heading text.</LogMessage> - Option to include the Log Message column and the text for the heading.
<MonitorLastCycleTime Include="true">Monitor Last Cycle Time column heading text.</MonitorLastCycleTime> - Option to include the Monitor Last Cycle Time column and the text for the heading.
Example follows:
-->
<StatusTable>
<IncludeTable>true</IncludeTable>
<ExceptionsOnly>false</ExceptionsOnly>
<ColorCode StatusOnly="false">true</ColorCode><Columns>
<Group Include="true">Group</Group>
<Monitor Include="true">Monitor</Monitor>
<Resource Include="true">Resource</Resource>
<Test Include="true">Test</Test>
<Status Include="true">Status</Status>
<LogMessage Include="true">Log Message</LogMessage>
<MonitorLastCycleTime Include="true">Monitor Last Cycle Time</MonitorLastCycleTime>
</Columns>
</StatusTable>
<!--
The <StatusItems> tag contains tags which indicate which Groups, Monitors, Resources and Tests to include in the HTML Status Table.
The following tags are valid inside of the <StatusItems> tag:
<AllMonitors> - Option to include all Monitors.
<AllProductionMonitors> - Option to include all Production Monitors.
<Group> - The name of a Group to include. More than one can be included.
<Monitor> - The name of a Monitor to include. More than one can be included.
<Monitor Resource="ResourceName">MonitorName</Monitor> - Includes a Resource for a specified Monitor. More than one can be included.
<Monitor Resource="ResourceName" Test="0">MonitorName</Monitor> - Includes a Test for a specified Resource of a Monitor. More than one can be included.
<Monitor AllResources="true">MonitorName</Monitor> - Includes all Resources for a specified Monitor. More than one can be included.
<Monitor AllTests="true">MonitorName</Monitor> - Includes all Tests for a specified Monitor. More than one can be included.
<Monitor Resource="ResourceName" AllTests="true">MonitorName</Monitor> - Includes all Tests for a specified Resource of a Monitor. More than one can be included.
Example follows:
-->
<StatusItems>
<AllMonitors>false</AllMonitors>
<AllProductionMonitors>false</AllProductionMonitors>
<Group>Alpharetta</Group>
<Group>Georgia</Group>
<Monitor>DemoMonitor</Monitor>
<Monitor Resource="CICS-Region-1">DemoMonitor</Monitor>
<Monitor Resource="CICS-Region-1" Test="0">DemoMonitor</Monitor>
<Monitor AllResources="true">DemoMonitor</Monitor>
<Monitor AllTests="true">DemoMonitor</Monitor>
<Monitor Resource="Unix-DB-Server" AllTests="true">DemoMonitor</Monitor>
</StatusItems>
<!--
The <Recipients> tag contains tags which indicate the sender and receivers of the Email Message.
The following tags are valid inside of the <Recipients> tag:
<From> - Indicates the Email Address the Email Message is from.
<To> - Indicates the Email Address the Email Message is to. More than one address can be included with additional <To> tags.
Example follows:
-->
<Recipients>
<From>user1@mycompany.com</From>
<To>user1@mycompany.com</To>
<To>user2@mycompany.com</To>
</Recipients>
</MonitorStatus>
Was this helpful?
Please tell us why:
Thank you.