Tárolási gazdabuszadapter portállapot-figyelője
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:
Időköz (s): A végrehajtások közötti időtartam másodpercben kifejezve
Szinkronizálás időpontja: A végrehajtás „óó:pp” formátumban megadott kezdési időpontja.
Időkorlát (s): Annak az időtartamnak a megadása másodpercben, ameddig a rendszer várakozik, mielőtt időtúllépés miatt megszakítja a végrehajtást.
Porttípus-szűrő: A figyelni kívánt porttípusok megadására szolgáló szolgáló szűrő. Az alapértelmezett érték a „*”, illetve adja meg a kívánt porttípus kódszámát.
Figyelt port esetén az LSI HBA portállapot-változásai az új állapottól függően figyelmeztetést váltanak ki
A gazdabuszadapter portállapotainak ellenőrzése
Target | Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.HBA.PortState.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>