Ad Widget

Collapse

zabbix monitor weblogic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qd_056
    Junior Member
    • Jan 2016
    • 4

    #1

    zabbix monitor weblogic

    hello together

    when I tried to monitor my weblogic performance via zabbix, I encountered below issues:

    1: failed to link the template - Template JMX Generic, below error shows:
    Cannot find host interface on "servername" for item key "jmx["java.lang:type=ClassLoading",LoadedClassCount]".

    is this due to the JMX enable failure issue on weblogic side?
    I added below JAVA_OPTIONS to $DOMAIN_HOME/bin/setDomainEnv.sh file and restart weblogic already.

    JAVA_OPTIONS=”${JAVA_OPTIONS} -Djava.rmi.server.hostname=myserver hostname of weblogic installed
    JAVA_OPTIONS=”${JAVA_OPTIONS} -Djavax.management.builder.initial=weblogic.managem ent.jmx.mbeanserver.WLSMBeanServerBuilder”
    JAVA_OPTIONS=”${JAVA_OPTIONS} -Dcom.sun.management.jmxremote=true”
    JAVA_OPTIONS=”${JAVA_OPTIONS} -Dcom.sun.management.jmxremote.port=12345
    JAVA_OPTIONS=”${JAVA_OPTIONS} -Dcom.sun.management.jmxremote.ssl=false”
    JAVA_OPTIONS=”${JAVA_OPTIONS} -Dcom.sun.management.jmxremote.authenticate=false”
    export JAVA_OPTIONS

    one more question is, the java-gateway should be installed on my weblogic server side, not on zabbix server, right?

    Thanks in advance for your help.
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    you must add an IP for ypu JMX interface!
    Debian-User

    Sorry for my bad english

    Comment

    • qd_056
      Junior Member
      • Jan 2016
      • 4

      #3
      Originally posted by Colttt
      you must add an IP for ypu JMX interface!
      Thanks for your reply and how $ where to add the IP?

      Thanks

      Comment

      • qd_056
        Junior Member
        • Jan 2016
        • 4

        #4
        update - JMX was enabled

        update:

        with the help from Oracle guys, the JMX on weblogic server is enabled already.

        But on ZABBIX side, still failed to link Template JMX Generic.

        And there also below error log while I created item for weblogic server with Type options = "JMX Agent"

        error:
        Host interface No interface found

        Comment

        • qd_056
          Junior Member
          • Jan 2016
          • 4

          #5
          Latest Update

          Latest Update:

          Template was linked successfully and I am able to create item with type = JMX agent

          but the JMX icon is RED and shows "cannot connect to servername:10052 [111] connection refused"

          the java-gateway was installed on weblogic server and listening port 10052
          tcp 0 0 *:10052 *:* LISTEN

          looks like I almost get there, hopefully someone can help.

          Thanks in advance

          Comment

          • Bruno Carvalho
            Member
            • Oct 2014
            • 32

            #6
            See my article: http://brunocarvalho.net/blog/2016/0...me-com-zabbix/

            Comment

            Working...