diff --git a/check_proc_zombie b/check_proc_zombie index 8a3c44d1183aa2325025cced066fabca67305cde..ec342685954b9aea5a6dd9d70d52353db2ff4062 100755 --- a/check_proc_zombie +++ b/check_proc_zombie @@ -26,10 +26,6 @@ SYNTAX: check_proc_zombie [-h] [-w WARNLIMIT] [-c CRITICALLIMIT] - -h this help - -w Warning level - -c Critical level - OPTIONS: -h, --help diff --git a/docs/20_Checks/check_proc_zombie.md b/docs/20_Checks/check_proc_zombie.md new file mode 100644 index 0000000000000000000000000000000000000000..499c5a9eca19ff2c0c0deb773575021fb1f3d969 --- /dev/null +++ b/docs/20_Checks/check_proc_zombie.md @@ -0,0 +1,62 @@ +# Check_proc_zombie + +## Introduction + +**check_proc_zombie** is a plugin to show the count of zombie processes. +It sends performance data. + +## Requirements + +* `ps` +* `top` + +## Syntax + +```txt +$ check_proc_zombie -h +______________________________________________________________________ + +CHECK_PROC_ZOMBIE +v1.2 + +(c) Institute for Medical Education - University of Bern +Licence: GNU GPL 3 + +https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_proc_zombie.html +______________________________________________________________________ + +SYNTAX: + + check_proc_zombie [-h] [-w WARNLIMIT] [-c CRITICALLIMIT] + +OPTIONS: + + -h, --help + show help + + -c, --critical VALUE + critical value; default: 10 + + -w. --warning VALUE + warning limit value; default: 1 + +EXAMPLE: + + check_proc_zombie -w 3 -c 15 + Show count of zombie processes mark as critical when there are 15 or + more zombie processes and warn on 3 or more. + +``` + +### Parameters + +(none) + +## Examples + +`$ check_ceph_diskfree` returns + +```txt +OK: 0 ZOMBIE-Processes (total: 392 - running: 2 - sleeping: 390 - stopped: 0) + |proc-zombie=0;1;10;0 +```