JMX attributes names for Runtime statistics

I am looking to monitor runtime statistics using JMX. Mostly interested in API proxy and Target latency. We are going to leverage a monitoring tool that can integrate with JMX interface. We are on Apigee private cloud 4.17.01.

Reference:

https://community.apigee.com/articles/2236/apigee-edge-on-premise-deployment-monitoring-api-p.html

Where can I find JMX Mbeans object name and attribute name for the runtime statistics exposed by Apigee? Also, which edge component should be monitored for this?

Documentation does not seem to mention this information.

http://docs.apigee.com/private-cloud/latest/how-monitor

Thanks!

0 10 604
10 REPLIES 10

Not applicable

The MBean exposed is called platform:

service:jmx:rmi:///jndi/rmi://<ip address>:<port>/platform

See official documentation for usage:

http://docs.apigee.com/private-cloud/latest/how-monitor#enablingjmx

@Maudrit Thanks for the reply.

Where can I find the attribute names for "platform" MBean? Zenoss monitoring tool requires explicit names.

I was able to setup JMX monitoring for Cassandra as its MBean and attributes are listed at the link you mentioned.

Use jconsole to get the names and understand what values are relevant to you.

Also, consider looking Dashboard Monitoring Console:

http://docs.apigee.com/private-cloud/latest/apigee-monitoring-dashboard-overview

Not applicable

@Amee , You can try to connect to the JMX ports from jconsole and check them easily.
BTW, for 'API proxy and Target latency', you may want to use Analytics rather than JMX(METRICS_PREVIOUS_inboundtraffic_AverageRequestLatency) as Analytics gives you more detailed information.
Refer: http://docs.apigee.com/analytics-services/content/latency-analysis-dashboard for more info.
You can get the data either from UI or retrieve them using APIs.

@Maruti Chand

Thanks for the response. We are already using Analytics UI to check the latency statistics. But we want to setup alerts when latency reaches a set threshold. It seemed cleaner to do that with our existing monitoring tool, so wanted to experiment with JMX before building a custom utility to call analytics UI and send alerts.

@Amee please see my comments on this previous post. JMX may not be the first or only things you use:

https://community.apigee.com/questions/41230/private-cloud-monitoring-options.html

@Maudrit We are already trying options 1-6 mentioned by you in that post. We are wary of 7- Apigee dashboard as it is still in Beta. It may be suitable only for non prod environments at the moment.

You could also query the management API for analytics data (http://docs.apigee.com/analytics-services/content/use-analytics-api-measure-api-program-performance) from your monitoring platform if you wish to do threshold alerting.

Thanks @Paul Mibus. Can you guide on the host name to be used for Private cloud Analytics API? The link mentions "api.enterprise.apigee.com" for public cloud. Will it be the host name of managment server for private cloud?


That's correct--use the management server hostname/address on port 8080.