mirror of https://github.com/Icinga/icinga2.git
Merge pull request #10232 from Icinga/itl-check_procs-exclude-process
ITL: Add --exclude-process to check_procs
This commit is contained in:
commit
f3e7f193c2
|
@ -1226,7 +1226,7 @@ of processes. Search filters can be applied to limit the processes to check.
|
|||
Custom variables passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
|
||||
|
||||
Name | Description
|
||||
---------------------|--------------
|
||||
----------------------|--------------
|
||||
procs_warning | **Optional.** The process count warning threshold. Defaults to 250.
|
||||
procs_critical | **Optional.** The process count critical threshold. Defaults to 400.
|
||||
procs_metric | **Optional.** Check thresholds against metric.
|
||||
|
@ -1241,6 +1241,7 @@ procs_user | **Optional.** Only scan for processes with user name or I
|
|||
procs_argument | **Optional.** Only scan for processes with args that contain STRING.
|
||||
procs_argument_regex | **Optional.** Only scan for processes with args that contain the regex STRING.
|
||||
procs_command | **Optional.** Only scan for exact matches of COMMAND (without path).
|
||||
procs_exclude_process | **Optional.** Exclude processes which match this comma separated list.
|
||||
procs_nokthreads | **Optional.** Only scan for non kernel threads. Defaults to false.
|
||||
|
||||
|
||||
|
|
|
@ -1842,6 +1842,10 @@ object CheckCommand "procs" {
|
|||
value = "$procs_command$"
|
||||
description = "Only scan for exact matches of COMMAND (without path)"
|
||||
}
|
||||
"-X" = {
|
||||
value = "$procs_exclude_process$"
|
||||
description = "Exclude processes which match this comma separated list"
|
||||
}
|
||||
"-k" = {
|
||||
set_if = "$procs_nokthreads$"
|
||||
description = "Only scan for non kernel threads"
|
||||
|
|
Loading…
Reference in New Issue