Coder Social home page Coder Social logo

miror09 / zabbix_wildfly_eap_jboss_monitoring Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hermanekt/zabbix_wildfly_eap_jboss_monitoring

0.0 1.0 0.0 60.02 MB

This is zabbix discovery template and howto for monitoring Wildfly 10+, EAP 6+, Jboss

zabbix_wildfly_eap_jboss_monitoring's Introduction

Zabbix_wildfly_eap_jboss_monitoring

  • Please give me feadback if you find bug or need some another check. Email is info"@"tomashermanek.cz, twitter is: hermanekt.

  • BUG with discovery: https://support.zabbix.com/browse/ZBXNEXT-4209 fixed in version 4.4!!!

  • Debian, Ubuntu, CentOS, RHEL packages

This is auto Discovery template for monitoring Wildfly, EAP, Jboss servers (Domain,Standalone) Tested with Wildfy 12,13,14,15,16

Static item:

JMX Wildfly Memory
JMX Wildfly Runtime
JMX Wildfly Threading
JMX Wildlfy Classes
JMX Wildlfy Server

Discover:

Datasource JDBC
Datasource POOL
Garbage Collector
Memory Pool
Server

Minimal requirements and installation:

NEW Template:(Zabbix_GET_44_wildfly_eap_jboss.xml)

  1. Zabbix 4.4+

  2. Copy jboss-client.jar from /(wildfly,EAP,Jboss,AS)/bin/client in to directory /usr/share/zabbix-java-gateway/lib

    Restart Zabbix Java gateway

    systemctl restart zabbix-java-gateway
    

    Check if jar file is loaded

    ps xauf | grep jboss-client.jar
    
  3. Setup JMX Access to Server Node. For example can use this howto:

DOMAIN

STANDALONE

  • JMX_Access_standalone
  • Port is 9990, test connect with jconsole
  • Maybe you need change this {$JMX.PROTOCOL} macro in template
  1. Import template from this repository (Zabbix_GET_44_wildfly_eap_jboss.xml)
  2. You need change macros in Template {$WILDFLY.PASS}, {$WILDFLY.USER} or you can overload in hosts.

OLD Template:

  1. Zabbix 3.4 to 4.2
  2. Install fixed Zabbix Java Gateway. From this repo.
  • Centos, RHEL
rpm -i https://github.com/hermanekt/Zabbix_wildfly_eap_jboss_monitoring/raw/master/zabbix-java-gateway-4.2.5-1.el7.x86_64.rpm
  • Debian, Ubuntu
curl -sLO https://github.com/hermanekt/Zabbix_wildfly_eap_jboss_monitoring/raw/master/zabbix-java-gateway_4.2.5-1+stretch_all.deb && dpkg -i zabbix-java-gateway_4.2.5-1+stretch_all.deb
  • In future zabbix maybe have own fix. I sent the info to the zabbix.
    • If you don't have Debian, Ubuntu, CentOS 7 or RHEL 7, you need make own package.
    • I change in this file is:
    /root/rpmbuild/SOURCES/zabbix-4.2.5/src/zabbix_java/src/com/zabbix/gateway/JMXItemChecker.java
    
    • We started change on the line 274:
    274	// This is changed for replace special characters
    275	//String key = property.getKey().toUpperCase();
    276	String key = property.getKey().toUpperCase().replace('-', '_โ€™);
    
  1. Copy jboss-client.jar from /(wildfly,EAP,Jboss,AS)/bin/client in to directory /usr/share/zabbix-java-gateway/lib

    Restart Zabbix Java gateway

    systemctl restart zabbix-java-gateway
    

    Check if jar file is loaded

    ps xauf | grep jboss-client.jar
    
  2. Setup JMX Access to Server Node. For example can use this howto:

DOMAIN

STANDALONE

  • JMX_Access_standalone
  • Port is 9990, test connect with jconsole
  • Maybe you need change this {$JMX.PROTOCOL} macro in template
  1. Import template from this repository (Zabbix_wildfly_eap_jboss.xml)
  2. Set Regular expression with name "Disable datasource discovery" for exclude some datasources from discovery For example:
Disable datasource discovery ^(ExampleDS)$  [Result is FALSE]
  1. You need change macros in Template {$WILDFLY.PASS}, {$WILDFLY.USER} or you can overload in hosts.

Authors

Acknowledgments

Please give me feadback if you find bug or need some another check. Email is info"@"tomashermanek.cz, twitter is: hermanekt.

paypal

zabbix_wildfly_eap_jboss_monitoring's People

Contributors

emrocha avatar hermanekt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.