Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Enabling JMX for Nifi

avatar

Hello,

We are trying to enable jmx for Nifi and added below config to bootstrap conf of nifi

-Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=30008

I do see that Nifi process has started with these VM parameters, however, the JMX port is not being listened.

Am I missing anything ? This works for any other java process.

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
5 REPLIES 5

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar

@Santhosh B Gowda

I am trying to monitor NIFI using JMX. Do you know how to enable JMX for HDF Ambari based Nifi cluster?

Thanks

avatar
Master Guru

avatar

I have updated "Advanced nifi-bootstrap-env" config on Ambari as below and restarted NIFI service. But still I don't see any metrics coming up on http://nifi1:7071/metrics

Am I missing anything ?

93052-ambari-nifi-config.png