This is a how to on installing Zenoss 1.2 on a new Centos 5.0 installation. Here is a updated guide for Zenoss 2.0. This guide assumes a new Centos 5 install with the default "server" software selection, no gui, and has SElinux disabled, if it is not disabled run setenforce 0 as root before starting. I installed the server server on my internal network, not the DMZ so SElinux being disabled is not a major concern.
For hardware I am using a Dell power edge 1800 with 2 gigs of ram, 135 gig hard drive, and two 2.x Xenon processors. I would suggest using dedicated hardware for monitoring because of system overhead.
Log-in as root and run the following commands.
yum -y install mysql mysql-server net-snmp net-snmp-utils
Check if MySQL is running.
service mysqld status
If it is not running start it.
service mysqld start
You must change the root MySQL password from blank.
mysqladmin -u root password YoUrNeWpAsWoRd
Now test the password.
mysql -u root -p
It will ask for the new password.
If you get the below prompt everything is fine.
Exit out of MySQL.
Download Zenoss and the dependencies from here http://www.zenoss.com/download
Unpack the deps.
tar xjf zenoss-deps.tar.bz2
cd to the zenoss-deps directory and install them.
rpm -Uvh *.rpm
cd to the zenoss RPM and install.
rpm -Uvh zenoss-1.1.2-0.rhel5.i386.rpm
Zenoss will ask for the MySQL password you set in the prior step.
Zenoss will take a LOOOOOOONG time the the first time you start it.
If you have a firewall open port 8080 inbound accept.
iptables -I RH-Firewall-1-INPUT -p tcp --dport 8080 -j ACCEPT
Now open a browser (firefox) and go to.
The default log-in is.
Agree with the licensing terms and your install is complete.
I will post another article about how to setup servers and devices that have MIB files available.