Ad Widget

Collapse

JBoss EAP 6 monitoring using remoting-jmx by zabbix 2.4.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mick
    Member
    • Jan 2014
    • 31

    #1

    JBoss EAP 6 monitoring using remoting-jmx by zabbix 2.4.4

    Hello, I try implement second URL to zabbix_java_gateway to monitor Jboss by using JMX. Some time ago I find this solution for zabbix 2.2.1



    This solution works for zabbix 2.2.1 but when I try do this on 2.2.4 this don't works.

    I set my log level for DEBUG, but in log files there is no error:

    Code:
    2015-03-09 14:21:07.218 [main] DEBUG c.z.gateway.ConfigurationManager - received pidFile configuration parameter, daemonizing
    2015-03-09 14:21:07.218 [main] DEBUG c.z.gateway.ConfigurationManager - finished parsing configuration parameters
    2015-03-09 14:21:07.220 [main] INFO  com.zabbix.gateway.JavaGateway - listening on 0.0.0.0/0.0.0.0:10052
    2015-03-09 14:21:07.223 [main] DEBUG com.zabbix.gateway.JavaGateway - created a thread pool of 5 pollers
    2015-03-09 14:24:13.998 [Thread-0] INFO  com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 2.4.4 (revision 52341) has stopped
    2015-03-09 14:25:28.456 [main] INFO  com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 2.4.4 (revision 52341) has started
    2015-03-09 14:25:28.466 [main] INFO  com.zabbix.gateway.JavaGateway - listening on 0.0.0.0/0.0.0.0:10052
    2015-03-09 14:33:01.834 [Thread-0] INFO  com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 2.4.4 (revision 52341) has stopped
    2015-03-09 14:33:07.373 [main] INFO  com.zabbix.gateway.JavaGateway - Zabbix Java Gateway 2.4.4 (revision 52341) has started
    2015-03-09 14:33:07.384 [main] INFO  com.zabbix.gateway.JavaGateway - listening on /192.168.175.252:10052
    Configuration of zabbix-java-gateway is default:

    Code:
    # This is a configuration file for Zabbix Java Gateway.
    # It is sourced by startup.sh and shutdown.sh scripts.
    
    ### Option: zabbix.listenIP
    #       IP address to listen on.
    #
    # Mandatory: no
    # Default:
    # LISTEN_IP="0.0.0.0"
    
    ### Option: zabbix.listenPort
    #       Port to listen on.
    #
    # Mandatory: no
    # Range: 1024-32767
    # Default:
    # LISTEN_PORT=10052
    
    ### Option: zabbix.pidFile
    #       Name of PID file.
    #       If omitted, Zabbix Java Gateway is started as a console application.
    #
    # Mandatory: no
    # Default:
    # PID_FILE=
    
    PID_FILE="/var/run/zabbix/zabbix_java.pid"
    
    ### Option: zabbix.startPollers
    #       Number of worker threads to start.
    #
    # Mandatory: no
    # Range: 1-1000
    # Default:
    # START_POLLERS=5
    In my Centos I have this java version:

    Code:
    [root@zabbixpoligon zabbix]# rpm -qa | grep java
    java-1.6.0-openjdk-1.6.0.34-1.13.6.1.el6_6.x86_64
    java-1.7.0-openjdk-1.7.0.75-2.5.4.0.el6_6.x86_64
    zabbix-java-gateway-2.2.8-1.el6.x86_64
    tzdata-java-2015a-1.el6.noarch
    java-1.6.0-openjdk-devel-1.6.0.34-1.13.6.1.el6_6.x86_64
    java-1.7.0-openjdk-devel-1.7.0.75-2.5.4.0.el6_6.x86_64
    I see so after clean install from repo java-gateway cannot recive any data.

    Please give me some advice what's wrong, or how I can fix it.

    Regards
    Mick
Working...