Important: Deprecation Note
This repository is outdated. I will not merge any pull requests here. I continue developing this plugin on my netdata fork. For issues and requests for the java plugin you can use the netdata issue tracker. If you want to contribute with code please open a pull request to the fork.
As soon as the fork gets stable I can merge it directly to netdata.
Netdata Java Plugin Daemon
netdata-java-plugin-daeimon is a netdata plugin which can collect any data in java and send it to netdata.
Java Plugins
- JMX Collector
Installation
1. Prepare your system
Required for compilation
- netdata
- JDK 8.x
Required to run netdata
- netdata
- JRE 8.x
2. Install netdata-plugin-java-daemon
Do this to install and run netdata-plugin-java:
# download it - the directory 'netdata-plugin-java-daemon' will be created
git clone https://github.com/simonnagl/netdata-plugin-java-daemon.git --depth=1
cd netdata-plugin-java-daemon
# run script with root privileges to build and install the plugin and restart netdata.
netdata-plugin-java-daemon-installer.sh
Configuration
Configuration files contain JSON Objects. Additional to the JSON specification Java/C++ style comments (both '/'+'*' and '//' varieties) are allowed.
Each plugin get's it's own configuration file. The standard configuration should have enogh examples and comments to extend or adapt it. The table below references the classes which describe the JSON schemes of the configuration files.
| File | Schema | Purpose |
|---|---|---|
| /etc/netdata/java.d/jmx.conf | JmxPluginConfiguration | JMX plugin configuration |
License
netdata-plugin-java-daemon is GPLv3+.
It re-distributes other open-source tools and libraries. Please check the third party licenses.