Ad Widget

Collapse

zabbix jmx monitoring java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michaswr
    Junior Member
    • Sep 2012
    • 1

    #1

    zabbix jmx monitoring java

    hello,


    I'm using Zabbix 2.0.2 server with a set of java (zabbix_java) and everything works fine. Needs to zabbix monitor more than 1 tomcat installed on the server. In options, the host is a possibility of writing another JMX port, but the default can be only 1 Is there any way to set this up? In the context of a single server can monitor several different ports JMX?

  • mbsit
    Senior Member
    • Sep 2012
    • 130

    #2
    Yes,
    After you configure like on your picture
    You can choose Host interface when you will configure Items.

    Bests,
    Grzegorz

    --
    Wdrożenia Zabbix - Warszawa
    Pozdrawiam
    Grzegorz Grabowski
    ____
    WdroĊĵenia, szkolenia, umowy serwisowe
    Warszawa - Polska

    Comment

    • sneha.bhat
      Junior Member
      • Aug 2012
      • 8

      #3
      Hello All,

      We want to monitor a Weblogic Server via Zabbix 2.0. For this we want to utilize the new jmx monitoring feature that has been added into zabbix. To configure this we have carried out the following steps:

      1. Created a host for the server
      2. Added a JMX interface which communicates on port 10052
      3. On the Weblogic front we have added the parameter to enable remote jmx in the SetDomainEnv.sh file which is called during start up.

      JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote=true"
      JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote.port=10052"
      JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote.ssl=false"
      JAVA_OPTIONS="$JAVA_OPTIONS -Dcom.sun.management.jmxremote.authenticate=false"

      4. The Weblogic server is getting started after addition of these parameters and we are also able to telnet on port 10052

      But the JMX interface is not getting enabled on the ports. Its throws a "ZBX_TCP_READ() failed: [4] Interrupted system call" error. No value is coming for any parameter through zabbix_get. We have attached a JMX Generic template to the host as of now. But no items are collected any data.

      Would appreciate any kind of help of this and on keys of items to be monitored for the weblogic server.

      Comment

      Working...