jmx - Accessing TaublarData from javascript -


i trying invoke jmx javascript code using node-jmx module https://www.npmjs.com/package/jmx.

the code able return composite data , can accessed using getsync('nameofitem') function, confused on how access in case of tabular data. since tabular data array of compositedata have treat array.

would helpful know how can done.

regards ivan

solved issue client.getattribute("com.test.mgmt.mbeans:type=testgroupmbean", "testgroups",
function(data) { console.log(data.entrysetsync() + " "); var iterator = data.entrysetsync().iteratorsync(); while (iterator.hasnextsync()){ console.log("value: "+iterator.nextsync().getvaluesync().getsync('name')+ " "); }


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -