Documentation Center

Installing the Monitoring Agent as a standalone Java process

You can install Monitoring as a standalone Java process on a non-Windows or Windows machine.

Procedure

  1. Open a command prompt.
  2. Create a directory on your machine for Monitoring.
  3. Create subdirectories lib/ and config/ in this directory.
  4. Access the SDL Tridion installation media.
  5. Access the monitoring\java\ subfolder.
  6. Access the lib\ subfolder and copy all the JAR files into the lib/ directory.
  7. Access the third-party-lib\ subfolder and copy all the JAR files into the lib/ directory.
  8. Navigate to \Content Delivery\resources\configurations\.
  9. Copy logback.xml from that folder to the config/ directory.
  10. Copy cd_monitor_conf_sample.xml to the config/ subdirectory you created, and rename it to cd_monitor_conf.xml.
  11. Optional: Configure logging.
  12. In the directory you created, create a shell script file that places the config/ subdirectory, as well as all the JAR files, in the classpath and then runs the Java Monitoring Agent class:
    Linux/UNIX operating systems:
    #!/bin/sh
    TRIDION_CLASSPATH=./config
    for i in ./lib/*.jar ; do
    	TRIDION_CLASSPATH=${TRIDION_CLASSPATH}:$i
    done
    java -cp $TRIDION_CLASSPATH com.tridion.monitor.Agent
    Windows operating system:
    java -cp "./config;./lib/*" com.tridion.monitor.Agent
  13. Run this shell script to run the Monitoring Agent.