diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 6e3feaec..3c98866f 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c @@ -255,6 +255,13 @@ main (int argc, char **argv) continue; } + /* Ignore our own children */ + if (procppid == mypid) { + if (verbose >= 3) + printf("not considering - is our child\n"); + continue; + } + /* Ignore excluded processes by name */ if(options & EXCLUDE_PROGS) { int found = 0;