Installs jmxterm
and executes jmx command.
Java
jmxterm_jmx_exec "<mbean>" do
operation "<string>"
arguments ["arg1", "arg2"] # single non-array argument also allowed
end
node['jmxterm']['url']
- URL to download jmxterm fromnode['jmxterm']['checksum']
- checksum of jmxterm jar to avoid re-downloadingnode['jmxterm']['dest']
- Target location for the jmxterm jar
Author:: Alex SHD (alex@fewbytes.com)