UPS Number Of Bad Battery Packs
SCUtils.APC.UPS.Monitor.ups.AdvBatteryNumOfBadBattPacks (UnitMonitor)
The number of external battery packs connected to the UPS that are defective. If the UPS does not use smart cells then the agent reports ERROR_NO_SUCH_NAME.
Element properties: Source Code: <UnitMonitor ID="SCUtils.APC.UPS.Monitor.ups.AdvBatteryNumOfBadBattPacks" Accessibility="Public" Enabled="true" Target="SCUtils.APC.UPS" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SCUtils.APC.UPS.Monitor.Type.StatusProbe" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="SCUtils.APC.UPS.Monitor.ups.AdvBatteryNumOfBadBattPacks_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</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.UPS.Monitor.ups.AdvBatteryNumOfBadBattPacks.Success" MonitorTypeStateID="StatusOK" HealthState="Success"/>
<OperationalState ID="SCUtils.APC.UPS.Monitor.ups.AdvBatteryNumOfBadBattPacks.Error" MonitorTypeStateID="StatusNotOK" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1200</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.6.0</OID>
<ErrorValueRegEx>(^[1-9]+)</ErrorValueRegEx>
</Configuration>
</UnitMonitor>