Ad Widget

Collapse

JMX monitoring of multiple hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmltn84
    Junior Member
    • Jan 2012
    • 11

    #1

    JMX monitoring of multiple hosts

    Hello,

    I have browsed through Java Gateway related pages in Zabbix manual:

    http://www.zabbix.com/documentation/.../concepts/java
    http://www.zabbix.com/documentation/...ig/zabbix_java
    http://www.zabbix.com/documentation/...jmx_monitoring

    and have used some help on forum to successfully configure JMX monitoring for a single host (http://www.zabbix.com/forum/showthread.php?t=21758).
    Now I need to configure multiple hosts for JMX monitoring, but none of the above pages describes setup for multiple hosts.

    Assuming the same logic is applied to configuring one host I came out with two potential approaches:

    1. Zabbix Java Gateway should be installed on each of the monitored machines. In this case zabbix_server.conf should contain multiple IP addresses for JavaGateway parameter. The problem here is that http://www.zabbix.com/documentation/.../zabbix_server does not specify if multiple parameters are allowed. Is it the same logic as for ListenIP parameter or it is not supported yet?

    2. Zabbix Java Gateway should be installed only on one host and gateway instance on this host collects data across IPs defined in setting.sh. In this way zabbix_server.conf stays untouched. I haven't found any evidence as well that multiple values for ListenIP parameter in settings.sh are possible.

    Please share some ideas in which direction to go, is it possible to use Zabbix Java Gateway functionality for multiple monitoring or should I seek some other solution, like using zabbix-agent and jmx console utility?

    I would prefer to switch to other solutions only if using Zabbix Java Gateway is absolutely not possible for this situation.
  • zychonatic
    Member
    • Jun 2010
    • 52

    #2
    hi,

    i have also done some testing with java gateway. but i have only installed it on my zabbix_server host. if i now configure multiple hosts to monitor "JMX" values, zabbix_server & java gateway handles everything. you only have to specify the java gateway in zabbix_server.conf.

    that means that you only have to install one java-gateway, configure this in zabbix_server.conf and make sure that all hosts, you want to monitor, are reachable from this gateway.

    hope this will help you.

    br, matthias

    Comment

    • frankymryao
      Member
      • Oct 2011
      • 52

      #3
      we use telnet and type command to get value

      Comment

      Working...