|  |
Script Monitor Extension for IBM Director
An extension for IBM Director that makes it easy to customize Resource Monitor items with scripts.
Date Posted: December 4, 2007
|
|
 |
 |
|
Platform requirements
Run-time environment:
- Operating system: a Linux® version that supports IBM® Director 5.x
- Software: IBM Director agent (Level 2) 5.x
Development environment:
- Operating system: a Linux version that supports IBM Director 5.x
- Software:
- IBM Director agent (Level 2) 5.x
- IBM Java™ SDK 1.4.2
- Ruby 1.8.5 or above
Installation instructions
For both packages:
- Move the tar file to a directory of your choice (such as /opt or /usr/local).
- Untar/unzip the file, as follows:
tar zxf smon4dir_x_x_x.tar.gz
|
- Copy dirext.jar file to I${IBM_DIRECTOR_HOME}/classes, as follows:
cp ${SMON4DIR}/lib/dirext.jar ${IBM_DIRECTOR_HOME}/classes
|
${SMON4DIR} is (Your installed directory)/dirext.
${IBM_DIRECTOR_HOME} is the directory in which you installed IBM Director (the default is /opt/ibm/director).
- Edit the ${IBM_DIRECTOR_HOME}/bin/twgjava file, and add the above dirext.jar file into JAVA_CLASSPATH, as follows:
# Base classpath
JAVA_CLASSPATH=$TWG_ROOTDIR/classfix:$TWG_CLASSESDIR:$TWG_CLASSESDIR/DirLibs.jar \
:$TWG_CLASSESDIR/DirAgent.jar
# Added classpath for dirext.jar
JAVA_CLASSPATH="$JAVA_CLASSPATH:$TWG_CLASSESDIR/dirext.jar"
|
For development package only: The following additional steps are required:
- Install IBM Java SDK 1.4.2 and Ruby.
- Add ruby and javac into your $PATH (for example, in the ~/.bash_profile).
- Copy classes/DirLibs.jar, classes/DirAgent.jar into ${SMON4DIR}/lib/, as follows:
cp ${IBM_DIRECTOR_HOME}/classes/DirLibs.jar ${SMON4DIR}/lib/
cp ${IBM_DIRECTOR_HOME}/classes/DirAgent.jar ${SMON4DIR}/lib/
|
For further details, please see the included "readme" file.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
IBM is a trademark of IBM Corporation in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
|
|
 |
|
View screenshots:
 |
| |
|