Current source of power - Monitor

SCUtils.APC.ATS.Monitor.atsStatusSelectedSource (UnitMonitor)

The current source of power. SourceA=1, SourceB=2

Knowledge Base article:

Summary

This monitor returns the current source of power.

Causes

If the current source of power - Source B, an alarm occurs.

Resolutions

Please use the APC web interface for the more detailed information.

Element properties:

TargetSCUtils.APC.ATS
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSCUtils.APC.ATS.MonitorType.Advanced.StatusProbe
RemotableTrue
AccessibilityPublic
Alert Message
ATS current source of power

The current source of power

Name: {0}
Location: {1}
Primary Owner: {2}
IP : {3}
Value : {4}

Legend:
SourceA (1)
SourceB (2)
RunAsDefault

Source Code:

<UnitMonitor ID="SCUtils.APC.ATS.Monitor.atsStatusSelectedSource" Accessibility="Public" Enabled="true" Target="SCUtils.APC.ATS" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SCUtils.APC.ATS.MonitorType.Advanced.StatusProbe" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="SCUtils.APC.ATS.Monitor.atsStatusSelectedSource_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<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"]/PrimaryOwnerContact$</AlertParameter3>
<AlertParameter4>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</AlertParameter4>
<AlertParameter5>$Data/Context/SnmpVarBinds/SnmpVarBind[1]/Value$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="SCUtils.APC.ATS.Monitor.atsStatusSelectedSource.Success" MonitorTypeStateID="StatusOK" HealthState="Success"/>
<OperationalState ID="SCUtils.APC.ATS.Monitor.atsStatusSelectedSource.Error" MonitorTypeStateID="StatusNotOK" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<IPAddress>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IPAddress>
<CommunityString>$RunAs[Name="NetworkLibrary!System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<SnmpVersion>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPVersion$</SnmpVersion>
<OID>.1.3.6.1.4.1.318.1.1.8.5.1.2</OID>
<Index>0</Index>
<Walk>true</Walk>
<ErrorValueRegEx>(2)</ErrorValueRegEx>
</Configuration>
</UnitMonitor>