Vipr SRM: REST API-aanvraag aan de webservice-API retourneert 'Fout 404'
Summary: Vanwege ontbrekende REST API-brondefinities retourneren alle REST API-aanvragen "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
De rest-API-resources bestaan, maar ze zijn leeg volgens de volgende opdrachten die worden uitgevoerd op de front-endhost of de primaire back-end-host:
/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) Voer de volgende 2 opdrachten uit op de front-end of primaire back-end hosts:
/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parameters": {"filter": "#EVENTS-GENERIEK:ALLE | #EVENTS-GENERICARCH:ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metrics","endpoint": "/metrics","parameters": {"filter": "#APG:ALLE"}}'
2) Controleer met de opdracht "get" of de resources zijn gemaakt:
/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": {"filter": "#EVENTS-GENERIEK:ALLE | #EVENTS-GENERICARCH:ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metrics","endpoint": "/metrics","parameters": {"filter": "#APG:ALLE"}}'
2) Controleer met de opdracht "get" of de resources zijn gemaakt:
/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 Sept 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.