Lenovo ComponentHealth WriteAlert

IBM.ComponentHealth.WriteAlert (WriteActionModuleType)

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
InputTypeSystem.Event.Data

Member Modules:

ID Module Type TypeId RunAs 
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<WriteActionModuleType ID="IBM.ComponentHealth.WriteAlert" Accessibility="Public">
<Configuration>
<xsd:element name="AlertMessageId" type="xsd:string"/>
<xsd:element name="Severity" type="xsd:integer"/>
</Configuration>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>$Config/Severity$</Severity>
<AlertMessageId>$Config/AlertMessageId$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventData/DataItem/Property[@Name='EventDescription']$</AlertParameter1>
<AlertParameter2>IBMPSG_ComponentHealth</AlertParameter2>
<AlertParameter3>$Data/EventData/DataItem/Property[@Name='ComponentID']$</AlertParameter3>
<AlertParameter4>$Data/Params/Param[2]$</AlertParameter4>
<AlertParameter5>$Data/Params/Param[3]$</AlertParameter5>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventData/DataItem/Property[@Name='ComponentID']$</SuppressionValue>
<SuppressionValue>$Data/EventData/DataItem/Property[@Name='AlertSeverity']$</SuppressionValue>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<!--Custom field could be display to user by personal alert view-->
<Custom1/>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="Alert"/>
</Composition>
</Composite>
</ModuleImplementation>
<InputType>System!System.Event.Data</InputType>
</WriteActionModuleType>