Restart Count

ozsoft.sap.host.monitoring.Monitor.J2EE.Process.RestartCount.DeltaThreshold (UnitMonitor)

SAP J2EE Process Restart Count Delta Monitor

Knowledge Base article:

Summary

Monitors J2EE Process Restarts.

The Restarts value is monitored as a delta - the increase in the number of restart of 5 over the last 10 minutes would trigger the alarm.

Element properties:

Targetozsoft.sap.AppServer.JavaProcess
Parent MonitorSystem.Health.PerformanceState
CategoryOperations
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor Typeozsoft.sap.host.monitoring.MonitorType.J2EE.Process.Delta.Threshold1
RemotableTrue
AccessibilityPublic
Alert Message
J2EE Process Restart Count Delta is exceeded
Restart Count is {0}
RunAsDefault

Source Code:

<UnitMonitor ID="ozsoft.sap.host.monitoring.Monitor.J2EE.Process.RestartCount.DeltaThreshold" Accessibility="Public" Enabled="true" Target="OZMP4SAP!ozsoft.sap.AppServer.JavaProcess" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="ozsoft.sap.host.monitoring.MonitorType.J2EE.Process.Delta.Threshold1" ConfirmDelivery="false">
<Category>Operations</Category>
<AlertSettings AlertMessage="ozsoft.sap.host.monitoring.Monitor.J2EE.Process.RestartCount.DeltaThreshold.AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Under" MonitorTypeStateID="ValueUnderThreshold" HealthState="Success"/>
<OperationalState ID="Over" MonitorTypeStateID="ValueOverThreshold" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ObjectName>Process</ObjectName>
<CounterName>RestartCount</CounterName>
<Interval>120</Interval>
<Threshold>2</Threshold>
<NumSamples>2</NumSamples>
</Configuration>
</UnitMonitor>