Vipr SRM: REST API request to the Web Service API returns "Error 404"

Résumé: Due to missing REST API resource definitions, all Rest API requests return "Error 404"

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes



The REST API resources exist but they are empty, as per the following commands executed on the Frontend host or the Primary Backend 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"
{}


 

Cause

REST API resources were created but empty of configuration information.

Résolution

1) Run the following 2 commands on the Frontend or Primary Backend hosts:

/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parameters": {"filter": "#EVENTS-GENERIC:ALL | #EVENTS-GENERICARCH:ALL"}}'

/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metrics","endpoint": "/metrics","parameters": {"filter": "#APG:ALL"}}'


2) Check with the "get" command that the resources were created:

/opt/APG/bin/manage-resources.sh get "rest/EVENTS"
/opt/APG/bin/manage-resources.sh get "rest/METRICS"



 

Produits concernés

SRM
Propriétés de l’article
Numéro d’article: 000050105
Type d’article: Solution
Dernière modification: 16 sept. 2025
Version:  4
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.