Support Questions
Find answers, ask questions, and share your expertise

how to specify jmx port for a custom service

how to specify jmx port for a custom service

Explorer

Hi ,

I have a custom service and I want to enable ambari metrics for this. I was testing it using a simple property. But in the ambari-server log I see error

" Unable to get JMX metrics. No port value for Component-name. "

How can I specify the port on which my service is running JMX?

I checked the code of ambari but not able to figure out how it is loading the port numbers. There are some default ports for some services hardcoded but still cannot figure out how to do for my custom service.

Thanks for the help !

1 REPLY 1
Highlighted

Re: how to specify jmx port for a custom service

Super Guru