Vipr SRM: La richiesta dell'API REST all'API del servizio Web restituisce "Error 404"
Summary: A causa di definizioni di risorse dell'API REST mancanti, tutte le richieste dell'API REST restituiscono "Errore 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
Le risorse API REST esistono ma sono vuote, secondo i seguenti comandi eseguiti sull host front-end o sull host back-end primario:
/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) Eseguire i seguenti 2 comandi sugli host front-end o back-end primario:
/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parameters": {"filtro": "#EVENTS-GENERIC:ALL | #EVENTS-GENERICARCH:ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metriche","endpoint": "/metrics","parameters": {"filtro": "#APG:TUTTI"}}'
2) Verificare con il comando "get" che le risorse siano state create:
/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": {"filtro": "#EVENTS-GENERIC:ALL | #EVENTS-GENERICARCH:ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metriche","endpoint": "/metrics","parameters": {"filtro": "#APG:TUTTI"}}'
2) Verificare con il comando "get" che le risorse siano state create:
/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.