Cisco Nexus: Power supply status Health Monitor

Jalasoft.Xian.SmartManagementPacks.CiscoNexus.PowerSupplyStatus.1.1 (AggregateMonitor)

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

Knowledge Base article:

Summary

Power supply status has changed.

Power supply status has changed to one of the following states: other, ok, minor fault, major fault.

External

www.jalasoft.com/KnowledgeBase

Causes

Ok indicates that the AC and DC sources are well and the power supply is operational. The other states are caused by any of the following: power fluctuation, the electrical cord was accidentally unplugged, a fuse was tripped, a change has occurred in the DC current from the power supply in the switch to the switch components or a power fluctuation of the electrical AC current to a specific component on the switch.

Resolutions

Verify that the power supply is flush with the back of the chassis, test the power cord in another power source, if a second power supply is available, install it in the second power supply bay, and contact customer service to correct the AC or DC failure. First ensure that the power supply is flush with the back of the chassis. Turn off the power switch, tighten the captive installation screw(s), and then turn on the power switch. If the INPUT OK LED remains off, there might be a problem with the AC source, the DC source, or the power cable. The power supply is probably faulty.

Additional

Monitors the status of power supply on a Cisco Nexus.

Element properties:

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

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.CiscoNexus.PowerSupplyStatus.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_Cisco!Jalasoft.Xian.Common.Elements.ThirdParty.Cisco.JsXCiscoNexusPowerSupplyElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="PowerSupplyStatus_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>