Zenoss

来自开放百科 - 灰狐
2008年8月11日 (一) 16:16Allen (讨论 | 贡献)的版本

跳转到: 导航, 搜索
Zenoss-logo.gif

Zenoss: Open Source Enterprise Monitoring Powered by Python

License : GNU General Public License (GPL)

Programming Language : Python, Zope

目录

Architecture Highlights

Zenoss arch big.jpg
  • Integrated Package - complete monitoring solution in an integrated software package with consistent design and code base
  • Unified Data Model - detailed, object-based data representation of IT environment including relationships between components and layers
  • Class-based Configuration - manage configuration settings at the class (i.e. template), sub-class or instance-level with support for inheritance
  • Hierarchical Navigation - file system metaphor for navigation of IT model and configuration
  • Logical and Physical Groupings - group resources into arbitrarily complex groupings based on location, responsibility, business systems, etc., manage settings and views reports at group, sub-group or node level
  • Agnostic Collection - support for various collection protocols, works with existing agents or agentless
  • Scalable Collection - asynchronous, multi-threaded, distributable collection services
  • Tiered Customization - substantial functionality "out of the box", various levels of customization depending on needs and expertise including GUI configuration, skins, plug-ins, interfaces and core programming.
  • Extensive Automation - automation of routine tasks, especially maintenance of an up-to-date model of your IT environment
  • Modern Web App Architecture - leverage of Zope to provide a productive, secure and mature web application and object publishing framework
  • Python Programming Language - makes it easy to read, grok and extend; makes it fun to program!

Products

Install

Zenoss Console

使用 http://download.huihoo.com/zenoss/zenoss-stack-2.2.3-linux.bin 进行快速部署

./zenoss-stack-2.2.3-linux.bin
http://localhost:8080/ // 从没有过的方便 :)
admin/zenoss

Debian

Installing Zenoss on Debian

EL5

2.1

2.0

Enterprise linux 5 (CentOS, RedHat)

# yum -y install mysql mysql-server net-snmp net-snmp-utils
# rpm -ivh zenoss-2.0.0-0.el5.i386.rpm
# /etc/init.d/mysqld restart
# /etc/init.d/zenoss start
# service iptables stop
# chkconfig iptables off 

可能出现的问题:

Daemon: zopectl /opt/zenoss/bin/zenoss: line 98: /opt/zenoss/bin/zopectl: No such file or directory
Daemon: zeoctl /opt/zenoss/bin/zenoss: line 98: /opt/zenoss/bin/zeoctl: No such file or directory 

问题原因: zopectl and zeoctl are created as part of the Zenoss "initialization"process that runs the first time you start up Zenoss. If you build from source this should be done for you automatically as part of the install.sh process. If you installed via RPM you should make sure you run "/etc/init.d/zenoss start" as root. It'll say something to the effect of "Performing first-time initialization..."

http://community.zenoss.com/forums/viewtopic.php?p=6964

解决方法:

事先建立好数据库 events

create database events;
GRANT ALL PRIVILEGES ON events.* TO zenoss@localhost IDENTIFIED BY 'zenoss';

编译源代码:

yum install swig
useradd zenoss
vi /home/zenoss/.bashrc
export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH
mkdir /usr/local/zenoss
chown zenoss /usr/local/zenoss
su zenoss
cd /home/zenoss
svn co http://dev.zenoss.org/svn/trunk/inst zenossinst 
./install.sh

可能出现的错误: installing: multipartpost failed to install event tables into MySQL

chown root:zenoss $ZENHOME/bin/zensocket
chmod 04750 $ZENHOME/bin/zensocket

http://hostname:8080/zport/dmd
admin
$ZENHOME/bin/zenoss start

或下载类似 zenoss-2.1.70-0.tar.gz 的源码包进行编译、安装

Device

zendevicedump -o mydevicelist.xml
zendeviceload -i mydevicelist.xml

Envent

Event Life Cycle
zensendevent -c /App/Fail -p sky -s Critical Onos\! very bad message\!

这时在http://localhost:8080/zport/dmd/Events/viewEvents 能看到这个测试的Event

Nagios

Running ZenCommands

Zenoss has the ability to run Nagios plug-ins though the process ZenCommand.

Twisted

Zope

RRDtool

Net-SNMP

PostgreSQL

Links

Screenshots

Zenoss Dashboard
Zenoss Performance Monitoring
Zenoss Device List
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