Monday, October 4, 2010

step by stepm Configuration Zenoss monitoring tools


What is Zenoss?

Zenoss is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system.

Download Zenoss

http://Zenoss.com/download/




Installing Zenoss:
1.1. Prerequisite Tasks
Note
Run all commands as root, from the machine where you want to install Zenoss.
Before you install:
1. Run the Yellowdog Updater, Modified (YUM), which you will use to install Zenoss. To run YUM, enter this
command:
# yum -y install mysql-server net-snmp net-snmp-utils gmp libgomp libgcj liberation-fonts
2. Download the Zenoss installation files.
3. If you have just installed MySQL, then use the following commands to adjust the permissions:
# /etc/init.d/mysqld restart
# /usr/bin/mysqladmin -u root password ''
# /usr/bin/mysqladmin -u root -h YOUR_SERVER_NAME password ''
Note
Initially, the MySQL password must be blank so that Zenoss can correctly create the database. After you
have installed and started Zenoss, you can change this password.
1.2. Install the Software
Follow these steps to install Zenoss for Red Hat Enterprise Linux 5 or CentOS 5.
1. Enter one of the following commands to install the Zenoss RPM.

# rpm -ivh rpmzenoss-2.5.2.el5.i386
If MySQL is running on a different server, or has a different root user password, edit the /opt/zenoss/
bin/zenoss_init_pre file and adjust the MYSQLHOST, MYSQLROOTUSER, and MYSQLROOTPASSWD
values.
3. Enter this command to start Zenoss.
# service zenoss start
4.Install the Core ZenPacks. Enter one of these commands.
# rpm -ivh rpmzenoss-core-zenpacks-2.5.2.el5.i386
Alternatively, you can choose to disable the firewall. Use the following commands:
# service iptables stop
# chkconfig iptables off

Monitoring Zenoss Through Web interface

Zenoss Web interface will run on the port number 8080.If you have any firewall in your network setup you need to enable this port.

Now point your browser to http://localhost:8080/ (make sure port 8080 isn't blocked by your firewall), log in with admin and test, and you should see the Zenoss
 web interface

 

No comments:

Post a Comment