PowerFlex管理プラットフォーム - 4.X PowerFlex Manager UIからアラートを手動でクリアする方法
Summary: PowerFlex Manager 4.x UIには、PowerFlexブロック クラスター(MDM)やハードウェア イベントなど、さまざまなソースからのアラートが表示されます。 各イベントは、最初に呼び出されたシステム/サービスによってのみクリアできます。そのサービスが実行されなくなり、アラートがクリアされない場合があります。このKBでは、スタックしたアラートをクリアする方法について説明します。 ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
PFMPノードのいずれかから次のコマンドを実行します。
注:パスワードに特殊文字が含まれている場合は、「INGRESS_PASSWORD」変数(例:!#@$%^&)。変数を構成するときは、パスワードを一重引用符で囲みます。
旧。
Password123!!
INGRESS_PASSWORD='Password123!!'
-
次の環境変数を設定します。
INGRESS_IP=<IP_ADDRESS or HOSTNAME for PFxM> INGRESS_USER=admin INGRESS_PASSWORD=<PASSWORD>
- 次の2つのコマンドを実行して、必要な認証トークンを取得します。
TOKEN=$(curl -s -k --location --request POST "https://${INGRESS_IP}/rest/auth/login" --header "Accept: application/json" --header "Content-Type: application/json" --data "{\"username\": \"${INGRESS_USER}\",\"password\": \"${INGRESS_PASSWORD}\"}") ACCESS_TOKEN=$(echo "${TOKEN}" | jq -r .access_token) - PFxM UIで、Monitoring --> Alertsに移動し、クリアする必要があるアラートの[Alert ID]を確認します
「000000000000002d」のようになります(単なる例) -
この最後のコマンドを実行して、収集したアラートIDをクリアします。
curl -i --insecure -X POST "https://${INGRESS_IP}/rest/v1/alerts/000000000000002d/clear" -H "accept: application/json" -H "Authorization: Bearer ${ACCESS_TOKEN}"コマンドが成功すると、次のメッセージが表示されます。
mno21:~ # curl -i --insecure -X POST "https://${INGRESS_IP}/rest/v1/alerts/000000000000002d/clear" -H "accept: application/json" -H "Authorization: Bearer ${ACCESS_TOKEN}" HTTP/2 204 date: Thu, 30 Mar 2023 14:53:21 GMT strict-transport-security: max-age=15724800; includeSubDomains - 手順3と4は、必要に応じて何度でも実行してください。アクセス トークンは5分間有効です。したがって、プロセスがそれよりも長くなる場合は、手順2〜4を再実行してください
Affected Products
PowerFlex rack, PowerFlex Appliance, PowerFlex custom node, PowerFlex SoftwareArticle Properties
Article Number: 000220827
Article Type: How To
Last Modified: 18 Dec 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.