Skip to main content

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

alphaworks tab navigation

 

Platform requirements

Run-time environment:

Development environment:

Installation instructions

For both packages:

  1. Move the tar file to a directory of your choice (such as /opt or /usr/local).
  2. Untar/unzip the file, as follows:
    
    tar zxf smon4dir_x_x_x.tar.gz
    
    
  3. 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).

  4. 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:

  1. Install IBM Java SDK 1.4.2 and Ruby.
  2. Add ruby and javac into your $PATH (for example, in the ~/.bash_profile).
  3. 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.


Download description

Filename File size Description
smon4dir_1_0_0.zip    196KBZip file containing Script Monitor Extension for IBM Director

Trademarks


Related technologies