Skip to content

r4um/jmx-dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jmx-dump

Dumps JMX metrics as JSON on the command line.

Dependencies Status Build Status GitHub release (latest by date)

Installation

Download standalone binary or jar from latest release.

Available also via homebrew tap

brew tap r4um/homebrew
brew install jmx-dump

Older versions at Bintray.

Usage

Use the standalone binary or jar from the releases.

$ jmx-dump --help
Dump JMX Metrics

Usage: jmx-dump [options]

  -a, --attrs MBEAN                      List attributes of mbean MBEAN
  -c, --creds CREDS                      JMX Credentials, ROLE:PASS
  -d, --dump MBEAN                       Dump MBEAN mbean attributes and values in json
      --dump-all                         Dump all mbean attributes and values in json
  -h, --host HOST             localhost  JMX Host
  -i, --invoke MBEAN OP                  Invoke operation OP on mbean MBEAN
  -j, --jndi-path JNDI-PATH   jmxrmi     jndi-path to use
  -l, --local VMID                       Fetch from local VM
  -m, --mbeans                           List MBean names
  -o, --operations MBEAN                 List operations on mbean MBEAN
  -p, --port PORT             3000       JMX Port
  -u, --url URL                          JMX URL
  -v, --value MBEAN ATTR1...             Dump values of specific MBEAN attributes
  -s, --set-value MBEAN ATTR VALUE       Set value of specific MBEAN attribute
      --help

License

Copyright © Pranay Kanwar

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.