Skip to content
Documentation
Updated 10 minutes to read
Markdown

Create visually engaging, actionable email alerts for your business with Nodinite Alarm Plugins and an XSLT Stylesheet. This guide shows you how to leverage XML alarm data, custom metadata, and built-in functions to deliver clear, business-relevant notifications that drive action and keep your team informed.

✅ Style your alerts with XSLT for professional, branded HTML emails
✅ Use real alarm data and custom metadata for context-rich notifications
✅ Empower your team with actionable links and business insights
✅ Preview and test your stylesheets directly in Nodinite or Visual Studio

Open the Shipped Email options Alarm Plugin Stylesheet, Clone to customize, Duplicate, choose the clone under Override Stylesheet options on an Email with Options entry, and open a real alert with Tag chips whose link opens the Log View around the alert, animated walkthrough (7.13)
Animated walkthrough: a clone of the shipped Email options Stylesheet, which already has the Log View Link; the entry Contoso: Ops e-mail with Log View link chooses it under Override Stylesheet options. The alert shows the Monitor View's and the Resource's Tags as chips, and its Open the Log View around the time of this alert link opens the Log View from one hour before to one hour after the alert. Click Search there to list the events.

Nodinite supports multiple alarm plugin types, each with a distinct data format and transformation approach tailored to its purpose:

Data Format: XML (AlarmObject structure)
Stylesheet Support: XSLT transformation
Output: HTML emails via SMTP
Purpose: User-facing notifications with rich formatting and branding

The Email Alarm Plugins (E-mail and Email with Options) receive a comprehensive XML structure containing Monitor Views, Resources, custom metadata, integrations, applications, categories, and New 7.12 the Tags of the Monitor Views and Resources. XSLT stylesheets transform this XML into beautifully formatted HTML emails with custom branding, actionable links, and business-relevant context.

Data Format: JSON (compressed or uncompressed)
Stylesheet Support: None (direct payload delivery)
Output: HTTP POST to external systems
Purpose: Integration layer for third-party tools (Jira, ServiceNow, Slack, etc.)

The Webhook Alarm Plugin receives a JSON payload and sends it directly to external systems via HTTP POST. No stylesheet transformation is available because the receiving system handles its own data formatting and presentation. This plugin is designed for API integrations, not user-facing notifications.

Data Format: JSON (with SplitByResource wrapper)
Stylesheet Support: Liquid templates
Output: Windows Application Event Log entries
Purpose: SCOM/MOM integration for enterprise monitoring

The Event Log Alarm Plugin receives a JSON structure with the alarm object wrapped in a SplitByResource property. Liquid templates transform this JSON into Windows Event Log entries for integration with System Center Operations Manager (SCOM) and Microsoft Operations Manager (MOM).

graph LR MS["fa:fa-watch-fitness Monitoring Service"] %% Email Plugin Flow MS -->|"1. XML AlarmObject"| XSLT["fa:fa-code XSLT Stylesheet"] XSLT -->|"HTML"| SMTP["fa:fa-paper-plane SMTP Server"] SMTP -->|"Email"| Users["fa:fa-users Business Users"] %% Webhook Plugin Flow MS -->|"2. JSON Payload"| WEBHOOK["fa:fa-plug HTTP POST"] WEBHOOK -->|"API Call"| EXT["fa:fa-puzzle-piece External Systems<br/>Jira/ServiceNow/Slack"] %% Event Log Plugin Flow MS -->|"3. JSON + Wrapper"| LIQUID["fa:fa-droplet Liquid Template"] LIQUID -->|"Text Entry"| EVENTLOG["fab:fa-windows Windows Event Log"] EVENTLOG -->|"Monitor"| SCOM["fa:fa-chart-line SCOM/MOM"] %% Styling classDef sourceClass fill:#2678BD,color:#fff classDef emailClass fill:#9E59BB,color:#fff classDef webhookClass fill:#3F827B,color:#fff classDef eventClass fill:#E47528,color:#fff class MS sourceClass class XSLT,SMTP,Users emailClass class WEBHOOK,EXT webhookClass class LIQUID,EVENTLOG,SCOM eventClass

