Alarm Plugin Object Sample Data
The Monitoring Service sends the Email and Email with Options Alarm Plugins an AlarmObject in XML, and an XSLT Stylesheet turns it into the alert e-mail. To build or change that Stylesheet, you need an AlarmObject to test with. This page gives you one that uses every part of the structure, so each section of your Stylesheet has something to render. How the data reaches each plugin, and the built-in XSLT functions, are on the Alarm Plugin Object page.
✅ Every status: OK, Warning, Error, Unavailable, and Connection Error
✅ Tags New 7.12 on a Monitor View and on a Resource
✅ An Integration with Custom Fields and Custom Metadata
✅ Every common Custom Metadata type, a Log View Link, a recurring alert, and a Resource removed from its Monitor View

The shipped Email options Alarm Plugin Stylesheet renders this sample in the Message Body preview of the Stylesheet editor. The e-mail goes on below the cut: the Resources, their Custom Metadata, and the Integration.
Test with the sample
- Open your Stylesheet in Add or manage Stylesheet. A shipped Stylesheet is read only, so clone it first, see Stylesheets shipped with an Alarm Plugin.
- Click Message Body, keep Raw input, and paste the XML below.
- The preview shows the e-mail. Change the template, and the preview follows.
- Send a real alert, or click Execute Alarm test on the Alarm Plugin entry, to see the e-mail in your mail client.
Execute Alarm test doesn't send this sample. It sends a smaller Contoso alarm: the Monitor Views Contoso: Order-to-Cash, which is always OK, and Contoso: Message Queues, in the state you test, with Tags but without Integrations or Custom Metadata. A Stylesheet section that reads Custom Metadata therefore shows nothing in a test e-mail. Use this sample, or a real alert, for those sections.
What the sample covers
| Part | Where in the sample | What to test |
|---|---|---|
| Status codes 0–4 | The five Resources of BizTalk on NODINITE01 | Status colours, and sorting the worst first |
Tags |
Both levels: BizTalk on NODINITE01, and the Resource BizTalkServerApplication@NODINITE01 | Tag chips; the other items have an empty <Tags /> |
Integrations |
INT1337 - Order-to-Cash, with the Custom Fields SLA (Text) and INT Images (File) | Integration cards and Custom Field links |
CustomMetaDatas on an Integration |
Select, CheckBox (two values), and Markdown | Chips for several values; Markdown is usually left out of an e-mail |
CustomMetaDatas on a Resource |
Link (Log View Link), TextArea, Attachment, Table, and Number | The Log View time window, line breaks, file links, and the Table JSON |
WasRemovedFromMonitorView |
OldReceivePort is true |
A Deleted badge |
IsRecurring |
true |
A Reminder note |
Application |
Spool count has one; the others have ApplicationId 0 |
An empty Application |
RAW data (XML)
<?xml version="1.0" encoding="utf-8"?>
<AlarmObject xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MonitorViews>
<MonitorView>
<MonitorViewId>13</MonitorViewId>
<Name>BizTalk on NODINITE01</Name>
<Description>Host instances, ports and health checks for the BizTalk group.</Description>
<WebSite>https://intranet.contoso.com/biztalk</WebSite>
<StatusCode>
<StatusCode>2</StatusCode>
<Name>ERROR</Name>
</StatusCode>
<NumberOfMonitoredResources>212</NumberOfMonitoredResources>
<Integrations>
<Integration>
<IntegrationId>50</IntegrationId>
<Name>INT1337 - Order-to-Cash</Name>
<Description>Orders from the web shop to the ERP, invoices back to the customer.</Description>
<WebSite>https://intranet.contoso.com/int1337</WebSite>
<CustomFields>
<CustomField>
<CustomFieldId>1</CustomFieldId>
<Name>SLA</Name>
<Description>SLA Level are Gold, Silver and Bronze</Description>
<WebSite>https://www.nodinite.com/SLA/</WebSite>
<ValueType>
<CustomFieldTypeId>1</CustomFieldTypeId>
<Name>Text</Name>
</ValueType>
<CustomValues>
<CustomValue>
<CustomValueId>1</CustomValueId>
<Value>Gold</Value>
<Description>Fix within 4 hours</Description>
<WebSite>https://www.nodinite.com/SLA/Gold</WebSite>
<ValueType>
<CustomFieldTypeId>1</CustomFieldTypeId>
<Name>Text</Name>
</ValueType>
</CustomValue>
</CustomValues>
</CustomField>
<CustomField>
<CustomFieldId>2</CustomFieldId>
<Name>INT Images</Name>
<ValueType>
<CustomFieldTypeId>2</CustomFieldTypeId>
<Name>File</Name>
</ValueType>
<CustomValues>
<CustomValue>
<CustomValueId>4</CustomValueId>
<Value>order-to-cash.png</Value>
<Description>Flow overview</Description>
<WebSite></WebSite>
<ValueType>
<CustomFieldTypeId>2</CustomFieldTypeId>
<Name>File</Name>
</ValueType>
</CustomValue>
</CustomValues>
</CustomField>
</CustomFields>
<CustomMetaDatas>
<CustomMetaData>
<CustomMetaDataId>7</CustomMetaDataId>
<Name>Technical Owner</Name>
<DataType>Select</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>70</CustomValueId>
<Value>Sarah Lind</Value>
<Description>+46 70 123 45 67</Description>
<WebSite />
</CustomValue>
</CustomValues>
</CustomMetaData>
<CustomMetaData>
<CustomMetaDataId>8</CustomMetaDataId>
<Name>Compliance Tags</Name>
<DataType>CheckBox</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>80</CustomValueId>
<Value>GDPR</Value>
<Description />
<WebSite />
</CustomValue>
<CustomValue>
<CustomValueId>81</CustomValueId>
<Value>SOX</Value>
<Description />
<WebSite />
</CustomValue>
</CustomValues>
</CustomMetaData>
<CustomMetaData>
<CustomMetaDataId>9</CustomMetaDataId>
<Name>Runbook</Name>
<DataType>Markdown</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>90</CustomValueId>
<Value># Not shown in e-mail</Value>
</CustomValue>
</CustomValues>
</CustomMetaData>
</CustomMetaDatas>
</Integration>
</Integrations>
<Tags>
<Tag>
<TagId>12</TagId>
<Name>BizTalk</Name>
</Tag>
<Tag>
<TagId>14</TagId>
<Name>Order-to-Cash</Name>
</Tag>
<Tag>
<TagId>15</TagId>
<Name>Production</Name>
</Tag>
</Tags>
<ChangedResources>
<Resource>
<ResourceId>101</ResourceId>
<Name>BizTalkServerApplication@NODINITE01</Name>
<Description>Default in-process host instance.</Description>
<WebSite>https://nodinite.contoso.com/Monitor/Resource/101</WebSite>
<Source>
<SourceId>3</SourceId>
<Name>BizTalk</Name>
<Description>BizTalk Group</Description>
<Server>NODINITE01</Server>
<Environment>Production</Environment>
</Source>
<Category>
<CategoryId>20</CategoryId>
<Name>Host Instance</Name>
<Description>Host instances</Description>
</Category>
<Application>
<ApplicationId>0</ApplicationId>
</Application>
<StatusCode>
<StatusCode>2</StatusCode>
<Name>ERROR</Name>
</StatusCode>
<LogText>Host instance is NOT running.</LogText>
<CustomMetaDatas>
<CustomMetaData>
<CustomMetaDataId>4</CustomMetaDataId>
<Name>Log View Link</Name>
<Description />
<DataType>Link</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>21</CustomValueId>
<Value>https://nodinite.contoso.com/Log/LogView/2?searchJson=%7B%22From%22%3A%222025-07-11T22%3A00%3A00Z%22%2C%22To%22%3A%222025-07-18T21%3A59%3A59Z%22%7D</Value>
<Description />
<WebSite />
</CustomValue>
</CustomValues>
</CustomMetaData>
<CustomMetaData>
<CustomMetaDataId>5</CustomMetaDataId>
<Name>On-call</Name>
<DataType>TextArea</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>50</CustomValueId>
<Value>Weekdays: Integration team
Weekends: Ops duty phone +46 8 123 456</Value>
<Description />
<WebSite />
</CustomValue>
</CustomValues>
</CustomMetaData>
<CustomMetaData>
<CustomMetaDataId>6</CustomMetaDataId>
<Name>Restart guide</Name>
<DataType>Attachment</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>60</CustomValueId>
<Value>restart-host-instances.pdf</Value>
<Description>Step-by-step for Ops</Description>
<WebSite />
</CustomValue>
</CustomValues>
</CustomMetaData>
<CustomMetaData>
<CustomMetaDataId>10</CustomMetaDataId>
<Name>Version history</Name>
<DataType>Table</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>100</CustomValueId>
<Value>{"Columns":[{"Name":"Version"},{"Name":"Date"},{"Name":"Change"}],"Data":[["2.1","2026-10-02","Retry policy"],["2.0","2026-06-11","New ERP endpoint"]]}</Value>
<Description />
<WebSite />
</CustomValue>
</CustomValues>
</CustomMetaData>
<CustomMetaData>
<CustomMetaDataId>11</CustomMetaDataId>
<Name>Max restarts per day</Name>
<DataType>Number</DataType>
<CustomValues>
<CustomValue>
<CustomValueId>110</CustomValueId>
<Value>3</Value>
<Description />
<WebSite />
</CustomValue>
</CustomValues>
</CustomMetaData>
</CustomMetaDatas>
<Tags>
<Tag>
<TagId>13</TagId>
<Name>Critical</Name>
</Tag>
<Tag>
<TagId>16</TagId>
<Name>Finance</Name>
</Tag>
</Tags>
<WasRemovedFromMonitorView>false</WasRemovedFromMonitorView>
</Resource>
<Resource>
<ResourceId>102</ResourceId>
<Name>ReceiveHost@NODINITE01</Name>
<Source>
<SourceId>3</SourceId>
<Name>BizTalk</Name>
<Server>NODINITE01</Server>
<Environment>Production</Environment>
</Source>
<Category>
<CategoryId>20</CategoryId>
<Name>Host Instance</Name>
</Category>
<Application>
<ApplicationId>0</ApplicationId>
</Application>
<StatusCode>
<StatusCode>4</StatusCode>
<Name>CONNECTION ERROR</Name>
</StatusCode>
<LogText>Could not connect to NODINITE01:BizTalkMgmtDb.</LogText>
<CustomMetaDatas />
<Tags />
<WasRemovedFromMonitorView>false</WasRemovedFromMonitorView>
</Resource>
<Resource>
<ResourceId>103</ResourceId>
<Name>Spool count</Name>
<Source>
<SourceId>3</SourceId>
<Name>BizTalk</Name>
</Source>
<Category>
<CategoryId>21</CategoryId>
<Name>Health Check</Name>
</Category>
<Application>
<ApplicationId>1</ApplicationId>
<Name>BizTalk System</Name>
<Description>Default BizTalk application</Description>
<WebSite>https://www.nodinite.com/application/biztalk-system</WebSite>
</Application>
<StatusCode>
<StatusCode>1</StatusCode>
<Name>WARNING</Name>
</StatusCode>
<LogText>Spool count 51 203 exceeds the warning limit 50 000.</LogText>
<CustomMetaDatas />
<Tags />
<WasRemovedFromMonitorView>false</WasRemovedFromMonitorView>
</Resource>
<Resource>
<ResourceId>104</ResourceId>
<Name>OldReceivePort</Name>
<Source>
<SourceId>3</SourceId>
<Name>BizTalk</Name>
</Source>
<Category>
<CategoryId>22</CategoryId>
<Name>Receive Ports</Name>
</Category>
<Application>
<ApplicationId>0</ApplicationId>
</Application>
<StatusCode>
<StatusCode>3</StatusCode>
<Name>UNAVAILABLE</Name>
</StatusCode>
<LogText>Resource is no longer reported by the Monitoring Agent.</LogText>
<CustomMetaDatas />
<Tags />
<WasRemovedFromMonitorView>true</WasRemovedFromMonitorView>
</Resource>
<Resource>
<ResourceId>105</ResourceId>
<Name>Tracking Data count</Name>
<Source>
<SourceId>3</SourceId>
<Name>BizTalk</Name>
</Source>
<Category>
<CategoryId>21</CategoryId>
<Name>Health Check</Name>
</Category>
<Application>
<ApplicationId>0</ApplicationId>
</Application>
<StatusCode>
<StatusCode>0</StatusCode>
<Name>OK</Name>
</StatusCode>
<LogText>All OK!</LogText>
<CustomMetaDatas />
<Tags />
<WasRemovedFromMonitorView>false</WasRemovedFromMonitorView>
</Resource>
</ChangedResources>
</MonitorView>
<MonitorView>
<MonitorViewId>2</MonitorViewId>
<Name>MSMQ Queues</Name>
<Description>Queues for the Log API.</Description>
<StatusCode>
<StatusCode>0</StatusCode>
<Name>OK</Name>
</StatusCode>
<NumberOfMonitoredResources>8</NumberOfMonitoredResources>
<Integrations />
<Tags />
<ChangedResources>
<Resource>
<ResourceId>10</ResourceId>
<Name>LogAPI Queue</Name>
<Description>Queue for Nodinite's LogAPI.</Description>
<Source>
<SourceId>2</SourceId>
<Name>MSMQ</Name>
<Server>NODINITE01</Server>
<Environment>Production</Environment>
</Source>
<Category>
<CategoryId>10</CategoryId>
<Name>MSMQ Queue</Name>
<WebSite>https://learn.microsoft.com/</WebSite>
</Category>
<Application>
<ApplicationId>0</ApplicationId>
</Application>
<StatusCode>
<StatusCode>0</StatusCode>
<Name>OK</Name>
</StatusCode>
<LogText>Number of messages back below the warning limit.</LogText>
<CustomMetaDatas />
<Tags />
<WasRemovedFromMonitorView>false</WasRemovedFromMonitorView>
</Resource>
</ChangedResources>
</MonitorView>
</MonitorViews>
<Version>7.12.0.0</Version>
<Environment>Production</Environment>
<Customer>Contoso</Customer>
<Created>2026-11-19T09:15:14.000000Z</Created>
<WebClientUrl>https://nodinite.contoso.com/</WebClientUrl>
<IsRecurring>true</IsRecurring>
</AlarmObject>
Key XML Elements
The AlarmObject root holds these elements:
| Element | Holds |
|---|---|
MonitorViews/MonitorView |
One per Monitor View in the alert: MonitorViewId, Name, Description, WebSite, StatusCode (StatusCode 0–4 and Name), NumberOfMonitoredResources, Integrations, Tags, and ChangedResources |
ChangedResources/Resource |
One per Resource that changed state: ResourceId, Name, Description, WebSite, Source (the Monitoring Agent configuration, with Server and Environment), Category, Application, StatusCode, LogText, CustomMetaDatas, Tags, and WasRemovedFromMonitorView |
Tags/Tag New 7.12 |
TagId and Name of each Tag set on the Monitor View or the Resource, ordered by name. Deleted Tags are left out, and an item without Tags has an empty <Tags /> |
Integrations/Integration |
IntegrationId, Name, Description, WebSite, CustomFields, and CustomMetaDatas |
CustomMetaDatas/CustomMetaData |
Name, DataType (such as Link, TextArea, Select, CheckBox, Table, Attachment, Number), and its CustomValues/CustomValue with Value, Description, and WebSite |
Version |
The Nodinite version |
Environment, Customer |
The environment and the customer name of the installation |
Created |
When the alert was created, in UTC (ISO 8601) |
WebClientUrl |
The base URL of the Web Client; add Monitor/MonitorView/{MonitorViewId} to link a Monitor View |
IsRecurring New 7.x |
true when the alert is a reminder of a state already reported, false for the first alert. The Recurrence tab of the Alarm Plugin entry sets when reminders are sent |
XPath hints
- Tags of a Monitor View:
<xsl:for-each select="Tags/Tag"><xsl:value-of select="Name" /></xsl:for-each>, insidexsl:for-each select="//MonitorView". The same works inside aResource. - The worst status first:
<xsl:sort select="StatusCode/StatusCode" data-type="number" order="descending" />. - A reminder:
<xsl:if test="//IsRecurring = 'true'">…</xsl:if>. - A Table value:
XsltExtensionHelper:jsonToXmlDocument(Value)/Table, withColumns/Nameand the rows inData/Data. - The Log View window around the alert: see Replace start and end date in a Log View.
Next Steps
- Alarm Plugin Object - The data formats of every plugin and the built-in XSLT functions
- Add or manage Stylesheet
- XML Passthrough - See the raw alarm XML of a real alert
Related Topics
- Stylesheets
- Stylesheet Examples
- Alarm Plugins
- Email with Options
- HTTP Webhook - The same data as JSON
- Custom Metadata
- Tags