Installing Zenoss 3.0.2

What is Zenoss:

Network management – it’s not just routers, switches, and firewalls in today’s datacenters. More than ever before, managing a network means managing devices and applications on the network. Across the world, network administrators are consolidating physical servers to VMware, monitoring Active Directory performance, troubleshooting VoIP phone systems, and more. In a highly virtualized world with rapidly changing dynamic workloads and resource allocations, a continuous understanding of how a service or an application maps to and performs within the current state of the infrastructure configuration is imperative. It requires a very tight coupling and feedback loop between configuration, performance and events across the entire supporting infrastructure.
Dependencies:
apt-get install gcc
apt-get install mysql-server
apt-get install swig
apt-get install autoconf

Add Universe for apt-get:
vim /etc/apt/sources.list
deb http://ca.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ dapper universe

Updated:
apt-get update
apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server (LAMP)
apt-get install build-essential (make,cc, etc)
apt-get install libmysqlclient15-dev
apt-get install python-dev

Add you ip address:
vim /etc/hosts
192.168.3.10 zenoss.mydomain zenoss

restart network:
/etc/init.d/network restart

Create user:
useradd zenoss

Zenoss installation directory and ownership
mkdir /usr/local/zenoss
chown zenoss /usr/local/zenoss

Set Environment Variables (.profile):
Login as zenoss
su
cd (home directory)

add this:
vim .bashrc
export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH
export INSTANCE_HOME=$ZENHOME

Downloading the install:
cd /home/zenoss
wget http://downloads.sourceforge.net/zenoss/zenoss-stack-3.0.2-linux.bin

installing the install:
sudo ./zenoss-stack-3.0.2-linux.bin

If install messed up:
make clean

If it was successful load up your browser:
go to: http://192.168.3.10:8080/zport/dmd
username: admin
password: same password you set in the install

Then add the ip’s/servers you want to watch over!

Run zenoss at boot up:
cp $ZENHOME/bin/zenoss /etc/init.d
nano /etc/init.d/zenoss (add:)
export ZENHOME=/usr/local/zenoss
update-rc.d zenoss defaults 95

Good luck on monitoring your hosts/ips!
-Pastelinux

Advertisements