Alert policies

An alert policy sets which alerts check a group of databases, when they fire and who gets the mail. Open Policies › Alerts.

The Production alert policy open on its 14 rules

Before you begin

  • Rules, exceptions and policies need Manage Policies. Your own alerts need Manage alerts.
  • Mail and traps use Settings › Email. See Email and notifications.

Add a rule

The Edit Alert Rule dialog for Process Limit, on the Rule tab
  1. Click the policy in the list.

  2. Click Add Rule.

  3. In Alert, select an alert from the Alert Catalog. If the alert is not in the list, click New Alert at the bottom of the list.

  4. Set the fields in the table below.

  5. Click Add Rule.

FieldWhat it doesChoices
Fires whenCompares column 1 of the alert with this value. Contains is case-sensitive.<, >, =, Contains
CheckedHow often the rule runs.Every 5 minutes (the default) up to Every hour
Mail toWho gets the mail.No one, or recipients from Settings › Email
RemindSends the mail again while the alert is open.Never (the default) up to every week
TrapAlso sends the alert as a trap.Off, Critical, Minor

To change a rule, click its pencil. To remove it from the policy, click its bin.

Set the levels of an alert with its own settings

Four alerts show own levels in Fires When. Set their levels on the Configuration tab of the rule. The settings apply to this policy only.

AlertWhat you set
Tablespace UsageThe tablespace types, Free space below (GB) and Used above (%). Also the automatic datafile add.
ASM UsageUsable space below (GB) and Used above (%).
OS Log MatchThe codes to Include and Exclude, the Logs, the Severity and the Look back minutes. The database needs OS logs on Monitoring.
SQL Plan ChangeThe Watched Statements and the automatic plan fix.

When both levels are on, an item must cross both. Delete under Saved settings sets the defaults again.

Add an exception

An exception changes a rule for some databases or items. You do not need another policy.

The Exceptions tab of Tablespace Usage, with two database overrides and three item exceptions
  1. Click the number in the Exceptions column of the rule, or open the rule and click Exceptions.

  2. For other levels on some databases: under Databases, select them. Set the Operator and the Value, or turn on Alert off. Click Add.

  3. For one item, such as a tablespace: type the Item name (UNDO* matches all names that start with UNDO). Select Ignore or Own threshold. Click Add.

Scops saves each change at once. All applies an item exception to all databases of the policy, also to databases that you add later.

Create your own alert

Write a query one time, then add it to policies as a rule.

The New Alert dialog for Long Running Calls, with its query and a passed test
  1. Under the list of policies, click New Alert.

  2. Type a Name and a Description. The description goes into the mails.

  3. Write the Query. Column 1 is the value to compare. With One alert per row, column 2 is the name of the row.

  4. Select a database and click Test Query. You can save only after a passed test.

  5. Confirm that your Oracle licenses cover what the query reads.

  6. Click Add Alert. The alert opens in the Alert Catalog.

  7. Click Add to Policy and select a policy. Set the rule, then click Add Rule. An alert that is in no policy checks nothing.

If you click New Alert in the Alert list of a rule, Scops selects the new alert in that rule.

  • The query is one SELECT, or WITH … SELECT. Scops refuses PL/SQL and statements that change data.
  • Scops refuses Diagnostics and Tuning Pack sources: DBA_HIST_ views, active session history, ADDM, the advisors and SQL Monitor.
  • The query runs on all databases of the policy at each check. Keep it light.

To open the catalog, click Alert Catalog under the list of policies. Your alerts are under Custom. The pencil edits your alert. The bin deletes it from all policies. You cannot change the alerts under Built-in.

Create an alert policy

The New Policy dialog, with the Name box and the three kinds
  1. Click New Policy.

  2. Type a Name and click Create Policy.

  3. Assign databases. See the next section.

The new policy gets a copy of the rules of Default Alerts, without their exceptions.

Assign databases

The Databases of This Policy dialog, with nine of 24 databases selected
  1. Click the database count of the policy, for example 9 databases.

  2. Select the databases of the policy. Clear the others.

  3. Click Save.

A database that you add leaves its old alert policy. A database with no alert policy raises no alerts: show them at the bottom of the list shows these databases.

Stop, rename or delete a policy

  • Running switch: a stopped policy keeps its databases but checks no rules.
  • Pencil: rename the policy.
  • Bin: delete the policy. Its databases then have no alert policy.

When an alert fires

  1. The alert opens on Incidents. Scops sends the mail, and a trap if Trap is on.

  2. While the alert is open, Scops sends the mail again if Remind is set.

  3. At the first check without the condition, the alert clears and Scops sends the cleared mail.

The same finding on databases with a shared host or storage is one mail and one row.

Built-in alerts

AlertWhat it checksIn Default Alerts
BackupRMAN jobs of the last day that failed or ended with errors.Contains ERROR
DB AccessIf Scops can reach the database.Its own logic
Tablespace UsageFree space and used percent of each tablespace.Under 10 GB free and over 90% used
ASM UsageUsable space and used percent of each disk group.Under 1024 GB usable and over 95% used
FRA UsageUsed percent of the fast recovery area.> 80
Process LimitUse of the processes limit, in percent. A PDB counts only what it can see. Add the CDB root to watch the whole limit.> 80
Dataguard GapArchived logs not applied on a standby.> 5
Anomaly WaitsActive sessions in Application, Concurrency, Configuration or Other waits.> 20
Unusable Indexes, Unusable Index PartitionsThe number of unusable indexes or index partitions.> 0
SQL Plan ChangeWatched statements that leave their expected plan.Its own logic
OS Log MatchFindings in the alert, ASM, CRS and listener logs.Not included

Updated October 30, 2026