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 - Extract Text from HTTP referer -

Receive udp packets in android gstreamer -

authentication - ASP.NET Core 1.0. Bearer Token, cannot access custom claims -