zabbix feature & architecture & Data flow

主流的监控软件, nagios, zabbix, ganglia.

因为有项目用到zabbix, 研究一下.

3 Zabbix features

Overview

Zabbix is a highly integrated network monitoring solution, offering a multiplicity of features in a single package.

Data gathering

  • availability and performance checks
  • support for SNMP (both trapping and polling), IPMI, JMX, VMware monitoring
  • custom checks
  • gathering desired data at custom intervals
  • performed by server/proxy and by agents

Flexible threshold definitions

  • you can define very flexible problem thresholds, called triggers, referencing values from the backend database

Highly configurable alerting

  • sending notifications can be customized for the escalation schedule, recipient, media type
  • notifications can be made meaningful and helpful using macro variables
  • automatic actions include remote commands

Real-time graphing

  • monitored items are immediately graphed using the built-in graphing functionality

Web monitoring capabilities

  • Zabbix can follow a path of simulated mouse clicks on a web site and check for functionality and response time

Extensive visualisation options 扩展视图选项

  • ability to create custom graphs that can combine multiple items into a single view
  • network maps
  • custom screens and slide shows for a dashboard-style overview
  • reports
  • high-level (business) view of monitored resources

Historical data storage

  • data stored in a database
  • configurable history
  • built-in housekeeping procedure

Easy configuration

  • add monitored devices as hosts
  • hosts are picked up for monitoring, once in the database
  • apply templates to monitored devices

Use of templates

  • grouping checks in templates
  • templates can inherit other templates

Network discovery

  • automatic discovery of network devices
  • agent auto registration
  • discovery of file systems, network interfaces and SNMP OIDs

Fast web interface

  • a web-based frontend in PHP
  • accessible from anywhere
  • you can click your way through
  • audit log

Zabbix API

  • Zabbix API provides programmable interface to Zabbix for mass manipulations, 3rd party software integration and other purposes.

Permissions system

  • secure user authentication
  • certain users can be limited to certain views

Full featured and easily extensible agent

  • deployed on monitoring targets
  • can be deployed on both Linux and Windows

Binary daemons

  • written in C, for performance and small memory footprint
  • easily portable

Ready for complex environments

  • remote monitoring made easy by using a Zabbix proxy

2012/10/02 13:38

4 Zabbix overview

Architecture

Zabbix consists of several major software components, the responsibilities of which are outlined below.

Server

Zabbix server is the central component to which agents report availability and integrity information and statistics. The server is the central repository in which all configuration, statistical and operational data are stored.

Database storage

All configuration information as well as the data gathered by Zabbix is stored in a database.

Web interface

For an easy access to Zabbix from anywhere and from any platform, the web-based interface is provided. The interface is part of Zabbix server, and usually (but not necessarily) runs on the same physical machine as the one running the server.

Zabbix web interface must run on the same physical machine if SQLite is used.

Proxy

Zabbix proxy can collect performance and availability data on behalf of Zabbix server. A proxy is an optional part of Zabbix deployment; however, it may be very beneficial to distribute the load of a single Zabbix server.

Agent

Zabbix agents are deployed on monitoring targets to actively monitor local resources and applications and report the gathered data to Zabbix server.

Data flow

In addition it is important to take a step back and have a look at the overall data flow within Zabbix. In order to create an item that gathers data you must first create a host. Moving to the other end of the Zabbix spectrum you must first have an item to create a trigger. You must have a trigger to create an action. Thus if you want to receive an alert that your CPU load it too high on Server X you must first create a host entry for Server X followed by an item for monitoring its CPU, then a trigger which activates if the CPU is too high, followed by an action which sends you an email. While that may seem like a lot of steps, with the use of templating it really isn't. However, due to this design it is possible to create a very flexible setup.

架构

主要主件包含 : 

1. zabbix server, 核心组件. 集中配置, 统计, 告警, 存储AGETN传来的数据.

2. 数据库, 用于存储zabbix的数据.

3. WEB接口, 管理界面, 注意如果使用SQLite作为数据库的话, WEB接口必须和数据库在同一台服务器, 可能因为SQLite没有网络连接接口 .

4. 代理, 可选组件, 用于接受来自agent的数据, 主要用于减轻zabbix server直接接收来自大量agent的压力. 当然最终数据是集中存储到zabbix server的, proxy只是个代理.

5. 部署在被监控端, 采集监控数据, 发送给代理或直接发送给zabbix server.

数据流

