You can install Monitoring as a standalone Java process on a non-Windows or Windows machine.
Procedure
- Open a command prompt.
- Create a directory on your machine for Monitoring.
- Create subdirectories lib/ and config/ in this directory.
- Access the SDL Tridion installation media.
- Access the monitoring\java\ subfolder.
- Access the lib\ subfolder and copy all the JAR files into the lib/ directory.
- Access the third-party-lib\ subfolder and copy all the JAR files into the lib/ directory.
- Navigate to \Content Delivery\resources\configurations\.
- Copy logback.xml from that folder to the config/ directory.
- Copy cd_monitor_conf_sample.xml to the config/ subdirectory you created, and rename it to cd_monitor_conf.xml.
- Optional: Configure logging.
- 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
- Run this shell script to run the Monitoring Agent.