Main Loop Duration

ozsoft.sap.Monitor.SAPConnector.Timer (UnitMonitor)

SAP Connector Main Loop Duration Monitor

Knowledge Base article:

Summary

Time (seconds) it takes to complete connector's main loop

Configuration

Check the Timers performance view, determine which Action is causing the excessive loop time. Depending on the action perform one of the following:

Causes

Resolutions

Depending on the cause of the problem:

Element properties:

Targetozsoft.sap.Connector
Parent MonitorSystem.Health.PerformanceState
CategoryOperations
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor Typeozsoft.sap.CCMSMetricMonitorType2
RemotableTrue
AccessibilityPublic
Alert Message
Connector loop is taking too long to complete
SAP Connector on {0} takes {1} seconds to complete
RunAsDefault

Source Code:

<UnitMonitor ID="ozsoft.sap.Monitor.SAPConnector.Timer" Accessibility="Public" Enabled="true" Target="ozsoft.sap.Connector" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="ozsoft.sap.CCMSMetricMonitorType2" ConfirmDelivery="false">
<Category>Operations</Category>
<AlertSettings AlertMessage="ozsoft.sap.Monitor.SAPConnector.Timer.AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/InstanceName$</AlertParameter1>
<AlertParameter2>$Data/Context/Value$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Under" MonitorTypeStateID="SDKMetricUnderLowThreshold" HealthState="Success"/>
<OperationalState ID="Between" MonitorTypeStateID="SDKMetricUnderHighOverLowThreshold" HealthState="Warning"/>
<OperationalState ID="Over" MonitorTypeStateID="SDKMetricOverHighThreshold" HealthState="Error"/>
</OperationalStates>
<Configuration>
<CounterName>Loop</CounterName>
<ObjectName>ActionTimer</ObjectName>
<Frequency>60</Frequency>
<HighThreshold>900</HighThreshold>
<LowThreshold>300</LowThreshold>
</Configuration>
</UnitMonitor>