This content has been marked as final.
Show 1 reply
-
1. Re: wildfly 8.2.0 management api - stats
juice-qr Apr 9, 2018 9:40 PM (in response to juice-qr)Maybe this will help someone else,
Turns out that requesting a 'read-resource' will return a json list of all the resources, which lists the master and slave hosts section that I was looking for, along with the other resources,
curl --digest 'http://user:pass@master:9990/management' --header "Content-Type: application/json" -d '{"operation":"read-resource", "json.pretty":1}'
..."org.wildfly.extension.io" : null,
"org.wildfly.extension.undertow" : null
},
"host" : {
"master" : null,
"slave-jb1" : null,
"slave-jb2" : null
},
"interface" : {
"management" : null,
"public" : null,
"unsecure" : null
...