2014年1月25日 星期六

[研究] Zenoss Core 4.2.4 安裝 (CentOS 6.5 x64)

[研究] Zenoss Core 4.2.4 安裝 (CentOS 6.5 x64)

2014-01-25

Zenoss (Zenoss Core)是一套開放原始碼的應用軟體,是基於Zope (一個用python寫成的放原始碼網頁應用伺服器)的伺服器和網路管理平台。它是在GPL 2.0的授權證下釋出的。Zenoss Core提供了一個網頁介面,允許系統管理員監控像是可用性,詳細目錄或組態,性能還有事件。它組合了許多開放原始碼專案來達成基於網頁的使用者介面的目的。使用SNMP (Simple Network Management Protocol)、SSH等協定而不需要額外安裝agent。

基本上都是Python寫的,這個管理平台提供了服務器、網絡設備、OS和應用的事件管理、可用管理、和性能管理。Zenoss 能運行於Linux, FreeBSD 和 Mac OS X;它也可以作為一個Zenoss 虛擬應用運行在VMplayer 裡。

官方網站
http://www.zenoss.com/
社群網站
http://www.zenoss.org/

下載
http://community.zenoss.org/community/downloadhttp://downloads.sourceforge.net/project/zenoss/zenoss-4.2/zenoss-4.2.4/zenoss_core-4.2.4.el6.x86_64.rpm
http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.4/4.2.4-1897/zenoss_core-4.2.4-1897.el6.x86_64.rpm/download
http://sourceforge.net/projects/zenoss/files/
http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.4/4.2.4-1897/
4.2.4-1897 是 2013年10月15日釋出

安裝參考
http://community.zenoss.org/community/documentation
http://wiki.zenoss.org/Install_Zenoss


安裝 (請在 X-Windows 下進行)

yum -y install net-snmp net-snmp-utils mysql mysql-server httpd
service mysqld restart
chkconfig mysqld on

service  httpd restart
chkconfig httpd on

# Zeonoss 要求 MySQL 密碼不可為空,你可以設定自己想要的
mysqladmin -u root password  12345678

echo "view    systemview    included   .1"  >>  vim  /etc/snmp/snmpd.conf

service  snmpd  restart
chkconfig snmpd on


[root@localhost ~]# rpm -Uvh zenoss_core-4.2.4-1897.el6.x86_64.rpm
warning: zenoss_core-4.2.4-1897.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID aa5a1ad7: NOKEY
error: Failed dependencies:
        libgcj is needed by zenoss-4.2.4-1897.el6.x86_64
        libmysqlclient.so.18()(64bit) is needed by zenoss-4.2.4-1897.el6.x86_64
        librrd.so.4()(64bit) is needed by zenoss-4.2.4-1897.el6.x86_64
        memcached >= 1.4.4 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-dig >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-dns >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-http >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ircd >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ldap >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ntp >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-perl >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ping >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-rpc >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-tcp >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        rabbitmq-server >= 2.8.6 is needed by zenoss-4.2.4-1897.el6.x86_64
        redis is needed by zenoss-4.2.4-1897.el6.x86_64
        rrdtool >= 1.4.7 is needed by zenoss-4.2.4-1897.el6.x86_64

[root@localhost ~]# yum -y install libgcj libmysqlclient librrd memcached nagios-plugins rabbitmq-server redis rrdtool
...(略)
No package libmysqlclient available.
No package librrd available.
No package nagios-plugins available.
No package rabbitmq-server available.
No package redis available.
...(略)

[root@localhost ~]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@localhost ~]# yum -y install libgcj libmysqlclient librrd memcached nagios-plugins rabbitmq-server redis rrdtool
...(略)
No package libmysqlclient available.
No package librrd available.  => yum install rrdtool-perl
...(略)

[root@localhost ~]# rpm -Uvh zenoss_core-4.2.4-1897.el6.x86_64.rpm
warning: zenoss_core-4.2.4-1897.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID aa5a1ad7: NOKEY
error: Failed dependencies:
        libmysqlclient.so.18()(64bit) is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-dig >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-dns >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-http >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ircd >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ldap >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ntp >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-perl >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-ping >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-rpc >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        nagios-plugins-tcp >= 1.4.15 is needed by zenoss-4.2.4-1897.el6.x86_64
        rrdtool >= 1.4.7 is needed by zenoss-4.2.4-1897.el6.x86_64

檢查發現 Nagios PlugIns 為 1.4.16,可能 Zenoss 找不到

[root@localhost ~]# yum list | grep nagios
...(略)
nagios-plugins.x86_64                     1.4.16-10.el6                  @epel
...(略)

檢查發現 rrdtool 為 1.3.8 版,但 Zenoss 要求至少1 .4.7 版

[root@localhost ~]# yum list | grep rrdtool.x86_64
rrdtool.x86_64                            1.3.8-6.el6                    @base
...(略)


(待研究...)

相關

十大優秀開源網絡管理工具
http://forum.icst.org.tw/phpbb/viewtopic.php?t=16080

[研究] Zenoss Core 4.2.4 安裝 (CentOS 6.5 x64)
http://shaurong.blogspot.tw/2014/01/zenoss-core-424-centos-65-x64.html

[研究] Zenoss 3.1 安裝 (CentOS 6.0 x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=20293

[研究] Zenoss 2.5.2 (Zenoss Core) 網路管理工具 安裝 (CentOS 5.4 x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=18023

[研究] Zenoss 2.3.0 快速安裝程式(Fedora 9)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=16084


沒有留言:

張貼留言