[monitoring-plugins] Refactor check_procs

2025-06-29 Thread Lorenz Kästle
it/?id=a14b2b35 Refactor check_procs --- plugins/Makefile.am| 1 + plugins/check_procs.c | 335 - plugins/check_procs.d/config.h | 75 + 3 files changed, 243 insertions(+), 168 deletions(-) diff --git a/plugins/Makefile.am b/p

[monitoring-plugins] Merge branch 'master' into refactor/check_procs

2025-06-29 Thread Lorenz Kästle
it/?id=882ef501 Merge branch 'master' into refactor/check_procs ---

[monitoring-plugins] check_procs: general refactoring

2025-06-29 Thread Lorenz Kästle
it/?id=16c3e249 check_procs: general refactoring --- configure.ac | 2 +- plugins/check_procs.c | 247 +++--- 2 files changed, 114 insertions(+), 135 deletions(-) diff --git a/configure.ac b/configure.ac index 204fc6e3..c66f9b2f 100644

[monitoring-plugins] check_procs: clang-format

2025-06-29 Thread Lorenz Kästle
it/?id=c71a2e41 check_procs: clang-format --- plugins/check_procs.c | 843 +- 1 file changed, 422 insertions(+), 421 deletions(-) diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 1d78ccee..69b424dc 100644 --- a/plugins/check_procs.c

[monitoring-plugins] check_procs: delare file local variables static

2024-11-08 Thread Lorenz Kästle
it/?id=99bb7dd check_procs: delare file local variables static --- plugins/check_procs.c | 56 +-- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 5777ba0..53c93c0 100644 --- a/p

[monitoring-plugins] check_procs: use proper escape for %

2024-11-08 Thread Lorenz Kästle
it/?id=54042ac check_procs: use proper escape for % --- plugins/check_procs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 53c93c0..1d78cce 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c @@ -832,7 +832,7 @@

[monitoring-plugins] check_procs: Generalise wording, remove ...

2023-12-04 Thread Sven Hartge
Module: monitoring-plugins Branch: master Commit: c3ab362f87e35c28c5a44c2633002d78e94114d8 Author: Sven Hartge Date: Mon Dec 4 16:40:34 2023 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c3ab362 check_procs: Generalise wording, remove

[monitoring-plugins] check_procs: Improve help text, mentioning ...

2023-12-04 Thread Sven Hartge
Module: monitoring-plugins Branch: master Commit: 45f633ef23bdee70845fda685f3821af11c2aa1b Author: Sven Hartge Date: Mon Dec 4 14:33:36 2023 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=45f633e check_procs: Improve help text, mentioning

[monitoring-plugins] check_procs: ignore our own children

2023-12-03 Thread Sven Hartge
Module: monitoring-plugins Branch: master Commit: 897e4a840929285b0a29237e12f4aa9b702f41ce Author: Sven Hartge Date: Tue Nov 28 13:21:05 2023 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=897e4a8 check_procs: ignore our own children On

[monitoring-plugins] check_procs: add a test for the newly added -X ...

2023-03-21 Thread Sven Nierlein
=3e3e225 check_procs: add a test for the newly added -X option. $ make test [...] perl -I .. -I .. ../test.pl No application (check_curl) found for test harness (check_curl.t) No application (check_snmp) found for test harness (check_snmp.t) ./t/check_procs.t .. ok ./tests/check_nt.t . ok

[monitoring-plugins] check_procs: Implement --exclude-process to ...

2023-03-21 Thread Sven Nierlein
=9c495e2 check_procs: Implement --exclude-process to exclude specific processes. Signed-off-by: Christian Kujau --- plugins/check_procs.c | 47 +-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/plugins/check_procs.c b/plugins/check_procs.c

[monitoring-plugins] check_procs -- update test data too

2021-11-17 Thread Wolfgang Karall-Ahlborn
Module: monitoring-plugins Branch: master Commit: 9076ea36f70dbd643de4102a88dbd2f18847af16 Author: Wolfgang Karall-Ahlborn Date: Sun Jan 3 12:18:31 2021 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9076ea3 check_procs -- update test data

[monitoring-plugins] check_procs -- exchange needle and haystack in ...

2021-11-17 Thread Wolfgang Karall-Ahlborn
Module: monitoring-plugins Branch: master Commit: 8eaccee190734a12763a51aaa8a46f324f6742ec Author: Wolfgang Karall-Ahlborn Date: Sun Jan 3 11:27:44 2021 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8eaccee check_procs -- exchange needle

[monitoring-plugins] check_procs: add test for elapsed time

2021-11-01 Thread Sven Nierlein
check_procs: add test for elapsed time --- plugins/tests/check_procs.t | 13 ++- plugins/tests/var/ps-axwo.debian | 219 +++ 2 files changed, 230 insertions(+), 2 deletions(-) diff --git a/plugins/tests/check_procs.t b/plugins/tests/check_procs.t index

[monitoring-plugins] check_procs: improve ps args autodetection

