Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.5
    • Fix Version/s: None
    • Component/s: jmx
    • Labels:
      None

      Description

      JMX uses two ports, the JMX remote port and the RMI server port. The default JMX agent allows you to configure the JMX remote port, via the com.sun.management.jmxremote.port system property, but the RMI server port is randomized at runtime. It's possible to create custom agent that can set the RMI port to a configurable value:

      http://olegz.wordpress.com/2009/03/23/jmx-connectivity-through-the-firewall/

      Making the RMI port configurable is critical to being able to monitor ZK with JMX through a firewall.

        Activity

        Hide
        Patrick Hunt added a comment -

        JMXMP is not an option?
        http://meteatamel.wordpress.com/2012/02/13/jmx-rmi-vs-jmxmp/

        There might also be another way using a deterministic JMXServiceURL, but I haven't tried it. e.g.:
        http://blog.markfeeney.com/2010/10/jmx-through-ssh-tunnel.html

        Show
        Patrick Hunt added a comment - JMXMP is not an option? http://meteatamel.wordpress.com/2012/02/13/jmx-rmi-vs-jmxmp/ There might also be another way using a deterministic JMXServiceURL, but I haven't tried it. e.g.: http://blog.markfeeney.com/2010/10/jmx-through-ssh-tunnel.html

          People

          • Assignee:
            Unassigned
            Reporter:
            Joey Echeverria
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:

              Development