SMS 2003 Inbox: Monitor dataldr.box

SMS_2003_Inbox__Monitor_dataldr.box_4_Rule (Rule)

Knowledge Base article:

Summary

This processing rule launches the SMS 2003 Monitor SMS Inbox script on a schedule to monitor the number of files in an SMS inbox. An event is raised by the script when the number of files exceeds a specified threshold. The threshold value is specified as a parameter to the script through this rule. The schedule and threshold value should be tuned for the target environment. Note, monitoring files in an inbox can have a performance impact on the site server so select values for the minimum possible requirement. The sooner an increasing backlog is detected the less impact for both monitoring and the site server.

Element properties:

TargetMicrosoft.SMS.2003.Microsoft_SMS_2003_Site_Servers_Installation
CategoryEventCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue
CommentMom2005ID='{58CE0B34-4CEA-492F-AF19-C6E157849CB4}';MOM2005ComputerGroupID={46B98966-C802-4A3D-AED7-40F7B4E6BB42}

Member Modules:

ID Module Type TypeId RunAs 
_A43F9C52_D4E1_4721_B74E_139C6F013B06_ DataSource System.Scheduler Default
ScriptResponse1 WriteAction SMS_2003_Monitor_SMS_Inbox Default

Source Code:

<Rule ID="SMS_2003_Inbox__Monitor_dataldr.box_4_Rule" Target="Microsoft.SMS.2003.Microsoft_SMS_2003_Site_Servers_Installation" Enabled="false" ConfirmDelivery="false" Comment="Mom2005ID='{58CE0B34-4CEA-492F-AF19-C6E157849CB4}';MOM2005ComputerGroupID={46B98966-C802-4A3D-AED7-40F7B4E6BB42}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_A43F9C52_D4E1_4721_B74E_139C6F013B06_" Comment="{A43F9C52-D4E1-4721-B74E-139C6F013B06}" TypeID="SystemLibrary!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">86400</Interval>
<SyncTime>2:00</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="ScriptResponse1" TypeID="SMS_2003_Monitor_SMS_Inbox">
<AlertGeneration>
<GenerateAlert>false</GenerateAlert>
<Owner/>
<Description>
$Data/EventDescription$
</Description>
<AlertLevel>50</AlertLevel>
<ResolutionState/>
<Source>
$Data/PublisherName$
</Source>
<Name>SMS 2003 Inbox: Monitor dataldr.box</Name>
</AlertGeneration>
<InvokerType>0</InvokerType>
<Parameters>
<FileCountThreshold>10000</FileCountThreshold>
<InboxDirectoryName>dataldr.box</InboxDirectoryName>
</Parameters>
</WriteAction>
</WriteActions>
</Rule>