Ad Widget

Collapse

Zabbix JMX Monitoring - Remote Host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pradeepspa
    Junior Member
    • Aug 2016
    • 27

    #1

    Zabbix JMX Monitoring - Remote Host

    Hello Folks,
    Before I start, this is my first try on zabbix for JMX monitoring and please don't mind if I sound illogical.I have a remote host configured for Java gateway to query JMX parameters. I would like to know how i can use zabbix which can query the gateway for necessary parameters (headmemoryusage for example). As per the doc, I have install zabbix_java_gateway but it looks like that package is for zabbix server to acts as gateway itself. is there a way i can use zabbix to query remote java gateway/jmx interface?

    I am running 4.2 version.

    Note: Unrelated but thought of mentioning it here (incase anyone uses nagios). I could achieve this in nagios using "check_jmx" plugin and looking for similar functionality in zabbix.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    I don't know what headmemoryusage is. If you want to get usage information about heap memory, you can get it by using the template "Template App Generic Java JMX".
    When installed using a package, Zabbix Java Gateway is configured to run on a Zabbix server, but it can also be started on another server.
    For the connection information to the host to be actually monitored, it is necessary to add the JMX interface as the host interface setting. Based on the information registered in the JMX interface, the Zabbix server connects to the monitored JVM via Zabbix Java Gateway.

    Manual:

    Comment

    • pradeepspa
      Junior Member
      • Aug 2016
      • 27

      #3
      Thanks for the response. I tried configuring java_gateway but its not accepting remote host (LISTEN_IP) and port (LISTEN_PORT). Ignoring the zabbix_java_gateway , I have added a host with jmx interface and item but its not getting any data.

      Attached Files

      Comment

      • AvaTTaR
        Member
        • Dec 2018
        • 96

        #4
        I used remote java-gateway without problem, make sure you don`t have any firewall between zabbix-server host and java-gateway, check the connection by telnet

        Comment

        Working...