Zenoss

来自开放百科 - 灰狐
2012年10月27日 (六) 22:47176.9.101.151 (讨论)的版本

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

Zenoss: Open Source Enterprise Monitoring Powered by Python

License : GNU General Public License (GPL) Programming Language : Python, Zope

蜻蜓

Just the type of insight we need to fire up the dbeate.

目录

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

The modeling system uses SNMP, SSH, and WMI to collect information from remote machines.

Agent R1 met some compadres

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/ // 从没有过的方便 :)
http://localhost:8080/zport/dmd/Devices/manage // 
admin/zenoss

VMWare

http://sourceforge.net/projects/zenoss/ 获得 vmware文件, 如 zenoss-2.5.2-x86.vmware.zip

设置连接: NAT

启动系统, 会提示出类似以下地址的访问方式:

http://192.168.11.128:8080/ 
重置 admin 密码和创建新用户
https://192.168.11.128:8003 // appliance agent

Debian

Installing Zenoss on Debian Wait, I cannot ftaohm it being so straightforward.

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

ZenPack

As of Zenoss 2.2 the ZenPack framework has switched to using Python Eggs as the packaging mechanism for ZenPacks.

A ZenPack is a package that adds new functionality to Zenoss.

structure of a ZenPack

/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/hello.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/__init__.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/about.txt
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/HelloWorld.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/GNUmakefile
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/lib/__init__.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/lib/HelloModule/__init__.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/lib/HelloModule/HelloModule.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/services/__init__.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/services/HelloWorldConfig.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/datasources/__init__.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/datasources/HelloWorldDataSource.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/skins/HelloWorldZenPack/HelloWorld.pt
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/skins/HelloWorldZenPack/viewHelloWorld.pt
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/skins/HelloWorldZenPack/editHelloWorldDataSource.pt
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/skins/HelloWorldZenPack/editHelloWorld.pt
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/reports/plugins/hello.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/reports/Hello/World.rpt
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/modeler/plugins/hello.py
/usr/local/zenoss/zenoss/Products/HelloWorldZenPack/daemons/hello

http://www.zenoss.com/community/projects/zenpacks/helloworldexample

通过 Management > Settings > Install ZenPack 安装这个 Pack

http://www.zenoss.com/community/projects/zenpacks

Nagios

Running ZenCommands

Zenoss has the ability to run Nagios plug-ins though the process ZenCommand. It's posts like this that make surfing so much plauerse

Zope

RRDtool

Zenoss includes RRDtool as part of a powerful management suite so that you can relate event data from all your monitoring events through a single web interface.

Net-SNMP

PostgreSQL

Links

图集

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