Vipr SRM: WebサービスAPIへのREST API要求が「Error 404」を返す
Summary: Rest APIリソース定義がないため、すべてのRest APIリクエストが「Error 404」を返す
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.
Symptoms
Rest APIリソースは存在しますが、フロントエンド ホストまたはプライマリ バックエンド ホストで実行される次のコマンドに従って空です。
/opt/APG/bin/manage-resources.sh list
[
"rest/EVENTS",
"rest/METRICS"
]
/opt/APG/bin/manage-resources.sh get "rest/EVENTS"
{}
/opt/APG/bin/manage-resources.sh get "rest/METRICS"
{}
Resolution
1)フロントエンドまたはプライマリー バックエンド ホストで、次の2つのコマンドを実行します。
/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parameters": {"フィルター": "#EVENTS-GENERIC:ALL |#EVENTS-GENERICARCH: ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metrics","endpoint": "/metrics","parameters": {"フィルター": "#APG:ALL"}}'
2)「get」コマンドで、リソースが作成されたことを確認します。
/opt/APG/bin/manage-resources.sh get "rest/EVENTS"
/opt/APG/bin/manage-resources.sh get "rest/METRICS"
/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parameters": {"フィルター": "#EVENTS-GENERIC:ALL |#EVENTS-GENERICARCH: ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metrics","endpoint": "/metrics","parameters": {"フィルター": "#APG:ALL"}}'
2)「get」コマンドで、リソースが作成されたことを確認します。
/opt/APG/bin/manage-resources.sh get "rest/EVENTS"
/opt/APG/bin/manage-resources.sh get "rest/METRICS"
Affected Products
SRMArticle Properties
Article Number: 000050105
Article Type: Solution
Last Modified: 16 Sep 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.