- 7 minutes to read
Alarm Plugin Object
The following XML is an example of the data pushed in Alerts (Alarms) from the Nodinite Monitoring Service.
Use this data to customize the default Stylesheet for Email Alarm Plugin using the preview tool within Nodinite or Visual Studio if you prefer.
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>1</MonitorViewId>
<Name>Test View</Name>
<Description>Simple unit testing view.</Description>
<StatusCode>
<StatusCode>0</StatusCode>
<Name>OK</Name>
</StatusCode>
<NumberOfMonitoredResources>2</NumberOfMonitoredResources>
<Integrations>
<Integration>
<IntegrationId>1</IntegrationId>
<Name>INT001 - Simple Integration</Name>
<Description>Integration for unit testing.</Description>
<WebSite>https://www.nodinite.com/</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>
<Description>Custom Value are plain text values with optional Description and Web Site.</Description>
<WebSite></WebSite>
</ValueType>
<CustomValues>
<CustomValue>
<CustomValueId>1</CustomValueId>
<Value>Gold</Value>
<Description>Gold</Description>
<WebSite>https://www.nodinite.com/SLA/Gold</WebSite>
<ValueType>
<CustomFieldTypeId>1</CustomFieldTypeId>
<Name>Text</Name>
<Description>Custom Value are plain text values with optional Description and Web Site.</Description>
<WebSite></WebSite>
</ValueType>
</CustomValue>
</CustomValues>
</CustomField>
<CustomField>
<CustomFieldId>2</CustomFieldId>
<Name>INT Images</Name>
<Description>Images of the integrations</Description>
<WebSite></WebSite>
<ValueType>
<CustomFieldTypeId>2</CustomFieldTypeId>
<Name>File</Name>
<Description>Custom Value are represented as uploaded files with optional Description.</Description>
<WebSite></WebSite>
</ValueType>
<CustomValues>
<CustomValue>
<CustomValueId>4</CustomValueId>
<Value>home.png</Value>
<Description>Home for integration</Description>
<WebSite></WebSite>
<ValueType>
<CustomFieldTypeId>2</CustomFieldTypeId>
<Name>File</Name>
<Description>Custom Value are represented as uploaded files with optional Description.</Description>
<WebSite></WebSite>
</ValueType>
</CustomValue>
</CustomValues>
</CustomField>
</CustomFields>
</Integration>
</Integrations>
<ChangedResources>
<Resource>
<ResourceId>1</ResourceId>
<Name>First Resource - Send Port</Name>
<WebSite>https://www.nodinite.com/resource/send-port</WebSite>
<Source>
<SourceId>1</SourceId>
<Name>Test Monitoring Agent Configuration</Name>
<Description>Simple Monitoring Agent Configuration for testing purposes only.</Description>
<WebSite>https://www.nodinite.com/</WebSite>
</Source>
<Category>
<CategoryId>1</CategoryId>
<Name>Send Ports</Name>
<Description>Send ports category.</Description>
</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>0</StatusCode>
<Name>OK</Name>
</StatusCode>
<LogText>All OK!</LogText>
</Resource>
<Resource>
<ResourceId>2</ResourceId>
<Name>Second Resource - Receive Port</Name>
<Source>
<SourceId>1</SourceId>
<Name>Test Monitoring Agent Configuration</Name>
<Description>Simple Monitoring Agent Configuration for testing purposes only.</Description>
<WebSite>https://www.nodinite.com/</WebSite>
</Source>
<Category>
<CategoryId>2</CategoryId>
<Name>Receive Ports</Name>
<Description>Receive ports category.</Description>
<WebSite>https://www.nodinite.com/category/receive-ports</WebSite>
</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>0</StatusCode>
<Name>OK</Name>
</StatusCode>
<LogText>All OK!</LogText>
</Resource>
</ChangedResources>
</MonitorView>
<MonitorView>
<MonitorViewId>2</MonitorViewId>
<Name>Second View</Name>
<Description>Simple test view (second).</Description>
<WebSite>https://www.nodinite.com/</WebSite>
<StatusCode>
<StatusCode>2</StatusCode>
<Name>ERROR</Name>
</StatusCode>
<NumberOfMonitoredResources>2</NumberOfMonitoredResources>
<Integrations />
<ChangedResources>
<Resource>
<ResourceId>10</ResourceId>
<Name>LogAPI Queue</Name>
<Description>Queue for Nodinite's LogAPI.</Description>
<Source>
<SourceId>2</SourceId>
<Name>MSMQ</Name>
<Description>Monitoring Agent Configuration to monitor MSMQ queues.</Description>
<Server>IBSS-BUILD02</Server>
<Environment>Production</Environment>
<Version>1.0</Version>
</Source>
<Category>
<CategoryId>10</CategoryId>
<Name>MSMQ Queue</Name>
<Description>MSMQ Queues category</Description>
<WebSite>https://msdn.microsoft.com/en-us/library/ms711472%28v=vs.85%29.aspx</WebSite>
</Category>
<Application>
<ApplicationId>0</ApplicationId>
</Application>
<StatusCode>
<StatusCode>2</StatusCode>
<Name>ERROR</Name>
</StatusCode>
<LogText>Number of messages in queue exceeded error limit.</LogText>
</Resource>
<Resource>
<ResourceId>11</ResourceId>
<Name>LogAPI Test Queue</Name>
<Description />
<Source>
<SourceId>2</SourceId>
<Name>MSMQ</Name>
<Description>Monitoring Agent Configuration to monitor MSMQ queues.</Description>
<Server>IBSS-BUILD02</Server>
<Environment>Production</Environment>
<Version>1.0</Version>
</Source>
<Category>
<CategoryId>10</CategoryId>
<Name>MSMQ Queue</Name>
<Description>MSMQ Queues category</Description>
<WebSite>https://msdn.microsoft.com/en-us/library/ms711472%28v=vs.85%29.aspx</WebSite>
</Category>
<Application>
<ApplicationId>0</ApplicationId>
</Application>
<StatusCode>
<StatusCode>1</StatusCode>
<Name>WARNING</Name>
</StatusCode>
<LogText>Number of messages in queue exceeded warning limit, but not error limit.</LogText>
</Resource>
</ChangedResources>
</MonitorView>
</MonitorViews>
<Version>5.0.0.0</Version>
<Environment>Test</Environment>
<Customer>Nodinite</Customer>
<Created>2019-08-11T09:45:00.000000Z</Created>
<WebClientUrl>http://localhost/Nodinite/WebClient/</WebClientUrl>
</AlarmObject>