This monitor verifies connectivity to the alert attachment file share from the management servers.
The alert attachment file share processing workflows log events to indicate connectivity and security issues. This monitor sets the health state of the file share instance based on these events.
The monitor automatically resets the health state to Healthy with each successful file share operation. Use the monitor health history to analyze past connectivity issues.
The alert attachment share processing workflow permanently unloads when connectivity or security issues occur. You need to manually restart Health Service to restart workflows.
This monitor controls the health state of an "Alert Attachment File Share" instance and generates alerts related to the file share when processing alert attachments.
2001: A path to the file share is not set in the file share discovery override.
2002: A file share path cannot be resolved or a share does not exist.
2003: A file share is not accessible.
2004: An input/output operation error occurred.
2000: An unknown error occurred.
If you see the "2001: A path to the file share is not set in the file share discovery override" error, provide correct override for Alert Attachment File Share discovery.
If you see the "2002: A file share path cannot be resolved or a share does not exist" error, ensure that file share path is correct and accessible from the management servers.
If you see the "2003: A file share is not accessible" error, ensure that the alert attachment management Run-As account has read and write access the file share.
If you see the "2004: An input/output operation error occurred " error, ensure that file share is operational.
Target | Microsoft.SystemCenter.AlertAttachment.AlertAttachmentFileShare | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | Custom | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.AlertAttachment.AlertAttachmentFileShare.AvailabilityState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.AlertAttachment.AlertAttachmentFileShare" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AlertAttachment.AlertAttachmentFileShare.AvailabilityState.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data[Default='']/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>.</FirstComputerName>
<FirstLogName>Operations Manager</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[6]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Alert Attachment</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules Ex</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(2000|2001|2002|2003|2004)$</Pattern>
</RegExExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>.</SecondComputerName>
<SecondLogName>Operations Manager</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[6]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Alert Attachment</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules Ex</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2010</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>