要检查是否正确收集数据,请访问以下 URL:
检查JBoss是独立安装模式还是域模式安装:
http://<JBoss Host>:<Port>/management?operation=attribute&name=launch-type
如果启动类型为独立安装模式,则URL为:
URL = http://<JBoss Host>:<Port>/management
如果启动类型为域模式 ,则URL为:
URL = http://<JBoss Host>:<Port>/management/host/hostControllerName/server/serverName
JBoss内存使用URL:
URL + "/core-service/platform-mbean/type/memory?read-resource&include-runtime=true"
JBoss线程使用URL:
URL + "/core-service/platform-mbean/type/threading?read-resource&include-runtime=true"
JBoss类加载URL:
URL + "/core-service/platform-mbean/type/class-loading?read-resource&include-runtime=true"
JBoss网址:
URL + "/subsystem/web/connector?read-resource&include-runtime=true&recursive"
(或者)
使用以下URL获取连接器名称:
URL + "/subsystem/web?read-resource&include-runtime=true"
使用以下URL获取每个连接器的数据:
URL + "/subsystem/web/connector/"+ConnectorName+"?read-resource&include-runtime=true"
JBoss事务网址:
URL + "/subsystem/transactions?read-resource&include-runtime=true&recursive"
JBoss JDBC网址:
URL + "/subsystem/datasources?read-resource&include-runtime=true&recursive"
JBoss JMS网址:
URL + "/subsystem/messaging?read-resource&include-runtime=true&recursive"
注意:如果“启用统计”字段的值设置为false,请将其更改为true,从而在Applications Manager中获取数据。