Info |
---|
IMPORTANT: Please be aware that EVENT and STATISTICS dataTypes are not available via the JMX gateway at this time. Please use the Web REST gateway, or the eventData.log for these dataTypes. |
Defining the AppDynamics Agent
To integrate Lamaxu with AppDynamics, simply include the AppDynamics -javaagent option to the LAMAXU startup.sh script.
...
./conf/controller-info.xml
<application-name>LAMAXU MQ</application-name>
<tier-name>Messaging</tier-name>
<node-name>Node 8536</node-name>
Adding the AppDynamics Agent to the Lamaxu Start-up
On Unix
Add the option in red below to the ${LAMAXU_HOME}/bin/startup.sh |startupfile.bat files.
nohup "$JAVA_HOME/bin/java" -javaagent:/app/AppServerAgent-4.0.6.0/ver4.0.6.0/javaagent.jar -DLOG_PATH=${LAMAXU_HOME}/logs -cp ${LAMAXU_CLASSPATH} com.qm.lamaxu.Main -config ${LAMAXU_HOME}/config/config.xml >nohup.out 2>&1 &
On Windows
On Windows, changes are required to the services configuration file wrapper.conf, see the sample.
Edit the file; C:\Program Files (x86)\QueueMetrix\LAMAXU\bin\yajsw\conf\wrapper.conf
On the second last line of the sample conf file you see the path to the AppD java agent. Please change the path to where your AppD agent is installed.
wrapper.java.additional.1 = -javaagent:C:\\Program Files (x86)\\AppServerAgent-4.0.6.0\\ver4.0.6.0\\javaagent.jar
The easiest way is replace the file in the C:\Program Files (x86)\QueueMetrix\LAMAXU\bin\yajsw\conf\ directory with the sample one attached after making the required changes. You’ll need to restart the service after the file has been changed.
Testing AppDynamics works with Lamaxu
Once the Lamaxu agent has been started, open AppDynamics and navigate to the LAMAXU MQ Application on the menu.
...