JMX for Rust
A JMX client library for Rust.
This library allows querying Java JMX attributes from a rust project.
Building
The jmx-rust
crate is based off of the j4rs
crate.
As of version 0.5.1 j4rs
is able to locate the JDK automatically.
Tests
Tests work but starting a test JMX server located under tests/jmxserver
.
This server is then used by the tests to check the library.
For this to work the test server must be compiled and the correct java
command
must be available in the $PATH
:
Usage
Creating a client:
extern crate jmx;
static JMX_PORT: i32 = 1234;