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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -