Monitor del espacio libre en los discos lógicos

Microsoft.Windows.Server.10.0.Legacy.LogicalDisk.FreeSpace.Monitor (UnitMonitor)

Supervisa el porcentaje de espacio libre y el número de MB libres que quedan en un disco lógico. Only when both the low percentage free space threshold and low number of free MBytes threshold is the disk flagged as having low disk free space.

Knowledge Base article:

Resumen

La cantidad de espacio disponible en disco en el volumen de disco lógico ha caído por debajo del umbral.

Configuración

La rutina de supervisión de espacio disponible en disco lógico es una solución altamente configurable que permite a los operadores establecer varios valores de umbral para volúmenes de disco lógico tanto si pertenecen al sistema como si no. In addition separate threshold values can be set for Warning and Error states.

Since logical disk volumes may vary in size from a few gigabytes to many terabytes or more the Logical Disk Free Space monitoring routine requires that an Operator indicate both the Megabyte and Percentage based threshold values that must be passed before the Warning and Error thresholds reached. This means that in order for the threshold to be reached both the Megabyte and Percentage based threshold values for the System or Non-System Drive must be breached.

Los valores de umbral predeterminados para la rutina de supervisión de espacio disponible en disco lógico son los siguientes:

Tenga en cuenta que las invalidaciones se pueden usar para cambiar cualquiera de los valores de umbral definidos anteriormente. Además, estos umbrales se pueden aplicar a todas las instancias de volumen de disco lógico del grupo de administración o, si es preciso, pueden definirse valores de umbral distintos para instancias de volumen de disco lógico específicas.

Causas

Esto puede afectar negativamente al rendimiento del sistema y es posible que no se pueda agregar ni modificar archivos existentes en el volumen de disco lógico hasta que haya espacio libre adicional disponible.

Soluciones

Para aumentar la cantidad de espacio libre en el disco, lleve a cabo una o varias de estas acciones:

Para ver un historial reciente de espacio en disco, puede usar la vista siguiente:

Iniciar vista de capacidad de disco

Element properties:

TargetMicrosoft.Windows.Server.10.0.LogicalDisk
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.10.0.Legacy.LogicalDisk.FreeSpace.Monitortype
RemotableTrue
AccessibilityPublic
Alert Message
Hay poco espacio libre en el disco lógico
El disco {0} del equipo {1} se está quedando sin espacio. Los valores que han superado el umbral son un {2} \% de espacio libre y {3} megabytes libres.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.Legacy.LogicalDisk.FreeSpace.Monitor" Accessibility="Public" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalDisk" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.10.0.Legacy.LogicalDisk.FreeSpace.Monitortype" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.Legacy.LogicalDisk.FreeSpace.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='PctFree']$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='MbFree']$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UnderWarningThresholds" MonitorTypeStateID="UnderWarningThresholds" HealthState="Success"/>
<OperationalState ID="OverWarningUnderErrorThresholds" MonitorTypeStateID="OverWarningUnderErrorThresholds" HealthState="Warning"/>
<OperationalState ID="OverErrorThresholds" MonitorTypeStateID="OverErrorThresholds" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>3600</IntervalSeconds>
<TargetComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</TargetComputerName>
<SystemDriveWarningMBytesThreshold>500</SystemDriveWarningMBytesThreshold>
<SystemDriveWarningPercentThreshold>10</SystemDriveWarningPercentThreshold>
<SystemDriveErrorMBytesThreshold>300</SystemDriveErrorMBytesThreshold>
<SystemDriveErrorPercentThreshold>5</SystemDriveErrorPercentThreshold>
<NonSystemDriveWarningMBytesThreshold>2000</NonSystemDriveWarningMBytesThreshold>
<NonSystemDriveWarningPercentThreshold>10</NonSystemDriveWarningPercentThreshold>
<NonSystemDriveErrorMBytesThreshold>1000</NonSystemDriveErrorMBytesThreshold>
<NonSystemDriveErrorPercentThreshold>5</NonSystemDriveErrorPercentThreshold>
<DiskLabel>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</DiskLabel>
<TimeoutSeconds>360</TimeoutSeconds>
<DebugFlag>false</DebugFlag>
</Configuration>
</UnitMonitor>