The Monitoring Service (blue) feeds three plugin families: Email with XML and XSLT (purple), Webhook with JSON and no Stylesheet (teal), and Event Log with JSON and Liquid (orange).

  1. Email (XML + XSLT): XSLT provides powerful XML transformation capabilities for creating rich, branded HTML emails. XML's hierarchical structure naturally represents the complex alarm object with nested monitor views, resources, and metadata. XSLT's template matching and transformation rules make it ideal for generating business-ready email content.

  2. Webhook (JSON, no stylesheet): External systems like Jira, ServiceNow, and Slack expect JSON payloads in their specific formats. No stylesheet transformation is needed because each external system handles its own data formatting, presentation, and business logic. The Webhook plugin acts as a pure integration layer, delivering structured data for the receiving API to process.

  3. Event Log (JSON + Liquid): Windows Event Log entries require plain text messages, not HTML. Liquid provides lightweight, text-focused templating perfect for generating concise event log messages. JSON is the modern data format for APIs and integrations, making it easier to work with in contemporary monitoring tools like SCOM.


The Monitoring Service sends the Email Alarm Plugins an AlarmObject in XML. Its root holds the MonitorViews of the alert, and the Version, Environment, Customer, Created, WebClientUrl, and IsRecurring New 7.x of the alert. Each MonitorView holds its Integrations, its Tags New 7.12, and its ChangedResources; each Resource holds its Source, Category, Application, StatusCode, LogText, CustomMetaDatas, and Tags New 7.12.

The full sample XML, a table of the key elements, and XPath hints are on their own page: Alarm Plugin Object Sample Data. Paste the sample into the Message Body preview of the Stylesheet editor to test every section of your Stylesheet.

<AlarmObject>
<MonitorViews>
<MonitorView>
<Name>BizTalk on NODINITE01</Name>
<StatusCode><StatusCode>2</StatusCode><Name>ERROR</Name></StatusCode>
<Integrations>…</Integrations>
<Tags><Tag><TagId>12</TagId><Name>BizTalk</Name></Tag>…</Tags>
<ChangedResources>
<Resource>
<Name>BizTalkServerApplication@NODINITE01</Name>
<StatusCode><StatusCode>2</StatusCode><Name>ERROR</Name></StatusCode>
<LogText>Host instance is NOT running.</LogText>
<CustomMetaDatas>…</CustomMetaDatas>
<Tags>…</Tags>
</Resource>
</ChangedResources>
</MonitorView>
</MonitorViews>
<Created>2026-11-19T09:15:14Z</Created>
<WebClientUrl>https://nodinite.contoso.com/</WebClientUrl>
<IsRecurring>true</IsRecurring>
</AlarmObject>

An outline of the AlarmObject; … marks the parts the sample data shows in full.

New 7.x

Note: XSLT stylesheets apply only to Email Alarm Plugins. For other plugin types, see the data format architecture above:

There are several built-in functions in Nodinite that you can use in your XSLT stylesheets. These functions are available in the Nodinite namespace and can be used to manipulate data, format dates, and more. For example, you can modify static data in Custom Metadata values to add business value to alerts.

This example demonstrates how to create dynamic Log View links in alarm emails that automatically adjust the time range based on when the alarm was triggered. The built-in XsltExtensionHelper:editSearchApiUrl and XsltExtensionHelper:datenow functions enable you to replace static date parameters in Log View URLs with dynamic values calculated from the alarm's Created timestamp.

New 7.12 The shipped Email and Email options Alarm Plugin Stylesheets already do this: a Link Custom Metadata field named Log View Link shows as Open the Log View around the time of this alert. You only add the field to your Resources. To use another field name or another time window, clone the shipped Stylesheet and change the clone.

If not already present, add a new Custom Metadata field of Link type to the Resource with the name Log View Link and set the URL. This will be used in the e-mail alert to create a link to the Log View.
Resource int001.orders with a Log View Link Custom Metadata field of Link type and its Test Link (7.12)
The Resource carries the Log View URL that the alert Stylesheet rewrites.

