Savision Cloud Reporter

Savision.CloudReporter.VMware.Monitoring.vCenterServer.CheckEventLogErrors.Monitor (UnitMonitor)

This monitor checks to see if Savision's Cloud Reporter has generated any alerts into the Windows Event Log on the vCenter Server.

Knowledge Base article:

Summary

This monitor checks to see if any of the components of Savision's Cloud Reporter running on the vCenter Server have generated errors into the Windows Event Log.

Causes

This monitor will enter an unhealthy state if any components of Cloud Reporter generate an error into the Windows Event Log. This script is not expected to generate errors so an unhealthy state of this monitor indicates an unanticipated event.

Resolutions

As any errors may impact the accuracy of the reports in the Cloud Reporter product, you should contact Savision support to report the problem.

Element properties:

TargetSavision.CloudReporter.VMware.vCenterServer.ServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Savision's Cloud Reporter Generated an Error
The details of the error are: {0}.
RunAsDefault

Source Code:

<UnitMonitor ID="Savision.CloudReporter.VMware.Monitoring.vCenterServer.CheckEventLogErrors.Monitor" Target="CRVMWDisc!Savision.CloudReporter.VMware.vCenterServer.ServerRole" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Accessibility="Public" Remotable="true" Priority="Normal" ConfirmDelivery="false" Enabled="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Savision.CloudReporter.VMware.Monitoring.vCenterServer.CheckEventLogErrors.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventLevel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>CloudReporter_</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>1800</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>