For <socket-binding-group name="full-ha-sockets" default-interface="public">, add:
<socket-binding name="remoting" port="4447"/>
Add an application user for the Application Realm:
JBoss_EAP_INSTALL_DIR/bin/add_user.sh
Note: Be sure to add to the Application Realm.
Start/Restart the jboss processes. Look for the following message in the server.log file:
2018-08-08 16:01:53,354 INFO [org.jboss.as.remoting] (MSC service thread 1-4) WFLYRMT0001: Listening on
xx.xx.xx.xx:4447
Assuming a domain configuration, be sure the
JBoss_EAP_INSTALL_DIR/domain/configuration/application.keystore has read access by the Datadog ID (perms of 644 or higher)
###Datadog Edits
Edit the /etc/datadog-agent/datadog.yaml file to enable process collection:
process_config:enabled:"true"
Edit /etc/datadog-agent/conf.d/jmx.d/conf.yaml file to activate the jmx integration:
init_config:custom_jar_paths:- JBoss_EAP_INSTALL_LOCATION/bin/client/jboss-cli-client.jarinstances:- jmx_url:"service:jmx:remote://{FQDN or IP}:4447"user:xxxxxxxx (userid created via jboss add_user.sh)password:yyyyyyyy (created via jboss add_user.sh)java_bin_path:/etc/alternatives/javaname:jboss_jmx_instancetrust_store_path:/apps/jboss/jboss-eap-7.1/domain/configuration/application.keystoretrust_store_password:password (use password found in domain.xml)conf:- include:domain:my_domainbean: