Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 4f77bb4931060716b22f994ea4b597efd8f9874c
https://github.com/tribe29/checkmk/commit/4f77bb4931060716b22f994ea4b597efd…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2022-06-23 (Thu, 23 Jun 2022)
Changed paths:
A .werks/14356
M agents/wnx/src/engine/providers/ps.cpp
Log Message:
-----------
14356 FIX Windows agent reports Virtual Size correctly
Previously, to report the Virtual size of a process Windows
agent used metric 'VirtualSize' from WMI counter 'Win32_Process'.
Unfortunately, in Windows this metric means not the Virtual
size of process but the size of the process virtual address space,
usually 2TB for 32-bit application. As a result monitoring
information related to the process Virtial size was useless.
Since this release, Windows agent uses 'Commit Charge' Win32 metric
to correctly report the Virtual size of a process, thus solving
the problem. 'Commit Charge' is the total amount of virtual memory
of a process that must be backed by either physical memory or the
page file.
Change-Id: If699aae520958f392049e9f8424bf6f0e8b3ed65