启动
顺序
| process title
| 允许
进程数
| 默认值
| 任务
|
1
| configuration syncer
| 1-1
| 1
| 从数据库同步数据到Dbconfig缓存
|
2
| db watchdog
| 1-1
| 1
| 周期性地检查server端数据库是否可用,如果不可用则发送报警信息
|
3
| poller #n
| 0-1000
| 5
| 根据dbconfig中的数据,从passive agent和snmp设备采集数据,并flush到共享内存cache->history中
|
4
| unreachable poller #n
| 0-1000
| 1
| 当设备处于unreachable状态时,周期性地polling设备
|
5
| trapper #n
| 0-1000
| 5
| 从socket接收并处理active agent和active proxy发来的数据(json格式,zabbix通讯协议),并flush到共享内存cache->history中
|
6
| icmp pinger #n
| 0-1000
| 1
| 根据dbconfig中的数据,批量采集icmpping相关的item数据,并flush到共享内存cache->history中
|
7
| alerter
| 1-1
| 1
| 发送各种报警通知
|
8
| housekeeper
| 1-1
| 1
| 周期性地删除过期的历史数据
|
9
| timer #n
| 1-1000
| 1
| 计算与时间相关的trigger表达式等
|
10
| node watcher
| 1-1
| 1
| 处理与node之间的交互
|
11
| http poller #n
| 0-1000
| 1
| 收集web监控相关的数据,并flush到共享内存cache->history中
|
12
| discoverer #n
| 0-250
| 1
| 按照指定规则扫描网络,自动发现host、interface等
|
13
| history syncer #n
| 1-100
| 4
| 将共享内存cache->history中的数据批量更新到数据库中,并flush到共享内存vc_cache、cache->trends、config->items等中
|
14
| escalator
| 1-1
| 1
| 当报警操作需要分步连续执行时,控制各步骤之间的escalations
|
15
| ipmi poller #n
| 0-1000
| 0
| 与poller进程类似,处理ipmi items
|
16
| java poller #n
| 0-1000
| 0
| 与poller进程类似,处理JMX items
|
17
| snmp trapper #n
| 0-1
| 0
| 与trapper进程类似,处理snmp items
|
18
| proxy poller #n
| 0-250
| 1
| 与passive proxy交互,以设定的频率获取所需要的json格式数据并将数据flush到共享内存cache->history中
|
19
| self-monitoring
| 1-1
| 1
| 处理与zabbix自身运行状态相关的item信息,访问共享内存中的collector变量
|
20
| vmware collector #n
| 0-250
| 0
| 采集vmware虚拟机相关的数据,并flush到共享内存中
|
所有进程中比较关键的进程有两类:poller/trapper类进程,用于采集数据并加载到共享内存中;history syncer进程,用于更新数据库及触发events和报警。逻辑上这两类任务是先后执行的,首先要采集到数据然后才能触发报警。而每类任务的各个进程之间是独立的,多个poller/trapper进程可以同时执行,多个history syncer进程也可以同时执行。