apigee management server api is not showing router neither cassandra servers

Hi,

 

I have a requirement that is to perform service check, through apigee management server api, in router, message processors and cassandra by environment and organization.

 

We use private cloud version.

 

However, when I do call endpoints below, they only return all message processors and not routers neither Cassandra's instances.  I've already tried change the ports to 8081 (Router) but it's returning 502 bad gateway. I don't know if I need to ask infrastructure team to enable something in router and cassandra servers to make it show in api response.  

 

https://managementserverapiurl:8080/v1/o/myorg/e/myenv/servers

https://managementserverapiurl:8080/v1/servers/UUID

 

Thank you for you help.

0 4 151
4 REPLIES 4

See below document helps (modify the pod name to reflect proper components).

https://docs.apigee.com/private-cloud/v4.18.01/viewing-pod-details

 

Hi, @API-Evangelist ,

Thank you for your response.

 

But this endpoint http://<ms_IP>:8080/v1/servers?pod=podName shows all components regardless of environment, but yes, it worked, it showed all router, message processors and etc components..

 

However, this endpoint doesn't meet my requirement, but a question came to my mind, isn't it possible to list all servers by environment and type (routers, message-processor, cassandra) through

https://managementserverapiurl:8080/v1/o/myorg/e/myenv/servers?

 

As I said earlier, when I do call this endpoint, it only returns message-processors servers and I don't know if it should return routers and cassandra server as well. If someone could confirm me this information, I will ask for help to infra team.

If it is not possible, I will need to think in another solution.

only HTTP you looking for? 

what about /nodetool ring ?

 

Yes, only HTTP. Because we need to consume Apigee Management API.