Bewaking voor status van HBA-poort van opslag
Bewaking van status van HBA-poort, geeft als resultaat een eigenschappenverzameling die de status bevat van poorten in de opgegeven adapter.
Dit zijn de parameters die wij, indien nodig, kunnen overschrijven:
Interval in seconden: het aantal seconden voor elke uitvoering
Synchronisatietijd: tijd uitgedrukt in deze notatie: "uu:mm" sinds de start van de uitvoering.
Time-out in seconden: aantal seconden dat moet worden gewacht tot de uitvoering wordt geannuleerd vanwege "time-outredenen".
Filter voor poorttype: in de bewaking toe te passen filter om alleen bepaalde poorttypen op te nemen - de standaardwaarde is "*" - of om een codegetal op te geven dat het poorttype vertegenwoordigt.
Bij bewaakte poorten activeert de gewijzigde LSI HBA-poortstatus een waarschuwing op basis van de nieuwe status
De poortstatussen van de HBA-adapter controleren
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>