Ad Widget

Collapse

How can UP a JMX port in wildfly config file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bab
    Senior Member
    • Aug 2020
    • 176

    #1

    How can UP a JMX port in wildfly config file

    I want to monitor my wildfly via jmx in zabbix . Currently I am monitor tomcat via JMX by adding follow in catalina.sh file and it works excellent.

    CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9006 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"

    Now. What code should add to standalone.conf file to monitor wildfly by JMX in zabbix ?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2

    The JMX subsystem registers a service with the Remoting endpoint so that remote access to JMX can be obtained over the exposed Remoting connector.

    This is switched on by default in standalone mode and accessible over port 9990

    But the rest of it you need to find out by yourself. Until now, I had no idea, that this thing exists..

    Comment

    • bab
      Senior Member
      • Aug 2020
      • 176

      #3
      Originally posted by cyber
      https://docs.wildfly.org/26.1/Admin_Guide.html#JMX
      The JMX subsystem registers a service with the Remoting endpoint so that remote access to JMX can be obtained over the exposed Remoting connector.

      This is switched on by default in standalone mode and accessible over port 9990

      But the rest of it you need to find out by yourself. Until now, I had no idea, that this thing exists..

      Thanks . But that is confuse me . Do you know which
      part I should add to standalone.xml for monitor wildfly resources such as cpu and memory utilization?

      Comment

      Working...