File Share Health Monitor

Microsoft.SystemCenter.CM.AEM.Views.Internal.FileShareHealth (UnitMonitor)

File Share Health Monitor checks for ACLs and available free space

Knowledge Base article:

Summary

This monitor confirms Client Monitoring Action Account's RunAs account accessibility to the fileshare. It also checks for ACLs and available free space on the fileshare.

Causes

The failure can happen if Client Monitoring Action Account's RunAs account doesn't have access to the fileshare or ACLs on the fileshare are messed up or the fileshare doesn't have atleast 2GB of free space.

Resolution

Check for the available free space on the drive hosting the fileshare for AEM. It should have atleast 2GB of free space to prevent overflow. Ensure that the fileshare has appropriate ACLs for AEMUser and AEMAgent groups. Please refer to documentation for configuration details of the fileshare. If the Client Monitoring Action Account's RunAs account has fileshare accessibility issues, execute 'AEM: Fix Permissions' task against the CrashListener entity.

For details on ACL settings, please refer to product documentation.

Element properties:

TargetMicrosoft.SystemCenter.CM.AEM.CrashListener
Parent MonitorSystem.Health.AvailabilityState
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.CM.AEM.Views.Internal.TimedFileShareMonitor
RemotableTrue
AccessibilityPublic
Alert Message
File Share Health Monitor
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.CM.AEM.Views.Internal.FileShareHealth" TypeID="Microsoft.SystemCenter.CM.AEM.Views.Internal.TimedFileShareMonitor" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Accessibility="Public" Enabled="true" ParentMonitorID="Health!System.Health.AvailabilityState" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Alert</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.CM.AEM.Views.Internal.FileShareHealth.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/FileShareValidationInfo/Message$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Healthy" ID="Regular"/>
<OperationalState HealthState="Error" MonitorTypeStateID="Unhealthy" ID="Iregular"/>
</OperationalStates>
<Configuration>
<MinutesFrequency>60</MinutesFrequency>
<LocalLocation>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/LocalFileShareAddr$</LocalLocation>
<Location>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/SharePath$</Location>
<PolicyTextUrl>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/PolicyResponseUrl$</PolicyTextUrl>
</Configuration>
</UnitMonitor>