Vipr SRM: La solicitud de la API REST a la API de servicio web arroja "Error 404"
Zhrnutie: Debido a la falta de definiciones de recursos de la API REST, todas las solicitudes de la API REST arrojan el mensaje "Error 404"
Tento článok sa vzťahuje na
Tento článok sa nevzťahuje na
Tento článok nie je viazaný na žiadny konkrétny produkt.
V tomto článku nie sú uvedené všetky verzie produktov.
Symptómy
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"
{}
Riešenie
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"
/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"
Dotknuté produkty
SRMVlastnosti článku
Číslo článku: 000050105
Typ článku: Solution
Dátum poslednej úpravy: 16 sep 2025
Verzia: 4
Nájdite odpovede na svoje otázky od ostatných používateľov spoločnosti Dell
Služby podpory
Skontrolujte, či sa na vaše zariadenie vzťahujú služby podpory.