Gazdabuszadapter portállapot-figyelője

Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.HBA.PortState.Monitor (UnitMonitor)

Tárolási gazdabuszadapter portállapot-figyelője

Knowledge Base article:

Összefoglalás

A gazdabuszadapter portállapot-figyelője egy tulajdonságcsomagot küld vissza, amely a megadott adapter portjainak állapotát tartalmazza.

Ha szükséges, a következő paramétereket bírálhatja felül:

Okok

Figyelt port esetén az LSI HBA portállapot-változásai az új állapottól függően figyelmeztetést váltanak ki

Megoldások

A gazdabuszadapter portállapotainak ellenőrzése

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.Storage.2016.HBA.PortState.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Módosult a gazdabuszadapter portállapota
A gazdabuszadapter (adaptermodell: "{2}", "{1}" illesztőprogram példányneve: "{3}", kiszolgáló: "{0}") állapota a következő: "{7}". {5} portból {4} nem érhető el. Offline portok listája: {6}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.HBA.PortState.Monitor" Accessibility="Public" Target="S2D!Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" TypeID="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.HBA.PortState.MonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.HBA.PortState.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="S2D!Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/FileServerName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="S2D!Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/DriverName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="S2D!Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/ModelDescription$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='HBAInstanceName']$</AlertParameter4>
<AlertParameter5>$Data/Context/Property[@Name='PortsOffLineCount']$</AlertParameter5>
<AlertParameter6>$Data/Context/Property[@Name='TotalPorts']$</AlertParameter6>
<AlertParameter7>$Data/Context/Property[@Name='ListPortsOffLine']$</AlertParameter7>
<AlertParameter8>$Data/Context/Property[@Name='StatusDesc']$</AlertParameter8>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="AllOffLinePortsCritical" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="PartiallyOffLinePortsWarning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="NoOffLinePortsHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<PortTypeFilter>*</PortTypeFilter>
<DeviceID>$Target/Property[Type="Windows!Microsoft.Windows.ComputerNetworkAdapter"]/DeviceID$</DeviceID>
<DefaultPortCountPerAdapter>2</DefaultPortCountPerAdapter>
</Configuration>
</UnitMonitor>