From 63f6aef194cda1681cd8997e1488ebc19088d536 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 7 Jun 2024 11:25:21 +0200 Subject: [PATCH] proc_zombie: add doc --- check_proc_zombie | 4 -- docs/20_Checks/check_proc_zombie.md | 62 +++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 docs/20_Checks/check_proc_zombie.md diff --git a/check_proc_zombie b/check_proc_zombie index 8a3c44d..ec34268 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 0000000..499c5a9 --- /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 +``` -- GitLab