This monitor supervises SQL package size on SAP ABAP systems running on DB400. It evaluates package size against configured thresholds and can generate alarms and metrics.
You can detect and alert on:
This helps identify package bloat and potential database performance risks.
The monitor calls RFC function to collect:
Only packages with size strictly greater than 0 MB are retained.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Max packages | Integer | Yes | `100` | Maximum number of packages kept after collection/sorting. |
| Field | Required | Default | Description |
|---|---|---|---|
| Active | Yes | `true` | Enables/disables this surveillance row. |
| SQL Package name | Yes | `*` | Package name filter (wildcard matching supported). |
| Threshold | Yes | `0` | Threshold expression used to evaluate package size (MB). |
| Severity | Yes | `MAJOR` | Alarm severity applied when threshold is breached. |
| Auto clear | Yes | `true` | Alarms generated by this row are clearable when condition recovers. |
| Alarm tag | No | (empty) | Optional custom alarm tag/prefix. |
| Alarm | No | `true` | Enables/disables alarm generation for this row. |
| Metric | No | `false` | Enables/disables metric emission for this row. |
For each active surveillance row:
Alarm message format:
If Metric is enabled on a row, the monitor emits:
| Metric | Unit | Target | Description |
|---|---|---|---|
| SAP database package size | MB | Package name | Current DB400 SQL package size in MB. |
| Active | SQL Package name | Threshold | Severity | Auto clear | Alarm tag | Alarm | Metric |
|---|---|---|---|---|---|---|---|
| true | `USR*` | `G2W:500` | 4 | true | `DB400,PKG` | true | true |
| true | `JOB*` | `G2W:1000` | 3 | true | `DB400,JOB` | true | false |