1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/monitoring-editing-silences.adoc

46 lines
2.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * observability/monitoring/managing-alerts.adoc
:_mod-docs-content-type: PROCEDURE
[id="editing-silences_{context}"]
= Editing silences
You can edit a silence, which expires the existing silence and creates a new one with the changed configuration.
.Prerequisites
ifndef::openshift-dedicated,openshift-rosa[]
* If you are a cluster administrator, you have access to the cluster as a user with the `cluster-admin` role.
endif::openshift-dedicated,openshift-rosa[]
ifdef::openshift-dedicated,openshift-rosa[]
* If you are a cluster administrator, you have access to the cluster as a user with the `dedicated-admin` role.
endif::openshift-dedicated,openshift-rosa[]
* If you are a non-administrator user, you have access to the cluster as a user with the following user roles:
** The `cluster-monitoring-view` cluster role, which allows you to access Alertmanager.
** The `monitoring-alertmanager-edit` role, which permits you to create and silence alerts in the *Administrator* perspective in the web console.
** The `monitoring-rules-edit` cluster role, which permits you to create and silence alerts in the *Developer* perspective in the web console.
.Procedure
To edit a silence in the *Administrator* perspective:
. Go to *Observe* -> *Alerting* -> *Silences*.
. For the silence you want to modify, click {kebab} and select *Edit silence*.
+
Alternatively, you can click *Actions* and select *Edit silence* on the *Silence details* page for a silence.
. On the *Edit silence* page, make changes and click *Silence*. Doing so expires the existing silence and creates one with the updated configuration.
To edit a silence in the *Developer* perspective:
. Go to *Observe* -> *<project_name>* -> *Silences*.
. For the silence you want to modify, click {kebab} and select *Edit silence*.
+
Alternatively, you can click *Actions* and select *Edit silence* on the *Silence details* page for a silence.
. On the *Edit silence* page, make changes and click *Silence*. Doing so expires the existing silence and creates one with the updated configuration.