Vipr SRM: Запрос REST API к API веб-службы возвращает ошибку 404

Résumé: Из-за отсутствия определений ресурсов API REST все запросы API REST возвращают ошибку 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



Ресурсы REST API существуют, но они пусты, в соответствии со следующими командами, выполняемыми на интерфейсном или основном внутреннем хосте:

 /opt/APG/bin/manage-resources.sh list
[
"rest/EVENTS",
"rest/METRICS"
]

/opt/APG/bin/manage-resources.sh получаем "rest/EVENTS"
{}
/opt/APG/bin/manage-resources.sh получаем "rest/METRICS"
{}


Résolution

1. Выполните следующие 2 команды на внешнем или основном внутреннем хосте:

/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:ВСЕ"}}'


2) Проверьте с помощью команды "get", что ресурсы были созданы:

/opt/APG/bin/manage-resources.sh получаем "rest/EVENTS"
/opt/APG/bin/manage-resources.sh получаем "rest/METRICS"



Produits concernés

SRM
Proprié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.