Ad Widget

Collapse

JMX monitor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HEMA1
    Member
    • Jun 2008
    • 33

    #1

    JMX monitor

    Hi!
    Does any one know best practice monitor jmx with zabbix?

  • untergeek
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 512

    #2
    Zapcat is one way, though you have to integrate it into your java to get it to do all you want.

    We had one of our Admins write a java app that does the querying for us and put a dump of all of our very specific JMX and JMS data into parsable format. We pull the data using wget and parse out the lines we want and return the values.

    This is not necessarily an ideal solution for everyone, but it works for us.

    Comment

    • alj
      Senior Member
      • Aug 2006
      • 188

      #3
      Originally posted by HEMA1
      Hi!
      Does any one know best practice monitor jmx with zabbix?

      I do it this way:
      1. Enable mx4j in java so all jmx metrics are available via HTTP.
      2. Write script which will run from cron, query all JMX stuff via http, parse data and deliver then to zabbix via zabbix_sender (the item values should be of zabbix-trapper type).

      Make sure you have enough zabbix trappers configured.

      Comment

      • jthakrar
        Member
        • Oct 2009
        • 43

        #4
        Besides zapcat, you can use Mikoomi's implementation of Zabbix virtual appliance for Java JVM.

        Mikoomi has a a Zabbix appliance that comes bundled with JVM monitoring.
        It uses an agent that does not require an Zabbix agent on the JVM host and nor does it require you to use up the standard Zabbix agent port on the JVM host.

        In addition, you can monitor multiple JVMs on the same host.
        However each JVM has to be configured as a "unique" host.

        See the install instructions on the agent.


        --
        Jayesh Thakrar
        Mikoomi - Enterprise Monitoring Made Virtual

        Comment

        Working...