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.
Check and verify Java version:
Step 2. Disable SELinux.
Disable enforcing mode permanently by editing the
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.
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:
Make sure to set the following parameters in your /etc/my.cnf file after the MySQL installation.
Start MySQL daemon and to configure it to start automatically on reboot:
Configure Mysql for Zenoss Core installation, Do not add a space between the single quotes in the following commands:
Step 5. Install Zenoss using YUM.
Now Start the following Services:
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 to check the official Zenoss web site.