ผู้เขียน หัวข้อ: Zenoss 1.1.2 on Centos 5.0 - Server and network monitoring  (อ่าน 8068 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

doramon

  • บุคคลทั่วไป
Zenoss 1.1.2 on Centos 5.0 - Server and network monitoring
« เมื่อ: ธันวาคม 27, 2010, 16:51:07 PM »
0
Zenoss 1.1.2 on Centos 5.0 - Server and network monitoring


This is a how to on installing Zenoss 1.2 on a new Centos 5.0 installation. Here is a updated guide for Zenoss 2.0. This guide assumes a new Centos 5 install with the default "server" software selection, no gui, and has SElinux disabled, if it is not disabled run setenforce 0 as root before starting. I installed the server server on my internal network, not the DMZ so SElinux being disabled is not a major concern.

For hardware I am using a Dell power edge 1800 with 2 gigs of ram, 135 gig hard drive, and two 2.x Xenon processors. I would suggest using dedicated hardware for monitoring because of system overhead.

Log-in as root and run the following commands.
yum -y install mysql mysql-server net-snmp net-snmp-utils

Check if MySQL is running.
service mysqld status

If it is not running start it.
service mysqld start

You must change the root MySQL password from blank.
mysqladmin -u root password YoUrNeWpAsWoRd

Now test the password.
mysql -u root -p

It will ask for the new password.
YoUrNeWpAsWoRd

If you get the below prompt everything is fine.
mysql>

Exit out of MySQL.
exit

Download Zenoss and the dependencies from here http://www.zenoss.com/download
zenoss-1.1.2-0.rhel5.i386.rpm
zenoss-deps-rhel5-1.1.2.i386.tar.bz2

Unpack the deps.
tar xjf zenoss-deps.tar.bz2

cd to the zenoss-deps directory and install them.
rpm -Uvh *.rpm

cd to the zenoss RPM and install.
rpm -Uvh zenoss-1.1.2-0.rhel5.i386.rpm

Start snmpd.
/etc/init.d/snmpd start

Start zenoss.
/etc/init.d/zenoss start

Zenoss will ask for the MySQL password you set in the prior step.

Zenoss will take a LOOOOOOONG time the the first time you start it.

If you have a firewall open port 8080 inbound accept.
iptables -I RH-Firewall-1-INPUT -p tcp --dport 8080 -j ACCEPT

Now open a browser (firefox) and go to.
http://example.com:8080



ออฟไลน์ Bordin

  • Hero Member
  • *****
  • กระทู้: 1,089
  • อย่าคิดว่าทำไม่ได้ ถ้ายังไม่ลองทำ
  • Respect: +1
    • ดูรายละเอียด
    • ADMIN PCB. sz
Re: Zenoss 1.1.2 on Centos 5.0 - Server and network monitoring
« ตอบกลับ #1 เมื่อ: ธันวาคม 27, 2010, 17:41:56 PM »
0
แจ่มครับแบบนี้  ;D ;D