Cisco Switch: Power supply component status Health Monitor

Jalasoft.Xian.SmartManagementPacks.CiscoSwitches.PowerSupplyComponentStatus.1.1 (AggregateMonitor)

This monitor catches Xian events that notifies when the Power supply component status has changed its state.

Knowledge Base article:

Summary

The power supply component status has changed.

The power supply component status has changed to one of the following states: critical, normal, not functioning, not present, shutdown or warning.

Causes

The component is normal when the power supply operational status is ok; warning, when power supply operational status is warning; critical, when power supply operational status is critical fault and chassis may fail; shutdown, when the device should be shutdown immediately and chassis power supply status is severe critically fault; not present, when power supply not present and operational status unknown and not functioning, when power supply not functioning correctly.

Resolutions

Normal is the desired state. For all others, the component should be inspected and replaced, if necessary.

Additional

Monitors the status of the power supply.

Element properties:

TargetJalasoft.Xian.Common.Elements.ThirdParty.Cisco.JsXCiscoSwitchEnvSensorPowerSupplyElement
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
Power supply component status Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.CiscoSwitches.PowerSupplyComponentStatus.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_Cisco!Jalasoft.Xian.Common.Elements.ThirdParty.Cisco.JsXCiscoSwitchEnvSensorPowerSupplyElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="PowerSupplyComponentStatus_AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[3]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
</AggregateMonitor>