Vipr SRM: 웹 서비스 API에 대한 REST API 요청이 "오류 404"를 반환합니다.
Résumé: Rest API 리소스 정의가 누락되어 모든 Rest API 요청이 "Error 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 get "rest/EVENTS"
{}
/opt/APG/bin/manage-resources.sh get "rest/METRICS"
{}
Résolution
1) 프런트엔드 또는 운영 백엔드 호스트에서 다음 2개의 명령을 실행합니다.
/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","매개변수": {"필터": "#EVENTS-GENERIC:ALL | #EVENTS-GENERICARCH:ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metrics","endpoint": "/metrics","parameters": {"필터": "#APG:ALL"}}'
2) "get" 명령을 사용하여 리소스가 생성되었는지 확인합니다.
/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","매개변수": {"필터": "#EVENTS-GENERIC:ALL | #EVENTS-GENERICARCH:ALL"}}'
/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "metrics","endpoint": "/metrics","parameters": {"필터": "#APG:ALL"}}'
2) "get" 명령을 사용하여 리소스가 생성되었는지 확인합니다.
/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.