Vipr SRM: A solicitação da API REST para a API do serviço Web retorna "Erro 404"

Summary: Devido à ausência de definições de recursos da API REST, todas as solicitações da API REST retornam o "Erro 404"

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



Os recursos da API REST existem, mas estão vazios, de acordo com os seguintes comandos executados no host de front-end ou no host de back-end primário:

 /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) Execute os dois seguintes comandos nos hosts de front-end ou back-end primário:

/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parameters": {"filtro": "#EVENTS-GENÉRICO:TODOS | #EVENTS-GENERICARCH:ALL"}}'

/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "métricas","endpoint": "/metrics","parameters": {"filtro": "#APG:TODOS"}}'


2) Verifique com o comando "get" se os recursos foram criados:

/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 Sep 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.