Copy the actual URL from the Log View in Nodinite and paste it into the Value field of the Custom Metadata. The URL should look like this: 'https://localhost:7139/Log/LogView/2?searchJson=%7B%22FilterGroups%22%3A%5B%5D%2C%22NumberOfItems%22%3A100%2C%22Page%22%3A1%2C%22From%22%3A%222025-07-11T22%3A00%3A00Z%22%2C%22To%22%3A%222025-07-18T21%3A59%3A59Z%22%2C%22PostGroupFilterGroups%22%3A%5B%5D%2C%22GroupSortByDescending%22%3Atrue%2C%22GroupHeaderLastEvent%22%3Atrue%2C%22DisplayGroupSummary%22%3Afalse%2C%22DataSource%22%3A%7B%7D%2C%22GroupCountFilter%22%3A%7B%22From%22%3A0%2C%22To%22%3A0%7D%7D'.

A shipped Stylesheet is read only, and every upgrade of the plugin replaces it, so you change a clone: click Clone on the shipped Stylesheet, see Stylesheets shipped with an Alarm Plugin. In the clone, the two variables at the top name the field and the time window:

<!-- Name of the Link Custom Metadata field whose Log View URL gets the alert's time window -->
<xsl:variable name="logViewLinkName" select="'Log View Link'" />
<xsl:variable name="logViewWindowSeconds" select="3600" />

The template that renders Custom Metadata values uses them like this:

<xsl:when test="../../DataType = 'Link' and $fieldName = $logViewLinkName">
<xsl:variable name="date" select="XsltExtensionHelper:datenow(//Created)" />
<a href="{XsltExtensionHelper:editSearchApiUrl(Value, $date, $logViewWindowSeconds)}" target="_blank">Open the Log View around the time of this alert</a>
</xsl:when>

datenow(//Created) reads the alarm's Created time (UTC). editSearchApiUrl replaces the start and end dates in the Log View URL with that time minus and plus the window, here 3600 seconds (1 hour). ../../DataType is the data type of the Custom Metadata field, and $fieldName its name.

Use the Stylesheet in an Alarm Plugin Entry

Section titled “Use the Stylesheet in an Alarm Plugin Entry”

To use the modified Stylesheet, select it on the Basic tab of the Alarm Plugin entry, for example an Email with Options entry. On an entry other than the default one, check Override Stylesheet options first. Every Monitor View that selects that entry then uses your custom XSLT stylesheet; to use it for only some Monitor Views, add a separate entry and select it in those Monitor Views.

Basic tab of an Email with Options entry with Override Basic options, Override Stylesheet options checked, and the Stylesheet Contoso - Alarm e-mail with Log View link chosen (7.12)
On an entry other than the default one, Override Stylesheet options unlocks the Stylesheet list for the entry.

Sample Stylesheets

Base64Decode XML from JSON - Decode base64-encoded XML in JSON with Liquid
XML to XML - Strip SOAP envelope and transform XML structure
XML Passthrough - Debug stylesheet to output raw XML unchanged in emails
Line break an EDIFACT - Format EDI messages for readable display in Log Views

Configuration & Components

Stylesheets - Manage XSLT and Liquid stylesheets
Stylesheet Examples - All XSLT and Liquid examples
StylesheetScriptsEnabled - System Parameter for browser scripts in Stylesheet output (msxsl:script never runs)
Monitor Views - Configure alarm notifications
Resources - Monitored resources in Nodinite
Custom Metadata - Add custom fields to resources and integrations
Time Intervals - Control how often recurring alerts are resent
Show who to call in alerts (Getting Started) - Scenario that puts Custom Metadata in alert emails

Alarm Plugins

Alarm Plugins - Overview of all notification channels
E-mail - Email alarm plugin
Email with Options - Email alarm plugin with advanced features (recommended)
HTTP Webhook - Webhook alarm plugin for external integrations
Event Log - Event Log alarm plugin for SCOM/MOM

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...