R
R
Richard Querman2020-02-16 16:10:56
Windows
Richard Querman, 2020-02-16 16:10:56

Windows process monitoring with Zabbix?

How to organize monitoring of windows processes using zabbix? Interested in a way to find out how many percent of the total processor resource a particular process consumes.

Windows version: Windows 10 pro 1909 x64
zabbix server version: 4.4.3
Metrics collection method: active agent

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene, 2020-02-17
@Richard_65

1. open perfmon.msc (do not confuse it with perfmon.exe - this is a slightly different program.)
2. in the "system monitor" (now the Russian axis is at hand, so look for a similar one in English, since there is only one monitor by default) click "add counters"
3. select Process and your process, the desired metrics.
All this is just to understand "what" you will monitor.
now "how": let's go and carefully read:
https://www.zabbix.com/documentation/4.2/ru/manual...
https://www.zabbix.com/documentation/4.2/ru/manual...
In the last article we are looking for proc_info - this is it.
If there are some perfcounters that you did not find in Zabbix - in the 1st article at the end there is how to add the necessary ones through user parameters
Why perfcounters and not WMI? Because accessing WMI is a rather expensive operation, you often don’t ask (and if you get into the depths of what is available through WMI, it turns out that there are the same perfcounters, ennobled and enriched) - frequent access eats the CPU pretty much
Why not a third-party program? Because Win is already collecting process data and the main task is to get to it

B
beerchaser, 2020-02-16
@beerchaser

Alternatively, Pslist.exe -s process_name >monitor.txt. And then we parse the monitor.txt file on Zabbix.

R
Radjah, 2020-02-17
@Radjah

As option to take the data from WMI. https://github.com/13hakta/zbxwmi
With this program you can pierce classes and fields https://www.ks-soft.net/hostmon.eng/wmi/index.htm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question