PDU Power Supply 1 Alarm

SCUtils.APC.PDU2.Device.Monitor.rPDU2DeviceStatusPowerSupply1Status (UnitMonitor)

Getting this OID will return power supply 1 Alarm

Element properties:

TargetSCUtils.APC.PDU2.Device
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSCUtils.APC.PDU.MonitorType.StatusProbe
RemotableTrue
AccessibilityPublic
Alert Message
PDU Power Supply 1 Alarm

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

Legend:
Normal (1),
Alarm (2),
Not Installed (3)

RunAsDefault

Source Code:

<UnitMonitor ID="SCUtils.APC.PDU2.Device.Monitor.rPDU2DeviceStatusPowerSupply1Status" Accessibility="Public" Enabled="true" Target="SCUtils.APC.PDU2.Device" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="SCUtils.APC.PDU.MonitorType.StatusProbe" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="SCUtils.APC.PDU2.Device.Monitor.rPDU2DeviceStatusPowerSupply1Status_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/sysName$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/Location$</AlertParameter2>
<AlertParameter3>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/PrimaryOwnerContact$</AlertParameter3>
<AlertParameter4>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</AlertParameter4>
<AlertParameter5>$Data/Context/SnmpVarBinds/SnmpVarBind[1]/Value$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="SCUtils.APC.PDU2.Device.Monitor.rPDU2DeviceStatusPowerSupply1Status.Success" MonitorTypeStateID="StatusOK" HealthState="Success"/>
<OperationalState ID="SCUtils.APC.PDU2.Device.Monitor.rPDU2DeviceStatusPowerSupply1Status.Error" MonitorTypeStateID="StatusNotOK" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<IPAddress>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IPAddress>
<CommunityString>$RunAs[Name="NetworkLibrary!System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<SnmpVersion>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPVersion$</SnmpVersion>
<OID>.1.3.6.1.4.1.318.1.1.26.4.3.1.13.$Target/Property[Type="SCUtils.APC.PDU2.Device"]/Index$</OID>
<ErrorValueRegEx>(2)</ErrorValueRegEx>
</Configuration>
</UnitMonitor>