UPS Alert trap Rule - Communication to the UPS when the UPS is on Battery

SCUtils.APC.UPS.Trap.Rule.onbatterycommunicationLost (Rule)

Knowledge Base article:

Summary

SNMP Trap from APC UPS

Causes

Communication to the UPS when the UPS is on Battery. Steps to reestablish communication are in progress.

Resolutions

Please use the APC web interface for more detailed information.

Element properties:

TargetSCUtils.APC.UPS
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
UPS Alert trap Rule - Communication to the UPS when the UPS is on Battery

Communication to the UPS when the UPS is on Battery. Steps to reestablish communication are in progress.

Source {0}
Location is {1}
IP {2}
Primary owner is {3}

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.NetworkManagement.SnmpTrapEventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="SCUtils.APC.UPS.Trap.Rule.onbatterycommunicationLost" Enabled="true" Target="SCUtils.APC.UPS" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="NetworkLibrary!System.NetworkManagement.SnmpTrapEventProvider">
<IP>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IP>
<OIDProps>
<OIDProp>.1.3.6.1.4.1.318.0.733</OIDProp>
</OIDProps>
<EventOriginId>$Target/Id$</EventOriginId>
<PublisherId>$Target/Id$</PublisherId>
<PublisherName>Snmp Event</PublisherName>
<Channel>SnmpEvent</Channel>
<LoggingComputer/>
<EventNumber>1501</EventNumber>
<EventCategory>5</EventCategory>
<EventLevel>10</EventLevel>
<UserName/>
<Params/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="SCUtils.APC.UPS.Trap.Rule.onbatterycommunicationLost.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/sysName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/Location$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</AlertParameter3>
<AlertParameter4>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/PrimaryOwnerContact$</AlertParameter4>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>