例如为了得到一个服务器X的CPU超载的邮件通知, 一般需要几个步骤来部署这个监控.

1. 创建主机

2. 创建监控项

3. 创建触发器

4. 创建响应

[参考] 

1. https://www.zabbix.com/documentation/2.2/manual/introduction

时间: 2024-09-16 19:15:11

zabbix feature & architecture & Data flow的相关文章

Data Flow Task中的同步与异步, 阻塞,半阻塞和全阻塞及Buffer缓存概念

在 SSIS Dataflow 数据流中的组件可以分为 Synchronous 同步和 Asynchronous 异步这两种类型. Synchronous 同步组件 同步组件有一个非常重要的特征 - 同步组件的输出和它的输入共享同一个缓存,即输入多少行数据输出就多少行数据.在同步转换的过程中,输入一行,输出一行,输入与输出同步,它们同时发生. Asynchronous 异步组件 异步组件的特征就是它的输出使用的是一个新的缓存,它不会重用输入的缓存,输出的记录有可能比输入多,也有可能比输入少.在异

SSIS:理解Data Flow Task 中的同步与异步等概念

理解Data Flow Task 中的同步与异步, 阻塞,半阻塞和全阻塞以及Buffer 缓存概念 在 SSIS Dataflow 数据流中的组件可以分为 Synchronous 同步和 Asynchronous 异步这两种类型. Synchronous 同步组件 同步组件有一个非常重要的特征 - 同步组件的输出和它的输入共享同一个缓存,即输入多少行数据 输出就多少行数据.在同步转换的过程中,输入一行,输出一行,输入与输出同步,它们同时发生. Asynchronous 异步组件 异步组件的特征就

Android 5.1 open data flow 数据开启流程

 首先我们来看看下面的关系图: 底层Settings.apk 在Settings -> Data Usage Summary中的某个SIM tab下开启数据开关 android/packages/apps/Settings/src/com/android/settings/DataUsageSummary.java setMobileDataEnabled(true); private View.OnClickListener mDataEnabledListener = new View.On

FxCop 使用Data Flow Rules

FxCop的UI并未提供Phoenix engine的支持,也就是以下这些验证规则通过FxCop的 UI没有办法验证,但是可以通过FxCopCmd来验证 CA1062 Validate Arguments of Public Methods CA1303 Do Not Pass Literals as Localized Parameters CA2000 Dispose Objects Before Losing Scope CA2100 Review SQL Queries For Secu

The Log: What every software engineer should know about real-time data's unifying abstraction

主要的思想,  将所有的系统都可以看作两部分,真正的数据log系统和各种各样的query engine  所有的一致性由log系统来保证,其他各种query engine不需要考虑一致性,安全性,只需要不停的从log系统来同步数据,如果数据丢失或crash可以从log系统replay来恢复  可以看出kafka系统在linkedin中的重要地位,不光是data aggregation,而是整个系统的核心 Part One: What Is a Log? log定义 很简单的结构,最关键的属性是,

时事新闻之 谷歌 google 发布Tensor Flow 源代码

TensorFlow: TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow bet

zabbix在CENTOS 6.3下的安装部署

最近研究了下群里谈论比较火的一个国外开源网络监控系统ZABBIX,玩过一遍后就深深被他的界面简洁,后台配置逻辑分类清晰,易于配置上手的优点给吸引,立即将单位的系统统一换成这个平台监测,测试了一段时间,效果良好. 之前玩过cacti和nagios,算是一个大家耳熟能详的业内常用的的网管互补组合,但个人感觉前者由于调用snmp协议,导致有时候在网络不太稳定时会有数据丢失情况,后者nagios虽然不依赖于SNMP,但客户端的复杂的安装,初始配置以及需要读懂插件语法导致会让很多初学者望而却步. zabb

zabbix proxy configure (optional)

zabbix proxy的部署分3个部分. 1. 安装proxy 2. 配置proxy配置文件, 启动proxy 3. 在zabbix WEB接口中添加proxy. 1. zabbix的安装, web接口的配置以及zabbix server 的配置请参考 : http://blog.163.com/digoal@126/blog/static/1638770402014731111811804/ http://blog.163.com/digoal@126/blog/static/1638770

How To Install Zabbix Server 3.0 on CentOS/RHEL 7/6/5

Zabbix is an open source software for networks and application monitoring. Zabbix provides agents to monitor remote hosts as well as Zabbix includes support for monitoring via SNMP, TCP and ICMP checks. Click here to know more about zabbix. This arti