大网数据广告活动
服务器运维问答

Is it possible to monitor processes with Zabbix?

· 52CE 我爱测

I've installed zabbix-server , zabbix-proxy and some zabbix-agent s on some of my dedicated servers. Everything is working and I'm quite happy with everything but I was curious about this topic: monitoring processes . What I want…

问题原文

原帖链接 · sysfiend · CC BY-SA 3.0

I've installed zabbix-server, zabbix-proxy and some zabbix-agents on some of my dedicated servers. Everything is working and I'm quite happy with everything but I was curious about this topic: monitoring processes.

What I want:

I would like Zabbix to monitor processes (cpu and ram usage, uptime, etc.) always the same way it monitors network traffic, CPU usage, and so on, so I would be able to see graphs of them, make screens, etc.

So far:

From googling, I found out that it's possible to create a custom script that you can then execute so you can tell the script to do whatever you want it to do but I'm trying to accomplish something different here as you may have noticed from the above section

Question:

So, is it even possible to do it in any way? If so, where should I begin?

已采纳解答

原帖链接 · Richlv · CC BY-SA 3.0

It sounds like you would like to monitor process state and resource usage. If so, the following agent keys might help:

  • proc.num - can monitor the number of processes, based on process name, user, parameters etc
  • proc.mem - can monitor process memory usage (single process or a group of them)
  • proc.cpu.util - can monitor process CPU utilisation (single process or a group of them)

See https://www.zabbix.com/documentation/3.0/manual/config/items/itemtypes/zabbix_agent for more information on these item keys.

Regarding graphing, all individual items can be graphed out of the box by clicking the "Graph" link in the latest data page. Custom graphs can also be created in the configuration, including multiple items. Note that this is no different from any other numeric items in Zabbix and is not process item specific.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-05-11)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。