Watchit: Install Watchit on SLES 11 SP2 x86 64

From Wiki
Revision as of 13:02, 3 June 2016 by Ebasso (talk | contribs) (Criou página com: 'Watchit is very good tool to monitor, debug e collect performance data o Sametime, Domino, Traveler, connections, LDAP, database e network. To install Watchit you need 2 req...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Watchit is very good tool to monitor, debug e collect performance data o Sametime, Domino, Traveler, connections, LDAP, database e network.

To install Watchit you need 2 requirements that is Java 7, Python 2, Python library Numpy and Python library MatPlotLib.

Suse Linux Enterprise Server 11 SP2 comes with Python 2.6, i will install a new version of Python in alterative directory.

Procedure

Install Java and Python and python libraries

1) Install Java, Compilers and libraries

zypper install ibm-java7
zypper install gcc make tcl-devel tk-devel git zlib-devel libbz2-devel readline-devel readline-devel libopenssl-devel 
zypper install krb5-devel libpng-devel freetype2-devel libjpeg-devel gtk-devel gtk2-devel  gcc-c++

2) Install Python 2.7

Download Python from http://www.python.org and copy to target machine

Compile Python-2.7

mkdir -p /opt/WatchitFiles

mkdir -p /opt/python-2.7

cd /opt/

tar -xzvf Python-2.7.11.tgz

cd Python-2.7.11

./configure --prefix=/opt/python-2.7 
make
make install

Checking the version installed

/opt/python-2.7/bin/python -V

2) Installing pip

If you have a proxy on you network run the following command

export HTTPS_PROXY=http://USUARIO:SENHA@<PROXY_SERVER>:<PROXY_PORT>

Installing pip

curl https://bootstrap.pypa.io/get-pip.py  > get-pip.py
/opt/python-2.7/bin/python get-pip.py 

3) Installing nose and numpy

/opt/python-2.7/bin/pip install nose
/opt/python-2.7/bin/pip install numpy
 

Checking the version installed

/opt/python-2.7/bin/python -c 'import numpy; numpy.test()'

4) Installing MatPlotLib

/opt/python-2.7/bin/pip install matplotlib
 

Checking the version installed

/opt/python-2.7/bin/python -c 'import matplotlib; print matplotlib.__version__'

Installing Watchit

Download Watchit from http://greenhouse.lotus.com and copy to target machine

cd /srv/www/htdocs

mkdir -p watchit/configs/sample

cd watchit/

mv /tmp/watchit10-4-28.zip .

unzip watchit10-4-28.zip

cd configs/sample

unzip ../Watchit_sample_properties_files.zip

cd ..

cp sample/Watchit/watchit.properties .

Follow the steps on http://greenhouse.lotus.com to configure watchit

Ver também