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.
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 dapper universe
deb-src dapper universe

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 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
cd (home directory)

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

Downloading the install:
cd /home/zenoss

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:
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!