vigilant分布式监控系统
vigilant(原名 Watchy)是一个分布式的系统,用于监控应用程序和服务器。该系统非常简单和易于管理。Watchy 提供一个分布式的架构和每个服务器之间守护进程的通讯,通过 UDP 获取不同服务器上的数据并在同一个面板上显示。
工作原理
Watchy 使用应用/事件驱动模型,如下图所示:
而且整个系统是脚本化的,可通过 Python 或者 C/C++ 来进行操作。但首先要启动服务器:
$ /usr/local/bin/watchy.py --help Usage: watchy.py [options]Options: -h, --help show this help message and exit -v, --version Print version -c CONFIG, --config=CONFIG Config file location -F, --fork Fork as daemon
然后通过下列命令运行服务器
$ /usr/local/bin/watchy.py -c /etc/watchy/example-watchy.cfg WATCHY INFO - Starting StatsAggregator on 0.0.0.0:7878 WATCHY INFO - Starting Async Backend handler WATCHY INFO - WSGIServer:[gevent] starting http://0.0.0.0:8787/ ...
现在可以启动监控成员
>>> import pywatchy # hostname and port of watchy server >>> daemon = pywatchy.WatchyDaemon ('localhost', 7878) # Creates or attaches to existing daemon on the server >>> daemon.watchHost ('hostname') # tell the daemon to watch the host server for statistics and post under specified key ('hostname')
启动和停止进程:
>>> daemon.watchPid ('watchyserver', 14293) # watch the python web app >>> daemon.postMessage ('test', 'Hello World') >>> daemon.stopWatchPid (14293) # stop watching in
这些操作都是实时而动态的.
评论
Ganglia分布式监控系统
Ganglia是一个跨平台可扩展的,高性能计算系统下的分布式监控系统,如集群和网格。它是基于分层设计,它使用广泛的技术,如XML数据代表,便携数据传输,RRDtool用于数据存储和可视化。它利用精心设
Ganglia分布式监控系统
0
OWL开源分布式监控系统
OWL是TalkingData公司推出的一款开源分布式监控系统Go语言开发,部署维护简单分布式,支持多机房多维的数据模型,类opentsdb支持多种报警算法,报警支持多条件组合、克隆灵活的插件机制,支
OWL开源分布式监控系统
0
Python OWL分布式企业级监控系统
OWL是一款新型的、分布式的企业级监控解决方案。既能监控IT基础资源,同时能够支持其他数据的监控,其融合了运维人员喜闻乐见的语言和技术(如Python,shell等),又能够把开发人员也拉进来,方便灵
Python OWL分布式企业级监控系统
0
Minos分布式的发布和监控系统
Minos是小米公司开发的一个分布式的发布和监控系统。最初是小米开发的用来在Hadoop和ZooKeeper集群上发布和管理的工具。Minos可轻松扩展来支持其他的系统,目前已经支持包括HDFS、YA
Minos分布式的发布和监控系统
0