You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/monitoring-editing-silences.adoc
+23-13Lines changed: 23 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,40 @@
6
6
[id="editing-silences_{context}"]
7
7
= Editing silences
8
8
9
-
You can edit a silence, which will expire the existing silence and create a new one with the changed configuration.
9
+
You can edit a silence, which expires the existing silence and creates a new one with the changed configuration.
10
+
11
+
.Prerequisites
12
+
13
+
ifndef::openshift-dedicated,openshift-rosa[]
14
+
* If you are a cluster administrator, you have access to the cluster as a user with the `cluster-admin` role.
15
+
endif::openshift-dedicated,openshift-rosa[]
16
+
ifdef::openshift-dedicated,openshift-rosa[]
17
+
* If you are a cluster administrator, you have access to the cluster as a user with the `dedicated-admin` role.
18
+
endif::openshift-dedicated,openshift-rosa[]
19
+
* If you are a non-administrator user, you have access to the cluster as a user with the following user roles:
20
+
** The `cluster-monitoring-view` cluster role, which allows you to access Alertmanager.
21
+
** The `monitoring-alertmanager-edit` role, which permits you to create and silence alerts in the *Administrator* perspective in the web console.
22
+
** The `monitoring-rules-edit` cluster role, which permits you to create and silence alerts in the *Developer* perspective in the web console.
10
23
11
24
.Procedure
12
25
13
26
To edit a silence in the *Administrator* perspective:
14
27
15
-
. Navigate to the *Observe*->*Alerting*->*Silences* page.
28
+
. Go to *Observe*->*Alerting*->*Silences*.
16
29
17
-
. For the silence you want to modify, select the {kebab}in the last column and choose*Edit silence*.
30
+
. For the silence you want to modify, click {kebab} and select*Edit silence*.
18
31
+
19
-
Alternatively, you can select*Actions*->*Edit Silence* in the *Silence Details* page for a silence.
32
+
Alternatively, you can click*Actions*and select *Edit silence* on the *Silence details* page for a silence.
20
33
21
-
. In the *Edit Silence* page, enter your changes and select*Silence*. This will expire the existing silence and create one with the chosen configuration.
34
+
. On the *Edit silence* page, make changes and click*Silence*. Doing so expires the existing silence and creates one with the updated configuration.
22
35
23
36
To edit a silence in the *Developer* perspective:
24
37
25
-
. Navigate to the *Observe*->*<project_name>*->*Alerts* page.
26
-
27
-
. Expand the details for an alert by selecting *>* to the left of the alert name. Select the name of the alert in the expanded view to open the *Alert Details* page for the alert.
38
+
. Go to *Observe*->*<project_name>*->*Silences*.
28
39
29
-
. Select the name of a silence in the *Silenced By* section in that page to navigate to the *Silence Details* page for the silence.
30
-
31
-
. Select the name of a silence to navigate to its*Silence Details* page.
40
+
. For the silence you want to modify, click {kebab} and select *Edit silence*.
41
+
+
42
+
Alternatively, you can click *Actions* and select *Edit silence* on the*Silence details* page for a silence.
32
43
33
-
. Select *Actions*->*Edit Silence* in the *Silence Details* page for a silence.
44
+
. On the *Edit silence* page, make changes and click *Silence*. Doing so expires the existing silence and creates one with the updated configuration.
34
45
35
-
. In the *Edit Silence* page, enter your changes and select *Silence*. This will expire the existing silence and create one with the chosen configuration.
Copy file name to clipboardExpand all lines: modules/monitoring-expiring-silences.adoc
+25-12Lines changed: 25 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,32 +6,45 @@
6
6
[id="expiring-silences_{context}"]
7
7
= Expiring silences
8
8
9
-
You can expire a silence. Expiring a silence deactivates it forever.
9
+
You can expire a single silence or multiple silences. Expiring a silence deactivates it permanently.
10
10
11
11
[NOTE]
12
12
====
13
13
You cannot delete expired, silenced alerts.
14
14
Expired silences older than 120 hours are garbage collected.
15
15
====
16
16
17
+
.Prerequisites
18
+
19
+
ifndef::openshift-dedicated,openshift-rosa[]
20
+
* If you are a cluster administrator, you have access to the cluster as a user with the `cluster-admin` role.
21
+
endif::openshift-dedicated,openshift-rosa[]
22
+
ifdef::openshift-dedicated,openshift-rosa[]
23
+
* If you are a cluster administrator, you have access to the cluster as a user with the `dedicated-admin` role.
24
+
endif::openshift-dedicated,openshift-rosa[]
25
+
* If you are a non-administrator user, you have access to the cluster as a user with the following user roles:
26
+
** The `cluster-monitoring-view` cluster role, which allows you to access Alertmanager.
27
+
** The `monitoring-alertmanager-edit` role, which permits you to create and silence alerts in the *Administrator* perspective in the web console.
28
+
** The `monitoring-rules-edit` cluster role, which permits you to create and silence alerts in the *Developer* perspective in the web console.
29
+
17
30
.Procedure
18
31
19
-
To expire a silence in the *Administrator* perspective:
32
+
To expire a silence or silences in the *Administrator* perspective:
33
+
34
+
. Go to *Observe*->*Alerting*->*Silences*.
20
35
21
-
. Navigate to the *Observe*->*Alerting*->*Silences* page.
36
+
. For the silence or silences you want to expire, select the checkbox in the corresponding row.
22
37
23
-
. For the silence you want to modify, select the {kebab} in the last column and choose *Expire silence*.
38
+
. Click *Expire 1 silence* to expire a single selected silence or *Expire _<n>_ silences*to expire multiple selected silences, where _<n>_ is the number of silences you selected.
24
39
+
25
-
Alternatively, you can select*Actions*->*Expire Silence* in the *Silence Details* page for a silence.
40
+
Alternatively, to expire a single silence you can click*Actions*and select *Expire silence* on the *Silence details* page for a silence.
26
41
27
42
To expire a silence in the *Developer* perspective:
28
43
29
-
. Navigate to the *Observe*->*<project_name>*->*Alerts* page.
44
+
. Go to *Observe*->*<project_name>*->*Silences*.
30
45
31
-
. Expand the details for an alert by selecting *>*to the left of the alert name. Select the name of the alert in the expanded view to open the *Alert Details* page for the alert.
46
+
. For the silence or silences you want to expire, select the checkbox in the corresponding row.
32
47
33
-
. Select the name of a silence in the *Silenced By* section in that page to navigate to the *Silence Details* page for the silence.
34
-
35
-
. Select the name of a silence to navigate to its *Silence Details* page.
36
-
37
-
. Select *Actions*->*Expire Silence* in the *Silence Details* page for a silence.
48
+
. Click *Expire 1 silence* to expire a single selected silence or *Expire _<n>_ silences* to expire multiple selected silences, where _<n>_ is the number of silences you selected.
49
+
+
50
+
Alternatively, to expire a single silence you can click *Actions* and select *Expire silence* on the *Silence details* page for a silence.
Copy file name to clipboardExpand all lines: modules/monitoring-managing-silences.adoc
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,11 @@
6
6
[id="managing-silences_{context}"]
7
7
= Managing silences
8
8
9
-
You can create a silence to stop receiving notifications about an alert when it is firing. It might be useful to silence an alert after being first notified, while you resolve the underlying issue.
9
+
You can create a silence for an alert in the {product-title} web console in both the *Administrator* and *Developer* perspectives.
10
+
After you create a silence, you will not receive notifications about an alert when the alert fires.
11
+
12
+
Creating silences is useful in scenarios where you have received an initial alert notification, and you do not want to receive further notifications during the time in which you resolve the underlying issue causing the alert to fire.
10
13
11
14
When creating a silence, you must specify whether it becomes active immediately or at a later time. You must also set a duration period after which the silence expires.
12
15
13
-
You can view, edit, and expire existing silences.
16
+
After you create silences, you can view, edit, and expire them.
To silence a specific alert in the *Administrator* perspective:
27
27
28
-
* In the *Administrator* perspective:
28
+
. Go to *Observe*->*Alerting*->*Alerts* in the {product-title} web console.
29
29
30
-
. Navigate to the *Observe*->*Alerting*->*Alerts* page of the {product-title} web console.
30
+
. For the alert that you want to silence, click {kebab} and select *Silence alert* to open the *Silence alert* page with a default configuration for the chosen alert.
31
31
32
-
. For the alert that you want to silence, select the {kebab} in the right-hand column and select *Silence Alert*. The *Silence Alert* form will appear with a pre-populated specification for the chosen alert.
32
+
. Optional: Change the default configuration details for the silence.
33
+
+
34
+
[NOTE]
35
+
====
36
+
You must add a comment before saving a silence.
37
+
====
33
38
34
-
. Optional: Modify the silence.
39
+
. To save the silence, click *Silence*.
35
40
36
-
. You must add a comment before creating the silence.
41
+
To silence a specific alert in the *Developer* perspective:
37
42
38
-
. To create the silence, select *Silence*.
43
+
. Go to *Observe*->*<project_name>*->*Alerts* in the {product-title} web console.
39
44
40
-
* In the *Developer* perspective:
45
+
. If necessary, expand the details for the alert by selecting *>* next to the alert name.
41
46
42
-
. Navigate to the *Observe*->*<project_name>*->*Alerts* page in the {product-title} web console.
47
+
. Click the alert message in the expanded view to open the *Alert details* page for the alert.
43
48
44
-
. Expand the details for an alert by selecting *>* to the left of the alert name. Select the name of the alert in the expanded view to open the *Alert Details* page for the alert.
49
+
. Click *Silence alert* to open the *Silence alert* page with a default configuration for the alert.
45
50
46
-
. Select *Silence Alert*. The *Silence Alert* form will appear with a prepopulated specification for the chosen alert.
51
+
. Optional: Change the default configuration details for the silence.
52
+
+
53
+
[NOTE]
54
+
====
55
+
You must add a comment before saving a silence.
56
+
====
47
57
48
-
. Optional: Modify the silence.
58
+
. To save the silence, click *Silence*.
49
59
50
-
. You must add a comment before creating the silence.
60
+
To silence a set of alerts by creating a silence configuration in the *Administrator* perspective:
51
61
52
-
. To create the silence, select *Silence*.
62
+
. Go to *Observe*->*Alerting*->*Silences* in the {product-title} web console.
53
63
54
-
To silence a set of alerts by creating an alert specification in the *Administrator* perspective:
64
+
. Click *Create silence*.
55
65
56
-
. Navigate to the *Observe*->*Alerting*->*Silences* page in the {product-title} web console.
66
+
. On the *Create silence* page, set the schedule, duration, and label details for an alert.
67
+
+
68
+
[NOTE]
69
+
====
70
+
You must add a comment before saving a silence.
71
+
====
57
72
58
-
. Select *Create Silence*.
73
+
. To create silences for alerts that match the labels that you entered, click *Silence*.
59
74
60
-
. Set the schedule, duration, and label details for an alert in the *Create Silence* form. You must also add a comment for the silence.
75
+
To silence a set of alerts by creating a silence configuration in the *Developer* perspective:
61
76
62
-
. To create silences for alerts that match the label sectors that you entered in the previous step, select *Silence*.
77
+
. Go to *Observe*->*<project_name>*->*Silences* in the {product-title} web console.
78
+
79
+
. Click *Create silence*.
80
+
81
+
. On the *Create silence* page, set the duration and label details for an alert.
82
+
+
83
+
[NOTE]
84
+
====
85
+
You must add a comment before saving a silence.
86
+
====
87
+
88
+
. To create silences for alerts that match the labels that you entered, click *Silence*.
0 commit comments