Ad Widget

Collapse

Java Gateway

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kazuki
    Junior Member
    • Oct 2012
    • 6

    #1

    Java Gateway

    Hi!
    I´m trying to monitoring a tomcat server with zabbix 2.0.5.
    I enabled the java gateway but dont know if it is works correctly.

    anyone know how try it?

    in the otherside, I launch the server with:
    Code:
    -Dcom.sun.management.jmxremote
    -Dcom.sun.management.jmxremote.port=10052
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
    anyone know how send a request to the server?, I wanna know if it´s works

    thanks
  • benbugohit
    Junior Member
    • Feb 2013
    • 18

    #2
    Originally posted by kazuki
    anyone know how try it?

    in the otherside, I launch the server with:
    Code:
    -Dcom.sun.management.jmxremote
    -Dcom.sun.management.jmxremote.port=10052
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
    anyone know how send a request to the server?
    To do some testing, i tried to connect to jmxremote host / port using "jconsole" tool.
    you can find it in jdk install "bin" directory, there you can browse the beans/objects

    Comment

    • kazuki
      Junior Member
      • Oct 2012
      • 6

      #3
      I had to add
      Code:
      -Djava.rmi.server.hostname=<host ip>
      to the java options to connect with jconsole

      Comment

      Working...