Skip to content

Commit

Permalink
Merge pull request #10225 from rhmdnd/OCPBUGS-7307
Browse files Browse the repository at this point in the history
OCPBUGS-7307: Add instructions for alert-receiver-configured rule
  • Loading branch information
jhrozek authored Apr 24, 2023
2 parents 3e8ec3d + 9e67f19 commit 12cc5e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ references:
ocil_clause: 'Alert receiver is not configured'

ocil: |-
Run the following command to see if alert receiver has been configured to send alerts to a orgzinational defined external system:
<pre>$ oc -n openshift-monitoring get secret alertmanager-main --template='{{ index .data "alertmanager.yaml" }}' | base64 --decode</pre>
Run the following command to see if alert receiver has been configured to send alerts to a organizational defined external system:
<pre>$ oc -n openshift-monitoring get secret alertmanager-main -ojson | jq '.data."alertmanager.yaml"' -r | base64 --decode</pre>
Make sure that alert receiver has configured to send alerts to at least one real time external notification system.
severity: medium
Expand Down

0 comments on commit 12cc5e0

Please sign in to comment.