Vipr SRM: Web Hizmeti API'sine yapılan REST API isteği "Hata 404" döndürüyor
Zhrnutie: Eksik Rest API kaynak tanımları nedeniyle, tüm Rest API istekleri "Hata 404" döndürür
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
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"
{}
Riešenie
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"
/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"
Dotknuté produkty
SRMVlastnosti č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.