Ad Widget

Collapse

Zabbix tools for Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gerco
    Junior Member
    • Nov 2006
    • 22

    #1

    Zabbix tools for Java

    While documenting the Zabbix protocol, I wrote a small library that will allow you to embed a Zabbix agent in any Java application. It might be somewhat superfluous next to Zapcat, but since it exists, I might as well publish it:

    You can download ZabbixTools here:


    If you need an example of how to embed the client, look at the "nl/gdries/zabbix/test/Main.java" file for some copy and paste code.

    Any suggestions are welcome, please reply to this topic or e-mail me at gdr at progaia-rs.nl.
    Last edited by Gerco; 10-01-2008, 21:52.
  • Kees Jan Koster
    Member
    • Oct 2007
    • 83

    #2
    Dear Gerco,

    The more the merrier. :-)

    The main difference between your Zabbix tools project and Zapcat is that you have the active agent working. I am still working on that for Zapcat. People running JVM's on machines behind a NAT will be pleased with your library.

    Kees Jan

    Comment

    • Gerco
      Junior Member
      • Nov 2006
      • 22

      #3
      There is another difference, ZabbixTools is aimed at Java 1.4 or higher and I believe that ZapCat requires Java 1.5. The application I wrote ZabbixTools for doesn't run on Java 1.5 and is incompatible with the more interesting aspects of JMX.

      Comment

      • yaniv
        Junior Member
        • Jan 2008
        • 1

        #4
        java profiling

        Hi we have integrated Zabbix, Zapcat and jflop for java profiling and load testing of our servers.
        We use jboss so you just have to take the zapcat war copy it to your application deploy directory in jboss do the same with the jflop.sar import the jflop template to zabbix (found at the jflop site) and your good to go
        Take a look at http://jflop.sourceforge.net/

        Comment

        • Kees Jan Koster
          Member
          • Oct 2007
          • 83

          #5
          Cool! Excellent work. I really have to try this out.

          Perhaps you could mention that when people deploy jflop, that they can also use the Zapcat templates for Java and Hibernate to monitor the more basic aspects of their JBoss server.

          Kees Jan

          Comment

          • tijn
            Junior Member
            • Jan 2008
            • 7

            #6
            they all look nice, but which is the *best* (they are all good ) to monitor a couple of tomcat5 servers?

            Thanks in advance!

            tijn

            Comment

            • Kees Jan Koster
              Member
              • Oct 2007
              • 83

              #7
              Dear Tijn,

              I'm biased of course. But I will try to answer what I think.

              zapcat:
              + templates and host definition generators
              + no code needed for plain Tomcat monitoring
              - no active agent

              zabbix tools:
              + active agent
              - code changes needed

              jflop:
              + functional monitoring
              - code changes needed

              Comment

              Working...