UPS Basic Output Status
SCUtils.APC.UPS.Monitor.ups.BasicOutputStatus (UnitMonitor)
Healthy if equal to 2. Monitor warning indicates that the UPS is running on battery (3) or is not providing line voltage to any attached devices.
Element properties:
Source Code:
<UnitMonitor ID="SCUtils.APC.UPS.Monitor.ups.BasicOutputStatus" 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.BasicOutputStatus_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.BasicOutputStatus.Success" MonitorTypeStateID="StatusOK" HealthState="Success"/>
<OperationalState ID="SCUtils.APC.UPS.Monitor.ups.BasicOutputStatus.Error" MonitorTypeStateID="StatusNotOK" HealthState="Warning"/>
</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.4.1.1.0</OID>
<ErrorValueRegEx>^(3)$</ErrorValueRegEx>
</Configuration>
</UnitMonitor>