Zenoss 1.1.2 on Centos 5.0 - Server and network monitoring
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.
YoUrNeWpAsWoRd
If you get the below prompt everything is fine.
mysql>
Exit out of MySQL.
exit
Download Zenoss and the dependencies from here
http://www.zenoss.com/downloadzenoss-1.1.2-0.rhel5.i386.rpm
zenoss-deps-rhel5-1.1.2.i386.tar.bz2
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
Start snmpd.
/etc/init.d/snmpd start
Start zenoss.
/etc/init.d/zenoss start
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.
http://example.com:8080