Cisco Switch: VLAN port status Health Monitor

Jalasoft.Xian.SmartManagementPacks.CiscoSwitches.VLANPortStatus.2.1 (AggregateMonitor)

This monitor catches Xian events that notifies when the VLAN port status has changed its state.

Knowledge Base article:

Summary

VLAN port status (4000/4500/5000/6000/6500) has changed.

The VLAN port status has changed to one of the following states: inactive, active, shutdown or VLAN active fault.

Causes

Active is the desired state, which indicates that the currently assigned VLAN is active. Inactive indicates that a dynamic port does not yet have a VLAN assigned, or a port is assigned to a VLAN that is currently not active. Shutdown indicates that the port has been disabled as a result of VQP shutdown response. When you delete a VLAN, any port assigned to that VLAN becomes inactive. They remain associated with the VLAN (and thus inactive) until you assign them to a new VLAN.

If you have a VLAN Membership Policy Server (VMPS) configured and the VLAN is not allowed on the port and the VMPS is in secure mode, the VMPS sends a "port-shutdown" response. If the VLAN in the database does not match the current VLAN on the port and active hosts exist on the port, the VMPS sends an access-denied or a port-shutdown response, depending on the secure mode of the VMPS.

Resolutions

No action required when active. Both disabled and shutdown states require you to re-enable the port and correct configuration if necessary. To re-enable a shut-down dynamic port, enter the "no shutdown" command in interface configuration mode.

Additional

Monitors the port status on the VLAN assigned to on a Cisco Switch 4000, 4500, 5000, 6000 and 6500 series.

Element properties:

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

Source Code:

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