UPS Battery RunTime Remaining
SCUtils.APC.UPS.Rule.ups.AdvBatteryRunTimeRemaining (Rule)
The UPS battery run time remaining before battery exhaustion.
Element properties:
Member Modules:
Source Code:
<Rule ID="SCUtils.APC.UPS.Rule.ups.AdvBatteryRunTimeRemaining" Enabled="true" Target="SCUtils.APC.UPS" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SCUtils.APC.UPS.BatteryRunTime.DSMT">
<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.1.2.2.3.0</OID>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>Battery Run Time Remaining</ObjectName>
<CounterName>Minutes</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='Quotient']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>