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

Zhrnutie: Due to missing REST API resource definitions, all Rest API requests return "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



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"
{}


 

Príčina

REST API resources were created but empty of configuration information.

Riešenie

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"



 

Dotknuté produkty

SRM
Vlastnosti č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.