Vipr SRM: La solicitud de la API REST a la API de servicio web arroja "Error 404"

Summary: Debido a la falta de definiciones de recursos de la API REST, todas las solicitudes de la API REST arrojan el mensaje "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



Los recursos de la API REST existen, pero están vacíos, según los siguientes comandos ejecutados en el host de front-end o el host de 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) Ejecute los siguientes 2 comandos en los hosts de front-end o back-end primario:

/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parameters": {"filtro": "#EVENTS-GENÉRICO: TODOS | #EVENTS-GENERICARCH:ALL"}}'

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


2) Compruebe con el comando "get" que se crearon los recursos:

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



Affected Products

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