Set an Alert for a Performance Metric
For some services such as Oracle Cloud Infrastructure Compute Classic, Oracle Java Cloud Service, or Oracle Database Cloud Service, service administrators can configure rules to generate alerts when metrics exceed or are under specified thresholds for a specific time period. Service administrators will receive the alert notifications.
true
(satisfied) or false
(unsatisfied) depending on the change in the metric behavior.
-
Metric is not within the defined threshold for a sustained period of time and the threshold state changes from either true to false or vice versa.
-
Metric is within the defined threshold for a sustained period of time and the threshold state changes from either true to false or vice versa.
Example 7-1 Configuring an Alert Rule to Monitor CPU Usage
If you specify the following criteria to monitor the CPU usage levels:-
Criteria = CPU Percentage (%) Average >=80
-
Duration = 10 minutes
-
Period Count to Satisfy = 3
-
Period Count to Unsatisfy = 2
Then,
-
Crosses the specified threshold during 3 consecutive 10-minute periods and the threshold state changes from false to true.
-
Remains below or is within the threshold limits for 2 consecutive 10-minute periods (after a corrective action is taken) and the threshold state changes again from true to false.
-
If a metric remains above the threshold for more than 3 consecutive 10-minute periods and there is no change in the threshold state.
-
If a metric remains below or is within the threshold for more than 2 consecutive 10-minute periods and there is no change in the threshold state.
Time Period | Metric (CPU Usage % >=80) | Threshold Value (Above/Below/Equal) | Threshold State (True/False) | Alert Sent (Y/N) |
---|---|---|---|---|
1:00 |
Threshold Created |
0 |
False |
N |
1:10 |
50 |
Below |
False |
N |
1:20 |
80 |
Equal |
True |
N |
1:30 |
85 |
Above |
True |
N |
1:40 |
90 |
Above |
True |
Y (Avg>=80 for 3 consecutive 10-minute periods) |
1:50 |
81 |
Above |
True |
N |
2:00 |
60 |
Below |
False |
N |
2:10 |
50 |
Below |
False |
Y (Avg<80 for 2 consecutive 10-minute periods) |
2:20 |
80 |
Equal |
True |
N |
2:30 |
60 |
Below |
False |
N |
2:40 |
81 |
Above |
True |
N |
Here is an illustration of the above example:
The alert rules are listed in the Alert Rules page. To delete a rule, click Remove from the Action menu.