Vipr SRM: La richiesta dell'API REST all'API del servizio Web restituisce "Error 404"

Zhrnutie: A causa di definizioni di risorse dell'API REST mancanti, tutte le richieste dell'API REST restituiscono "Errore 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



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


Riešenie

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"



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.