UPS Battery RunTime Remaining

SCUtils.APC.UPS.Monitor.ups.AdvBatteryRunTimeRemaining (UnitMonitor)

Element properties:

TargetSCUtils.APC.UPS
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSCUtils.APC.UPS.Monitor.Type.BatteryRunTime
RemotableTrue
AccessibilityPublic
Alert Message
UPS Battery Runtime Remaining

The UPS system’s batteries are low and will soon be exhausted, {4} minutes remaining

Sourse: {0}
Location: {1}
Primary Owner: {2}
IP : {3}
Value : {4}
Pass if greater than 120000 time ticks (20 minutes)
The UPS battery run time remaining before battery exhaustion.
RunAsDefault

Source Code:

<UnitMonitor ID="SCUtils.APC.UPS.Monitor.ups.AdvBatteryRunTimeRemaining" Accessibility="Public" Enabled="true" Target="SCUtils.APC.UPS" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SCUtils.APC.UPS.Monitor.Type.BatteryRunTime" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="SCUtils.APC.UPS.Monitor.ups.AdvBatteryRunTimeRemaining_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</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/Property[@Name='Quotient']$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="SCUtils.APC.UPS.Monitor.ups.AdvBatteryRunTimeRemaining.Success" MonitorTypeStateID="StatusOK" HealthState="Success"/>
<OperationalState ID="SCUtils.APC.UPS.Monitor.ups.AdvBatteryRunTimeRemaining.Error" MonitorTypeStateID="StatusNotOK" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>600</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.1.2.2.3.0</OID>
<Threshold>20</Threshold>
</Configuration>
</UnitMonitor>