Ad Widget

Collapse

JMX Interface and Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LuferBRA
    Junior Member
    • Jun 2015
    • 2

    #1

    JMX Interface and Zabbix

    Hello everybody,
    I'm having a hard time trying to configure a JMX interface to monitor a tomcat server.
    On my application server I have configured JAVA_OPTS enabling jmxremote.
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote"
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote.port=8010"
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote.ssl=false"
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote.authenticate=false"

    I have no firewall behind, and If i try a connection using jconsole, I'm able to connect and view the metrics.

    Now I'm trying to configure a host on zabbix server web management. I added a JMX interface using the Java Application Server IP + plus the port used above.
    I configured a couple of items, using the templates, such jmx["java.lang:type=Memory",HeapMemoryUsage.commit ted] but no data is flowing in...

    I followed every single step of the manual but can't figure it out. The JMX icon Availability is neither green nor red...

    Any help is very appreciated!
    Thanks
    Lufer
  • LuferBRA
    Junior Member
    • Jun 2015
    • 2

    #2
    Solved

    Originally posted by LuferBRA
    Hello everybody,
    I'm having a hard time trying to configure a JMX interface to monitor a tomcat server.
    On my application server I have configured JAVA_OPTS enabling jmxremote.
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote"
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote.port=8010"
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote.ssl=false"
    CATALINA_OPTS+=" -Dcom.sun.management.jmxremote.authenticate=false"

    I have no firewall behind, and If i try a connection using jconsole, I'm able to connect and view the metrics.

    Now I'm trying to configure a host on zabbix server web management. I added a JMX interface using the Java Application Server IP + plus the port used above.
    I configured a couple of items, using the templates, such jmx["java.lang:type=Memory",HeapMemoryUsage.commit ted] but no data is flowing in...

    I followed every single step of the manual but can't figure it out. The JMX icon Availability is neither green nor red...

    Any help is very appreciated!
    Thanks
    Lufer
    Problem solved. thanks!

    Comment

    Working...