Sunday, April 5, 2009

Installing Zenoss on CentOS 5

Zenoss is a Open Source Monitoring Tool which is gaining more converts around.

Download can be foundat http://www.zenoss.com/download/links
A good tutorial can be found from How-To-Linux Zenoss

Step 1: To get the RPM from sourceforge
# wget http://jaist.dl.sourceforge.net/sourceforge/zenoss/zenoss-2.3.3.el5.i386.rpm

Step 2: Install the packages below you have not done so
# yum install mysql, mysql-server, net-snmp, net-snmp-utils
  • Make sure the mysql root user password is blank and the database is running on the same machine. If not edit /opt/zenoss/bin/zenoss_init_pre file
Step 3: Install the Zenoss Package
# rpm -Uvh zenoss-2.3.3.el5.i386.rpm

Step 4: Enable the following ports in your firewall
8080 TCP - Web Interface
162 UDP - SNMP Trap
514 UDP - Syslog

Step 5: Make sure the mySQL Services start on reboot
# service mysqld start
# chkconfig --level 35 mysqld on


Step 6: Setup a minimum configuration file for net-snmp and start the service
# echo -community zenoss /etc/snmp/snmpd 
# snmpd start
# chkconfig --level 35 zenoss on


Step 7: Proceed to the Web Interface http://www.your_server_ip.com:8080/


Step 8: Go to Add Device
IP Address or hostname of the unit you wish to monitor
Class of Machine you are monitoring (/Server/Linux)
SNMP Community (zenoss for this example)

1 comment:

linuxprabhat said...

hi

when i start zenoss. it shows me some errors can u tell me plz


WARN: config file /opt/zenoss/etc/zenactions.conf not found skipping
Daemon: zentrap starting...
WARN: config file /opt/zenoss/etc/zentrap.conf not found skipping
Daemon: zenmodeler starting...
WARN: config file /opt/zenoss/etc/zenmodeler.conf not found skipping
Daemon: zenperfsnmp starting...
WARN: config file /opt/zenoss/etc/zenperfsnmp.conf not found skipping
Daemon: zencommand starting...
WARN: config file /opt/zenoss/etc/zencommand.conf not found skipping
Daemon: zenprocess starting...
WARN: config file /opt/zenoss/etc/zenprocess.conf not found skipping
Daemon: zenwin starting...
WARN: config file /opt/zenoss/etc/zenwin.conf not found skipping
Daemon: zeneventlog WARN: config file /opt/zenoss/etc/zenstatus.conf n