This guide will walk you through the steps to install and configure Zenoss Core on your CentOS/RHEL 6.X system.
The zenoss community edition (core) installation guide is a step-by-step guide for installing and configuring the Zenoss Core on CentOS/RHEL 6.X operating systems.
Zenoss is a real-time monitoring program that is open-source and licensed under the GNU General Public License (GPL) version 2. System administrators may monitor availability, inventory/configuration, performance, and other events via a web interface.
Most Common Characteristics:
- Monitoring and management of applications, networks, and systems
- Automatic Remediation and Alerting
- Monitoring and Event Management of System Logs
- Inventory discovery and change tracking are both automated.
- Data is gathered via SNMP, SSH, WMI, JMX, and Syslog.
- There are almost 200 community extensions available (ZenPacks)
- Monitoring and management of virtual and cloud infrastructure
- Reporting
- Email and SNMP alerting
- Tools for Configuration Management Integration
- Monitoring VMware ESXi
CentOS/RHEL 6.x Installation and Configuration
Install Oracle JAVA first.
We must install Oracle Java since Zenoss Core is incompatible with OpenJDK Java. From the Java SE 6 Downloads page, get the self-installing RPM for Oracle Java SE Runtime Environment 6u31. The “jre-6u31-linux-x64-rpm.bin” file will be downloaded.
Assign the authority to execute:
# jre-6u31-linux-x64-rpm.bin chmod +x
Now run the binary using the following command:
# install jre-6u31-linux-x64-rpm.bin
Now specify the JAVA path by editing the /etc/profile file and adding the following line at the end:
# export /etc/profile vi JAVA HOME=/usr/java/default/bin
To set the java path on the fly, execute the command below:
Check and double-check the Java version:
Step 2: Turn off SELinux
In enforcing mode, Zenoss Core is incompatible with Security-Enhanced Linux (SELinux). Disable enforcing mode on the Zenoss Core host by following these instructions.
With the following command, you may temporarily disable enforcing mode (without having to reboot):
By changing the /etc/selinux/config file, you may permanently disable enforcing mode:
/etc/selinux/config vi SELINUX=disabled
Install the Zenoss Dependencies Repository in Step 3.
Install the zenoss dependencies you’ll need from the repository:
# rpm -Uvh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el6.noarch.rpm http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el6.noarch.rpm
Step 4: Install MySQL Community Server and Configure It
We have the option of installing MySQL Community Server and Zenoss Core on the same server or on different hosts. I’m using the Same Host in my instance. The mysql root password should not be changed.
# download MySQL from ftp:/ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL -5.5/MySQL-client-5.5.33-1.el6.x86 64.rpm # wget ftp:/ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL-5.5/MySQL-server-5.5.33-1.el6.x86 64.rpm wget ftp:/ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL-5.5/My # wget ftp:/ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL-5.5/MySQL-shared-5.5.33-1.el6.x86 64.rpm wget ftp:/ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL-5.5/
Now run the following command to install the previously downloaded package:
MySQL* yum -y —nogpgcheck localinstall
Create a file called /etc/my.cnf and add the following lines to it:
# vi /etc/my.cnf [mysqld] # vi /etc/my.cnf innodb buffer pool size=256M innodb additional mem pool size=20M max allowed packet=16M innodb buffer pool size=256M innodb additional mem pool size=20M innodb additional mem pool size=
It’s now time to start the mysql service using the following command:
# start mysql in /etc/init.d; chkconfig mysql on
Set up MySQL in the Zenoss Core installation. In the following commands, do not include a space between the single quotes:
# mysqladmin -u root “”””””””””””‘ # mysqladmin -u root -h localhost “””””””””””””””
Step 5: Get the Zenoss Core installation file and run it.
Method 1: Download the zenoss core installation file from this link: http://community.zenoss.org/community/download
Method 2: Go to the repository and download the package:
# use the wget command http://citylan.dl.sourceforge.net/project/zenoss/zenoss-4.2/zenoss-4.2.4/zenoss core-4.2.4.el6.x86 64.rpm
Now run the following command to install Zenoss:
# yum -y —nogpgcheck zenoss core-4.2.4.el6.x86 64.rpm localinstall
Now you may begin using 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
Step 6: Now go to the Zenoss online interface.
Open a web browser, enter the address below into it, then follow the instructions.
http://[Zenoss-Server-ip]:8080
Set the admin password by clicking on Set Up Users.
Finally, the Zenoss Dashboard will appear as seen below, from which we can add our servers and other monitored devices.
Zenoss Core Installation & Configuration on CentOS/RHEL 6.X is a guide to installing and configuring the free open source monitoring software, Zenoss Core. Reference: zenoss community edition download.
Related Tags
- zenoss core download
- download zenoss core virtual appliance
- zenoss core 4.2 5 download
- zenoss community edition installation
- zenoss download for windows