2021-11-01 Thread Sven Nierlein
check_procs: improve ps args autodetection one of the first ps commands in the configure.ac is `axwo 'stat comm vsz rss user uid pid ppid args'` which works on most modern linux systems (checked debian 10/11 and centos 7/8). But this test misses the etime argument. Therefore `c

[monitoring-plugins] check_procs: remove trailing whitespace

2021-11-01 Thread Sven Nierlein
check_procs: remove trailing whitespace --- plugins/check_procs.c | 50 +- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/plugins/check_procs.c b/plugins/check_procs.c index f7917c3..bae429d 100644 --- a/plugins/check_procs.c

check_procs v1.5 : rcuos presence leads to false alarms

2017-11-02 Thread Renato Gallo
Hello, I have noticed that on ubuntu 14.04 the number of rcuos processes leads to false alarms on the machine. Is there a way to exclude the rcuos processes from being counted ? Thanks in advance

Re: check_procs: On solaris10 args field empty but ps -ef shows args (#1203)

2015-10-13 Thread waja
Closed #1203 via #1371. -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/issues/1203#event-433827269

Re: check_procs

2015-09-14 Thread Jochen Bern
On 09/14/2015 12:03 PM, Tim Isted wrote: > Synopsis: > Multiple process matches for -C "command", additional string check > -a "string" can also return multiple results. > > Feature suggestion: additional arg to exclude false positive matched > strings Technically already present (you can use -a

check_procs

2015-09-14 Thread Tim Isted
Synopsis: Multiple process matches for -C "command", additional string check -a "string" can also return multiple results. Feature suggestion: additional arg to exclude false positive matched strings -- *Tim Isted* [1] *e-mail / google talk:* tim.is...@justdevelop.it[2] [1] http:

check_procs -a limitation (#1328)

2015-03-10 Thread nameless-user
The following is being reported against monitoring-plugins-v2.1.1-39-g8095, though it applies as well to earlier releases. There is a problem with the manner in which check_procs looks for command-line arguments (the "-a" option): -a, --argument-array=STRING Only scan for

Re: check_procs -a limitation

2015-03-10 Thread Jan Wagner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi there, Am 09.03.15 um 22:38 schrieb eponymous alias: > The following is being reported against > monitoring-plugins-v2.1.1-39-g8095, though it applies as well to > earlier releases. thanks for taking time and reporting your issues. Anyway, we

check_procs -a limitation

2015-03-09 Thread eponymous alias
The following is being reported against monitoring-plugins-v2.1.1-39-g8095, though it applies as well to earlier releases. There is a problem with the manner in which check_procs looks for command-line arguments (the "-a" option): -a, --argument-array=STRING Only scan for proc

[monitoring-plugins] NEWS: Mention HP-UX fixes for check_procs

2014-11-28 Thread Holger Weiss
Module: monitoring-plugins Branch: master Commit: f3b789a526af04434813c3d49dfb28b106ad691c Author: Holger Weiss Date: Fri Nov 28 17:09:54 2014 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f3b789a NEWS: Mention HP-UX fixes for check_procs

Re: check_procs: added working HP-UX support (#1288)

2014-11-28 Thread Holger Weiß
Closed #1288 via f3b789a526af04434813c3d49dfb28b106ad691c. -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1288#event-199987676

check_procs: added working HP-UX support (#1288)

2014-08-26 Thread Yannick Charton
Hi, check_procs doesn't properly work on HP-UX systems. This change makes it working with almost all options. Only rss values are not provided. Regards, Yannick You can merge this Pull Request by running: git pull https://github.com/Tontonitch/monitoring-plugins master Or you can view, co

Re: Added particular ps command for HP-UX (check_procs) (#1287)

2014-08-26 Thread Yannick Charton
Typo problem in the commit, closing and will reopen -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1287#issuecomment-53425324

Added particular ps command for HP-UX (check_procs) (#1287)

2014-08-26 Thread Yannick Charton
Hi, check_procs doesn't properly work on HP-UX systems. This change makes it working with almost all options. Only rss values are not provided. Regards, Yannick You can merge this Pull Request by running: git pull https://github.com/Tontonitch/monitoring-plugins master Or you can view, co

[monitoring-plugins] check_procs: Add delay after forking in test

2014-07-10 Thread Mikael Falkvidd
Module: monitoring-plugins Branch: master Commit: f54d10fe9ba202415c2001b1ec7c6eb4697c3d10 Author: Mikael Falkvidd Date: Thu Jul 10 14:25:23 2014 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f54d10f check_procs: Add delay after forking in

Re: check_procs: Add delay after forking in test (#1272)

2014-07-10 Thread Sam Kottler
Merged #1272. -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1272#event-140342085

Re: check_procs: Add delay after forking in test (#1272)

2014-07-10 Thread Sam Kottler
Seems reasonable. Thanks! -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1272#issuecomment-48651937

check_procs: Add delay after forking in test (#1272)

2014-07-10 Thread Mikael Falkvidd
https://github.com/monitoring-plugins/monitoring-plugins/pull/1272 -- Commit Summary -- * check_procs: Add delay after forking in test -- File Changes -- M plugins/t/check_procs.t (2) -- Patch Links -- https://github.com/monitoring-plugins/monitoring-plugins/pull/1272.patch https://gi

[monitoring-plugins] tests: parts of the check_procs test only work ...

2014-06-13 Thread Sven Nierlein
Module: monitoring-plugins Branch: master Commit: 3529d7465d31234ec634939ed1a6bdc915b73ccd Author: Sven Nierlein Date: Thu Jun 12 11:45:49 2014 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3529d74 tests: parts of the check_procs test only

[monitoring-plugins] check_procs test fails if there is no user with ...

2014-02-18 Thread Sven Nierlein
Module: monitoring-plugins Branch: master Commit: 385340a4ef89e0feac915e2154b7e3d155f42b73 Author: Sven Nierlein Date: Tue Feb 18 16:20:11 2014 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=385340a check_procs test fails if there is no user