Vipr SRM:對 Web 服務 API 的 REST API 要求傳回「錯誤 404」

Summary: 由於缺少 Rest API 資源定義,所有 Rest API 要求傳回「錯誤 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“,”parameters“:{“過濾器”:“#APG:全部”}}'


2) 使用「get」命令檢查資源是否已建立:

/opt/APG/bin/manage-resources.sh 取得「rest/EVENTS」
/opt/APG/bin/manage-resources.sh 取得「rest/metrics」



Affected Products

SRM
Article 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.