git: c0bd039ca446 - main - net-mgmt/monitoring-plugins: Update to 2.3.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Feb 2023 18:49:05 UTC
The branch main has been updated by joneum: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0bd039ca44643af1dc89899707f61ab4c3b7a03 commit c0bd039ca44643af1dc89899707f61ab4c3b7a03 Author: Kurt Jaeger <pi@FreeBSD.com> AuthorDate: 2023-02-16 18:46:51 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2023-02-16 18:48:39 +0000 net-mgmt/monitoring-plugins: Update to 2.3.3 Update to 2.3.2, fick check_icmp bug PR: 269229 264342 Sponsored by: Netzkommune GmbH --- net-mgmt/monitoring-plugins/Makefile | 2 +- net-mgmt/monitoring-plugins/distinfo | 6 +++--- .../files/patch-plugins_check__procs.c | 22 +++++++++++----------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile index 586896560c23..0e8772642da9 100644 --- a/net-mgmt/monitoring-plugins/Makefile +++ b/net-mgmt/monitoring-plugins/Makefile @@ -1,5 +1,5 @@ PORTNAME= monitoring-plugins -PORTVERSION= 2.3.1 +PORTVERSION= 2.3.2 CATEGORIES= net-mgmt MASTER_SITES= https://www.monitoring-plugins.org/download/ \ LOCAL/mat/${PORTNAME} diff --git a/net-mgmt/monitoring-plugins/distinfo b/net-mgmt/monitoring-plugins/distinfo index 3ae6f554dbdb..7ee1ab6702b9 100644 --- a/net-mgmt/monitoring-plugins/distinfo +++ b/net-mgmt/monitoring-plugins/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618242026 -SHA256 (monitoring-plugins-2.3.1.tar.gz) = f56eb84871983fd719247249e3532228b37e2efaae657a3979bd14ac1f84a35b -SIZE (monitoring-plugins-2.3.1.tar.gz) = 2529669 +TIMESTAMP = 1675013208 +SHA256 (monitoring-plugins-2.3.2.tar.gz) = 8d9405baf113a9f25e4fb961d56f9f231da02e3ada0f41dbb0fa4654534f717b +SIZE (monitoring-plugins-2.3.2.tar.gz) = 2766966 diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c b/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c index 8dde83b32b9c..c74d61575410 100644 --- a/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c +++ b/net-mgmt/monitoring-plugins/files/patch-plugins_check__procs.c @@ -1,4 +1,4 @@ ---- plugins/check_procs.c.orig 2020-12-09 21:38:01 UTC +--- plugins/check_procs.c.orig 2022-10-19 12:50:27 UTC +++ plugins/check_procs.c @@ -70,6 +70,7 @@ int options = 0; /* bitmask of filter criteria to test #define PCPU 256 @@ -8,7 +8,7 @@ #define KTHREAD_PARENT "kthreadd" /* the parent process of kernel threads: ppid of procs are compared to pid of this proc*/ -@@ -101,6 +102,7 @@ char *fails; +@@ -101,6 +102,7 @@ int usepid = 0; /* whether to test for pid or /proc/pi char tmp[MAX_INPUT_BUFFER]; int kthread_filter = 0; int usepid = 0; /* whether to test for pid or /proc/pid/exe */ @@ -28,11 +28,11 @@ procseconds = convert_to_seconds(procetime); if (verbose >= 3) -- printf ("proc#=%d uid=%d vsz=%d rss=%d pid=%d ppid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", -+ printf ("proc#=%d uid=%d vsz=%d rss=%d pid=%d ppid=%d jid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", +- printf ("proc#=%d uid=%d vsz=%d rss=%d pid=%d ppid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", ++ printf ("proc#=%d uid=%d vsz=%d rss=%d pid=%d ppid=%d jid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", procs, procuid, procvsz, procrss, -- procpid, procppid, procpcpu, procstat, -+ procpid, procppid, procjid, procpcpu, procstat, +- procpid, procppid, procpcpu, procstat, ++ procpid, procppid, procjid, procpcpu, procstat, procetime, procprog, procargs); /* Ignore self */ @@ -49,11 +49,11 @@ procs++; if (verbose >= 2) { -- printf ("Matched: uid=%d vsz=%d rss=%d pid=%d ppid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", -+ printf ("Matched: uid=%d vsz=%d rss=%d pid=%d ppid=%d jid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", +- printf ("Matched: uid=%d vsz=%d rss=%d pid=%d ppid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", ++ printf ("Matched: uid=%d vsz=%d rss=%d pid=%d ppid=%d jid=%d pcpu=%.2f stat=%s etime=%s prog=%s args=%s\n", procuid, procvsz, procrss, -- procpid, procppid, procpcpu, procstat, -+ procpid, procppid, procjid, procpcpu, procstat, +- procpid, procppid, procpcpu, procstat, ++ procpid, procppid, procjid, procpcpu, procstat, procetime, procprog, procargs); } @@ -96,7 +96,7 @@ printf (" %s\n", "-z, --vsz=VSZ"); printf (" %s\n", _("Only scan for processes with VSZ higher than indicated.")); printf (" %s\n", "-r, --rss=RSS"); -@@ -784,7 +798,7 @@ void +@@ -784,7 +798,7 @@ print_usage (void) print_usage (void) { printf ("%s\n", _("Usage:"));