Vipr SRM: Web Hizmeti API'sine yapılan REST API isteği "Hata 404" döndürüyor

Summary: Eksik Rest API kaynak tanımları nedeniyle, tüm Rest API istekleri "Hata 404" döndürür

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



Rest API kaynakları mevcuttur ancak Ön Uç ana bilgisayarında veya Birincil Arka Uç ana bilgisayarında yürütülen aşağıdaki komutlara göre boştur:

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


Resolution

1) Ön Uç veya Birincil Arka Uç ana bilgisayarlarında aşağıdaki 2 komutu çalıştırın:

/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": /events","parameters": {"filtre": "#EVENTS-GENEL: TÜMÜ | #EVENTS-GENERICARCH:ALL"}}'

/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": metrics","endpoint": /metrics","parameters": {"filtre": "#APG:TÜMÜ"}}'


2) "Get" komutuyla kaynakların oluşturulduğunu kontrol edin:

/opt/APG/bin/manage-resources.sh get "rest/EVENTS"
/opt/APG/bin/manage-resources.sh get "rest/METRICS"



Affected Products

SRM
Article Properties
Article Number: 000050105
Article Type: Solution
Last Modified: 16 Sept 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.