Alert: Amalga - Receiver\Messages Per Second (Shift 2)

Microsoft.Amalga.UIS.2009.Monitoring.Receiver.MessagesPerSecond.Shift2.Rule (Rule)

Records the service activity rate as the number of messages received per second.

Shift 2 is configured to run Monday through Saturday between the hours of 5 PM and 1 AM of the following day.

When configuring the Days Of Week Mask in the monitor, you can determine the appropriate value by using the following values for each day of the week: Su-1, M-2, T-4, W-8, Th-16, F-32, Sa-64. Just add the values for the days you want the monitor to run. If you want all days of the week, they will add up to 127. If you just want Sunday, the value is 1. Just Tuesday and Thursday would be 20. M-F is 62.

Knowledge Base article:

Summary

Amalga - Receiver\Messages Per Second

Configuration

Shift 2 is configured to run Monday through Saturday between the hours of 5 PM and 1 AM of the following day.

When configuring the Days Of Week Mask in the monitor, determine the appropriate value by using the following values for each day of the week: Su-1, M-2, T-4, W-8, Th-16, F-32, Sa-64. Just add the values for the days the monitor to run. If all days are needed for the week, they will add up to 127.

For example, if Sunday was only needed, the value is 1. For Tuesday and Thursday would be 20. M-F is 62.

Resolutions

Zero (0) indicates that there is no activity on the DADE subsystem. If this is unexpected, check whether the service is running. If this rate is unexpectedly low, ensure that all components of the feed are installed and configured correctly.

Element properties:

TargetMicrosoft.Amalga.UIS.2009.DADEServiceHost_Receiver
CategoryCustom
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Amalga - Receiver\Messages Per Second (Shift 2)
Environment: {0}
Computer: {1}
Service: {2}
Instance {3}
Object {4}
Counter {5}
Has a value {6}
At time {7}

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Amalga.UIS.2009.Monitoring.ScheduleModule.AveragePerformance.BelowThreshold.DataSource Default
WA WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Amalga.UIS.2009.Monitoring.Receiver.MessagesPerSecond.Shift2.Rule" Enabled="false" Target="Amalga2009Discovery!Microsoft.Amalga.UIS.2009.DADEServiceHost_Receiver" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Amalga.UIS.2009.Monitoring.ScheduleModule.AveragePerformance.BelowThreshold.DataSource">
<ComputerName>$Target/Property[Type="AmalgaLib!Microsoft.Amalga.Library.AmalgaWindowsService"]/VIPName$</ComputerName>
<CounterName>Messages Per Second</CounterName>
<ObjectName>Amalga - Receiver</ObjectName>
<InstanceName>$Target/Property[Type="AmalgaLib!Microsoft.Amalga.Library.AmalgaWindowsService"]/ServiceInstanceName$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>431</Frequency>
<StartTime>17:00</StartTime>
<EndTime>23:59</EndTime>
<DaysOfWeekMask>126</DaysOfWeekMask>
<Threshold>1</Threshold>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="AlertMessageID5b8ecdfc7f0746e69ee9ce7991242ac5"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="AmalgaLib!Microsoft.Amalga.Library.AmalgaWindowsService"]/Environment$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="AmalgaLib!Microsoft.Amalga.Library.AmalgaWindowsService"]/VIPName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="AmalgaLib!Microsoft.Amalga.Library.AmalgaWindowsService"]/ServiceInstanceName$</AlertParameter3>
<AlertParameter4>$Data/InstanceName$</AlertParameter4>
<AlertParameter5>$Data/ObjectName$</AlertParameter5>
<AlertParameter6>$Data/CounterName$</AlertParameter6>
<AlertParameter7>$Data/Value$</AlertParameter7>
<AlertParameter8>$Data/TimeSampled$</AlertParameter8>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/InstanceName$</SuppressionValue>
<SuppressionValue>$Data/ObjectName$</SuppressionValue>
<SuppressionValue>$Data/CounterName$</SuppressionValue>
<SuppressionValue>$Target/Property[Type="AmalgaLib!Microsoft.Amalga.Library.AmalgaWindowsService"]/Environment$</SuppressionValue>
<SuppressionValue>$Target/Property[Type="AmalgaLib!Microsoft.Amalga.Library.AmalgaWindowsService"]/VIPName$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>