Ad Widget

Collapse

Jabbix -- the Zabbix java library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wolneykien
    Junior Member
    • Mar 2010
    • 3

    #1

    Jabbix -- the Zabbix java library

    Jabbix library is a set of Java classes which can be used to add the
    functionality of the Zabbix monitoring system agent to your programs.

    The main library features:

    - interface for new metric agents and proxies;
    - support for active and passive checks;
    - adjustable active check scheduling;
    - asynchronous request processing and metric querying using thread
    pool.

    A stand-alone JabbixAgent program can be used as an entry-point
    for complex subsystem monitoring, for instance, as a representation
    of a computer cluster. With the use of specialized metric agents
    which can be configured and bind dynamically using the command-line
    parameters the information can be gathered in various ways including
    JSON, SOAP, RMI and other network services.

    LICENSE INFORMATION

    Copyright (C) 2010 Paul Wolneykien.

    Jabbix library is free software: you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public License
    as published by the Free Software Foundation, either version 3 of
    the License, or (at your option) any later version.

    Jabbix library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with Jabbix library.
    If not, see <http://www.gnu.org/licenses/>

    PROJECT HOST

    Project is hosted at the Git.Alt:


    CONTACT INFORMATION

    SMTP: Paul Wolneykien <[email protected]>
    URL: ALT Linux, Ltd <http://www.altlinux.ru/>,
    <http://www.altlinux.org/>.
  • baris
    Junior Member
    • May 2010
    • 2

    #2
    any examples?

    Is there a way that you can share a use case or an example code on how to use the API?

    I looked at some other implementations written in PHP and Python, they are only 1 file and simple. I am wondering why did you need so many classes?

    Comment

    • dalle
      Senior Member
      Zabbix Certified Specialist
      • Mar 2009
      • 402

      #3
      Originally posted by baris
      Is there a way that you can share a use case or an example code on how to use the API?

      I looked at some other implementations written in PHP and Python, they are only 1 file and simple. I am wondering why did you need so many classes?
      i've looked about time ago (when published) and you can find example here:
      main\java\org\altlinux\jabbix\apps\JabbixAgent.jav a
      to download the sources you need GIT
      and clone the repository on your local drive.
      Anyway for me this library was too complex, and so i've used on Orabbix some class that are really more easy that are more or less in the same way of zapcat
      You can download my sources or zapcat sources.
      BUT so you don't have active check...
      Andrea Dalle Vacche
      website:http://www.smartmarmot.com/
      e-mail:
      Author of:Mastering Zabbix Book - second edition
      Zabbix Network Monitoring Essentials

      Comment

      • baris
        Junior Member
        • May 2010
        • 2

        #4
        Thanks for the reply. I ended up writing my lightweight version but I realized what I really needed is Zapcat

        Comment

        • UmUm
          Junior Member
          • Feb 2013
          • 5

          #5
          So I have question does it connect really to a real zabbix agent installed on a host , and if I can use it to communicate with my server not the zabbix server? also if it collect even hardware metrics or just it cllect metrics that can acess by JVM ?


          Thanks

          Comment

          Working...