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


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

  • There are already included templates that do this! You should use them. – Michael Hampton May 11 '16 at 12:46
  • Which ones? I'm already using Linux Server templates and cannot find what I'm looking for – sysfiend May 11 '16 at 12:49

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.

  • Yep, that's more close to what I'm looking for. Gonna test it out asap but a quick question in case you also know, would I be able to have graphs and all the features that zabbix has with them? – sysfiend May 11 '16 at 13:05
  • clarified a bit more on graphing in the answer – Richlv May 11 '16 at 14:47

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.