UPS Alert trap Rule - An Environmental Monitor temperature threshold has been violated on probe 2

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

Knowledge Base article:

Summary

SNMP Trap from APC UPS

Causes

An Environmental Monitor temperature threshold has been violated on probe 2. The first variable is the current temperature.

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 - An Environmental Monitor temperature threshold has been violated on probe 2

An Environmental Monitor temperature threshold has been violated on probe 2

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

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.temperatureThresholdViolation2" 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.63</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.temperatureThresholdViolation2.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>
<AlertParameter5>$Data/EventData/DataItem/SnmpVarBinds/SnmpVarBind[3]/Value$</AlertParameter5>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>