How To Install Zenoss on CentOS 6

Install Zenoss on CentOS 6

In this tutorial, we will show you how to install Zenoss on CentOS 6. For those of you who didn’t know, Zenoss is a free and open-source monitoring solution similar to Nagios. Zenoss Core provides a web interface that allows system administrators to monitor availability, inventory/configuration, performance, and other events. The main advantage of Zenoss is that you don’t need to install any software on the client-side for monitoring.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step-by-step installation Zenoss on centos 6.

Install Zenoss on CentOS 6

Step 1. First, Install Java and make sure JAVA_HOME is set appropriately.

Download the latest Oracle-Sun Java RPM from Java Downloads and transfer it to your server.

wget -O jre-6u31-linux-x64-rpm.bin \
chmod +x ./jre-6u31-linux-x64-rpm.bin
export JAVA_HOME=/usr/java/default

Check and verify Java version:

java -version

Step 2. Disable SELinux.

Disable enforcing mode permanently by editing the /etc/selinux/config.


Step 3. Install the Zenoss Dependencies Repository.

This RPM installs Zenoss Dependency Repository. It will help us resolve all of the dependencies required to install and run Zenoss.

rpm -Uvh

Step 4. Install Latest MySQL Server.

We can install MySQL Community Server and Zenoss Core on the same host or we can install them on separate hosts. In my case, I am using the Same Host. Do Not set the MySQL root password.


Install the packages with the command:

yum -y --nogpgcheck localinstall MySQL*

Make sure to set the following parameters in your /etc/my.cnf file after the MySQL installation.

#nano /etc/my.cnf


Start MySQL daemon and configure it to start automatically on reboot:

/etc/init.d/mysql start
chkconfig mysql on

Configure Mysql for Zenoss Core installation, Do not add a space between the single quotes in the following commands:

mysqladmin -u root password ''
mysqladmin -u root -h localhost password ''

Step 5. Install Zenoss using YUM.

yum localinstall zenoss_core-4.2.5-2108.el6.x86_64.rpm

Now Start the following Services:

/etc/init.d/memcached start ; chkconfig memcached on
/etc/init.d/rabbitmq-server start ; chkconfig rabbitmq-server on 
/etc/init.d/snmpd start ; chkconfig snmpd on
/etc/init.d/zenoss start ; chkconfig zenoss on

Important: When you install Zenoss core rpm as shown in the above step, you might get lot of missing dependencies messages. You have to install all of those missing packages one by one.

Step 5. Access Zenoss via a web browser.


Congratulations! You have successfully installed Zenoss. Thanks for using this tutorial for installing Zenoss on centos 6 systems. For additional help or useful information, we recommend you check the official Zenoss website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!