Vipr SRM: La richiesta dell'API REST all'API del servizio Web restituisce "Error 404"
Résumé: A causa di definizioni di risorse dell'API REST mancanti, tutte le richieste dell'API REST restituiscono "Errore 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
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"
{}
Résolution
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"
/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"
Produits concernés
SRMProprié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.