Check manual page of wmic_processApril 30. 2013
wmic_processAuthor: Mathias Kettner License: GPL Distribution: official part of Check_MK Supported Agents: Windows This check uses the output of wmic process in order to monitor the ressource
consumption of processes on Windows servers. On the target host this check
needs the command line utility wmic and the agent plugin wmicchecks.bat
(in the subdirectory plugins below the directory where check_mk_agent.exe
is located).
The monitored parameters are CPU usage (KernelModeTime + UserModeTime),
RAM usage (WorkingSetSize) and page file usage (PageFileUsage).
If more than one process matches the name, then all matching processes ressources
are added.
If no matching process is found running, then the check is always OK (since
no ressources are consumed).
ItemA user definable string that is used as part of the service description.
If you choose "APACHE" as item, for example, then the check will be
named proc_APACHE.
Check parameters
Performance dataFour value are sent: (1) The memory usage in MB, (2) The page file usage in MB,
(3) The CPU usage in user mode in %, (4) The CPU usage in kernel mode in %.
InventoryNo inventory supported. Configuration variablesNone. Examplesmain.mk # Monitor ressources used by SSHD processes. # Warn at 20MB RAM or 10MB page file or 80% CPU usage # Critical at 30MB RAM or 15MB page file or 90% CPU usage checks += [ ( "klapp", "wmic_process", "SSHD", ( "sshd.exe", 20, 30, 10, 15, 80, 90)), ] |
| |||||||||||||||||||||||||||