products:promonitor:6.8:monitorsguide:netweaver:dbexclusivelocks

DB Exclusive locks

Purpose

If too many exclusive locks are held for a long time, performances of the whole system can be impacted. This monitor will help to watch for such situations and generate an alarm if one is detected.

Configuration hints

Create a rule in the table and define the maximum time an exclusive lock must be held before generating an alarm.

You can filter on a database object to apply a different threshold and severity based on the table name.

Aggregate: If active, only one alarm per rule will be generated, reporting the number of exclusive locks ongoing since more than threshold. If inactive, one alarm per lock will be sent, reporting its exact duration.

Surveillance table

ParameterDescription
ActiveUse this field to activate or deactivate a line of configuration.
Object NameThe name of the database object to look for. You can use regular expressions, or * to match any object.
Max wait time (sec)The threshold for the maximum time an exclusive lock can be held, in seconds.
AggregateIf checked, the alarm will indicate how many matching objects are held by an exclusive lock since too long time. If not checked, the probe will send an alarm per matching object being subject of a too long exclusive lock.
SeverityThe level of severity of the alarm generated by this line of surveillance.
Auto clearIf checked, the alarm will be cleared as soon as the alarm condition is not met anymore.
Alarm tagThis field allows to add custom text within the alarm message. %MSG% variable will contain the actual generated message and can be used such as: “my_prefix %MSG% my_suffix”. By default, tag will be used as prefix.
AlarmIf checked, this line of surveillance will be used for alarm generation.
MetricIf checked, this line of surveillance will be used for metric generation.
ReportIf checked, this line of surveillance will used for showing threshold and severity in the daily report

Examples

ActiveObject NameMax wait time (sec)AggregateSeverityAuto clearAlarm tagAlarmMetricReport
true*30falseMAJORtrue truefalsefalse

Effect : Sends a MAJOR alarm for each object with an exclusive lock held since 30 seconds or more.

Examples

ActiveObject NameMax wait time (sec)AggregateSeverityAuto clearAlarm tagAlarmMetricReport
trueLOU.*30trueWARNINGtrue truefalsefalse

Effect : Sends an alarm indicating how many objects with name starting by “LOU” are held by an exclusive lock since 30 seconds.

Generated metrics

metricIdmetricUnitmetricTargetmetricDescription
LONG_EXCLUSIVE_LOCKS_NUMBERSeconds[OBJECT]Sends the number of exclusive locks matching the filter
/home/clients/8c48b436badcd3a0bdaaba8c59a54bf1/wiki-web/data/pages/products/promonitor/6.8/monitorsguide/netweaver/dbexclusivelocks.txt · Last modified: 2020/05/29 16:16 (external edit)