From 9cd46364f8ed0e5c1d6157d134afef5f15a7cad77c2f9785f66357ccc12ba744 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 14 Jan 2021 20:50:13 +0000 Subject: [PATCH 1/2] - Update to 2.3 (final): Enhancements * check_dns: allow 'expected address' (-a) to be specified in CIDR notation (IPv4 only). * check_dns: allow for IPv6 RDNS * check_dns: Accept CIDR * check_dns: allow unsorted addresses * check_dns: allow forcing complete match of all addresses * check_apt: add --only-critical switch * check_apt: add -l/--list option to print packages * check_file_age: add range checking * check_file_age: enable to test for maximum file size * check_apt: adding packages-warning option * check_load: Adding top consuming processes option * check_http: Adding Proxy-Authorization and extra headers * check_snmp: make calcualtion of timeout value in help output more clear * check_uptime: new plugin for checking uptime to see how long the system is running * check_curl: check_http replacement based on libcurl * check_http: Allow user to specify HTTP method after proxy CONNECT * check_http: Add new flag --show-body/-B to print body * check_cluster: Added data argument validation * check_icmp: Add IPv6 support * check_icmp: Automatically detect IP protocol * check_icmp: emit error if multiple protocol version * check_disk: add support to display inodes usage in perfdata * check_hpjd: Added -D option to disable warning on 'out of paper' * check_http: support the --show-body/-B flag when --expect is used * check_mysql: allow mariadbclient to be used * check_tcp: add --sni * check_dns: detect unreachable dns service in nslookup output Fixes OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=84 --- _service | 16 ------------ monitoring-plugins-2.3.tar.xz | 3 +++ monitoring-plugins.changes | 47 +++++++++++++++++++++++++++++++++++ monitoring-plugins.spec | 4 +-- 4 files changed, 52 insertions(+), 18 deletions(-) delete mode 100644 _service create mode 100644 monitoring-plugins-2.3.tar.xz diff --git a/_service b/_service deleted file mode 100644 index 753c921..0000000 --- a/_service +++ /dev/null @@ -1,16 +0,0 @@ - - - - 2.3~alpha.%ci.%h - https://github.com/monitoring-plugins/monitoring-plugins.git - git - master - - - - - xz - *.tar - - - diff --git a/monitoring-plugins-2.3.tar.xz b/monitoring-plugins-2.3.tar.xz new file mode 100644 index 0000000..6c6fc10 --- /dev/null +++ b/monitoring-plugins-2.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a13e493c96301f9a81b2ec90dc019e8d9f486d77f762883eb91df2345b10ab1 +size 1876784 diff --git a/monitoring-plugins.changes b/monitoring-plugins.changes index 5032dda..d675286 100644 --- a/monitoring-plugins.changes +++ b/monitoring-plugins.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Thu Jan 14 20:47:42 UTC 2021 - Lars Vogdt + +- Update to 2.3 (final): + Enhancements + * check_dns: allow 'expected address' (-a) to be specified in CIDR notation (IPv4 only). + * check_dns: allow for IPv6 RDNS + * check_dns: Accept CIDR + * check_dns: allow unsorted addresses + * check_dns: allow forcing complete match of all addresses + * check_apt: add --only-critical switch + * check_apt: add -l/--list option to print packages + * check_file_age: add range checking + * check_file_age: enable to test for maximum file size + * check_apt: adding packages-warning option + * check_load: Adding top consuming processes option + * check_http: Adding Proxy-Authorization and extra headers + * check_snmp: make calcualtion of timeout value in help output more clear + * check_uptime: new plugin for checking uptime to see how long the system is running + * check_curl: check_http replacement based on libcurl + * check_http: Allow user to specify HTTP method after proxy CONNECT + * check_http: Add new flag --show-body/-B to print body + * check_cluster: Added data argument validation + * check_icmp: Add IPv6 support + * check_icmp: Automatically detect IP protocol + * check_icmp: emit error if multiple protocol version + * check_disk: add support to display inodes usage in perfdata + * check_hpjd: Added -D option to disable warning on 'out of paper' + * check_http: support the --show-body/-B flag when --expect is used + * check_mysql: allow mariadbclient to be used + * check_tcp: add --sni + * check_dns: detect unreachable dns service in nslookup output + Fixes + * Fix regression where check_dhcp was rereading response in a tight loop + * check_dns: fix error detection on sles nslookup + * check_disk_smb: fix timeout issue + * check_swap: repaired -n behaviour + * check_icmp: Correctly set address_family on lookup + * check_icmp: Do not overwrite -4,-6 on lookup + * check_smtp: initializes n before it is used + * check_dns: fix typo in parameter description + * check_by_ssh: fix child process leak on timeouts + * check_mysql: Allow sockets to be specified to -H + * check_procs: improve command examples for 'at least' processes + * check_disk: include -P switch in help + * check_mailq: restore accidentially removed options + ------------------------------------------------------------------- Tue Oct 13 11:05:10 CEST 2020 - ro@suse.de diff --git a/monitoring-plugins.spec b/monitoring-plugins.spec index 07632bc..53eda7c 100644 --- a/monitoring-plugins.spec +++ b/monitoring-plugins.spec @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: monitoring-plugins -Version: 2.3~alpha.20200520T233014.cadac85e +Version: 2.3 Release: 0 Summary: The Monitoring Plug-Ins License: GPL-2.0-or-later AND GPL-3.0-only From 4db29d7900baafb359197d3b0c729182637937b8cf0baeafeecbd04acacb754c Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Wed, 21 Apr 2021 08:01:53 +0000 Subject: [PATCH 2/2] - Update to 2.3.1: Enhancements * check_curl: Add an option to verify the peer certificate & host using the system CA's Fixes * check_icmp: fix simple typo, conspicuosly -> conspicuously * check_curl: fixed help, usage and errors for TLS 1.3 * check_curl: fixed a potential buffer overflow in url buffer * check_dns: split multiple IP addresses passed in one -a argument * check_curl: added string_statuscode function for printing HTTP/1.1 and HTTP/2 correctly * check_curl: fix crash if http header contains leading spaces * check_curl: display a specific human-readable error message where possible * check_pgsql: Using snprintf which honors the buffers size and guarantees null termination. * check_snmp: put the "c" (to mark a counter) after the perfdata value * check_http: Increase regexp limit * check_http: make -C obvious * check_curl: Increase regexp limit (to 1024 as in check_http) * check_curl: make -C obvious (from check_http) - refreshed patches: + monitoring-plugins-1.4.6-no_chown.patch + monitoring-plugins-2.1.1-check_logfile.patch + monitoring-plugins-2.2-mariadb_102_build_fix.patch + monitoring-plugins-2.3-check_ntp_perf_absolute.patch + monitoring-plugins-too_few_arguments_for_check_disk.patch + monitoring-plugins-wrong_return_in_check_swap.patch + monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch + monitoring-plugins.check_snmp.arrayaddress.patch - add sha1 checksum file as source OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=85 --- monitoring-plugins-1.4.6-no_chown.patch | 10 +++--- monitoring-plugins-2.1.1-check_logfile.patch | 6 ++-- ...ng-plugins-2.2-mariadb_102_build_fix.patch | 23 +++++++------- ...-plugins-2.3-check_ntp_perf_absolute.patch | 8 +++-- monitoring-plugins-2.3.1.tar.gz | 3 ++ monitoring-plugins-2.3.1.tar.gz.sha1 | 1 + monitoring-plugins-2.3.tar.xz | 3 -- ...2.3~alpha.20200520T233014.cadac85e.obscpio | 3 -- ...-2.3~alpha.20200520T233014.cadac85e.tar.xz | 3 -- ...ins-too_few_arguments_for_check_disk.patch | 8 ++--- ...g-plugins-wrong_return_in_check_swap.patch | 8 ++--- monitoring-plugins.changes | 31 +++++++++++++++++++ ...check_hpjd.c-64bit-portability-issue.patch | 8 ++--- ...ring-plugins.check_snmp.arrayaddress.patch | 16 +++++----- monitoring-plugins.spec | 5 +-- 15 files changed, 82 insertions(+), 54 deletions(-) create mode 100644 monitoring-plugins-2.3.1.tar.gz create mode 100644 monitoring-plugins-2.3.1.tar.gz.sha1 delete mode 100644 monitoring-plugins-2.3.tar.xz delete mode 100644 monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.obscpio delete mode 100644 monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.tar.xz diff --git a/monitoring-plugins-1.4.6-no_chown.patch b/monitoring-plugins-1.4.6-no_chown.patch index 5a00a2e..fbc5a0f 100644 --- a/monitoring-plugins-1.4.6-no_chown.patch +++ b/monitoring-plugins-1.4.6-no_chown.patch @@ -1,7 +1,7 @@ -Index: monitoring-plugins-2.2/plugins-root/Makefile.am +Index: monitoring-plugins-2.3.1/plugins-root/Makefile.am =================================================================== ---- monitoring-plugins-2.2.orig/plugins-root/Makefile.am -+++ monitoring-plugins-2.2/plugins-root/Makefile.am +--- monitoring-plugins-2.3.1.orig/plugins-root/Makefile.am ++++ monitoring-plugins-2.3.1/plugins-root/Makefile.am @@ -47,7 +47,6 @@ INSTALL_SUID = \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$p; \ @@ -16,10 +16,10 @@ Index: monitoring-plugins-2.2/plugins-root/Makefile.am rm -f $$TMPFILE; \ - if test $$can_create_suid_root_executable = yes; then \ - $(INSTALL_SUID); \ -+ $(INSTALL_SUID); \ -+ if test $$can_create_suid_root_executable != yes; then \ - else \ - echo "WARNING: insufficient access; not installing setuid plugins"; \ ++ $(INSTALL_SUID); \ ++ if test $$can_create_suid_root_executable != yes; then \ + echo "WARNING: insufficient access; not installing plugins as setuid"; \ echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \ + echo "NOTE: or fix this in your packaging (like the specfile)"; \ diff --git a/monitoring-plugins-2.1.1-check_logfile.patch b/monitoring-plugins-2.1.1-check_logfile.patch index f9ae5eb..1a8a8ba 100644 --- a/monitoring-plugins-2.1.1-check_logfile.patch +++ b/monitoring-plugins-2.1.1-check_logfile.patch @@ -1,7 +1,7 @@ -Index: monitoring-plugins-2.2/plugins-scripts/check_log.sh +Index: monitoring-plugins-2.3.1/plugins-scripts/check_log.sh =================================================================== ---- monitoring-plugins-2.2.orig/plugins-scripts/check_log.sh -+++ monitoring-plugins-2.2/plugins-scripts/check_log.sh +--- monitoring-plugins-2.3.1.orig/plugins-scripts/check_log.sh ++++ monitoring-plugins-2.3.1/plugins-scripts/check_log.sh @@ -115,27 +115,27 @@ while test -n "$1"; do exit $STATE_OK ;; diff --git a/monitoring-plugins-2.2-mariadb_102_build_fix.patch b/monitoring-plugins-2.2-mariadb_102_build_fix.patch index 6a81a87..816f4d2 100644 --- a/monitoring-plugins-2.2-mariadb_102_build_fix.patch +++ b/monitoring-plugins-2.2-mariadb_102_build_fix.patch @@ -30,11 +30,11 @@ Closes: https://github.com/monitoring-plugins/monitoring-plugins/issues/1508 plugins/check_mysql_query.c | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) -diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c -index 5773afd9..c44919d0 100644 ---- a/plugins/check_mysql.c -+++ b/plugins/check_mysql.c -@@ -36,6 +36,10 @@ const char *email = "devel@monitoring-plugins.org"; +Index: monitoring-plugins-2.3.1/plugins/check_mysql.c +=================================================================== +--- monitoring-plugins-2.3.1.orig/plugins/check_mysql.c ++++ monitoring-plugins-2.3.1/plugins/check_mysql.c +@@ -36,6 +36,10 @@ const char *email = "devel@monitoring-pl #define SLAVERESULTSIZE 70 @@ -54,7 +54,7 @@ index 5773afd9..c44919d0 100644 int check_slave = 0, warn_sec = 0, crit_sec = 0; int ignore_auth = 0; int verbose = 0; -@@ -505,7 +509,7 @@ void +@@ -508,7 +512,7 @@ void print_help (void) { char *myport; @@ -63,11 +63,11 @@ index 5773afd9..c44919d0 100644 print_revision (progname, NP_VERSION); -diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c -index 49a14dd3..6f492442 100644 ---- a/plugins/check_mysql_query.c -+++ b/plugins/check_mysql_query.c -@@ -33,6 +33,10 @@ const char *progname = "check_mysql_query"; +Index: monitoring-plugins-2.3.1/plugins/check_mysql_query.c +=================================================================== +--- monitoring-plugins-2.3.1.orig/plugins/check_mysql_query.c ++++ monitoring-plugins-2.3.1/plugins/check_mysql_query.c +@@ -33,6 +33,10 @@ const char *progname = "check_mysql_quer const char *copyright = "1999-2007"; const char *email = "devel@monitoring-plugins.org"; @@ -96,4 +96,3 @@ index 49a14dd3..6f492442 100644 print_revision (progname, NP_VERSION); - diff --git a/monitoring-plugins-2.3-check_ntp_perf_absolute.patch b/monitoring-plugins-2.3-check_ntp_perf_absolute.patch index 8f2a5c7..259ca68 100644 --- a/monitoring-plugins-2.3-check_ntp_perf_absolute.patch +++ b/monitoring-plugins-2.3-check_ntp_perf_absolute.patch @@ -1,6 +1,8 @@ ---- monitoring-plugins-2.3~alpha.20200520T233014.cadac85e/plugins/check_ntp_time.c 2020/10/12 16:05:30 1.1 -+++ monitoring-plugins-2.3~alpha.20200520T233014.cadac85e/plugins/check_ntp_time.c 2020/10/12 16:07:13 -@@ -533,7 +533,7 @@ +Index: monitoring-plugins-2.3.1/plugins/check_ntp_time.c +=================================================================== +--- monitoring-plugins-2.3.1.orig/plugins/check_ntp_time.c ++++ monitoring-plugins-2.3.1/plugins/check_ntp_time.c +@@ -533,7 +533,7 @@ int process_arguments(int argc, char **a char *perfd_offset (double offset) { diff --git a/monitoring-plugins-2.3.1.tar.gz b/monitoring-plugins-2.3.1.tar.gz new file mode 100644 index 0000000..cc0f203 --- /dev/null +++ b/monitoring-plugins-2.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f56eb84871983fd719247249e3532228b37e2efaae657a3979bd14ac1f84a35b +size 2529669 diff --git a/monitoring-plugins-2.3.1.tar.gz.sha1 b/monitoring-plugins-2.3.1.tar.gz.sha1 new file mode 100644 index 0000000..abf5475 --- /dev/null +++ b/monitoring-plugins-2.3.1.tar.gz.sha1 @@ -0,0 +1 @@ +8cb4d72920ed99ff922b6989fe5213ea76b9388e *monitoring-plugins-2.3.1.tar.gz diff --git a/monitoring-plugins-2.3.tar.xz b/monitoring-plugins-2.3.tar.xz deleted file mode 100644 index 6c6fc10..0000000 --- a/monitoring-plugins-2.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a13e493c96301f9a81b2ec90dc019e8d9f486d77f762883eb91df2345b10ab1 -size 1876784 diff --git a/monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.obscpio b/monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.obscpio deleted file mode 100644 index 53b2b3a..0000000 --- a/monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34e90e390323dc545d3b86664695b99d04d520db68dd5d5e89937b3375856350 -size 6768653 diff --git a/monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.tar.xz b/monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.tar.xz deleted file mode 100644 index 4948e4e..0000000 --- a/monitoring-plugins-2.3~alpha.20200520T233014.cadac85e.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d6d2a56cd2c638504263215c10d19ed1db3ef8746704741919bc8221c9c88b0 -size 1797632 diff --git a/monitoring-plugins-too_few_arguments_for_check_disk.patch b/monitoring-plugins-too_few_arguments_for_check_disk.patch index e87b4c2..2bf4de6 100644 --- a/monitoring-plugins-too_few_arguments_for_check_disk.patch +++ b/monitoring-plugins-too_few_arguments_for_check_disk.patch @@ -1,8 +1,8 @@ -Index: monitoring-plugins-2.2/plugins/check_disk.c +Index: monitoring-plugins-2.3.1/plugins/check_disk.c =================================================================== ---- monitoring-plugins-2.2.orig/plugins/check_disk.c -+++ monitoring-plugins-2.2/plugins/check_disk.c -@@ -997,7 +997,7 @@ get_stats (struct parameter_list *p, str +--- monitoring-plugins-2.3.1.orig/plugins/check_disk.c ++++ monitoring-plugins-2.3.1/plugins/check_disk.c +@@ -1030,7 +1030,7 @@ get_stats (struct parameter_list *p, str if (verbose >= 3) printf("Group %s: adding %llu blocks sized %llu, (%s) used_units=%g free_units=%g total_units=%g fsu_blocksize=%llu mult=%llu\n", p_list->group, tmpfsp.fsu_bavail, tmpfsp.fsu_blocksize, p_list->best_match->me_mountdir, p_list->dused_units, p_list->dfree_units, diff --git a/monitoring-plugins-wrong_return_in_check_swap.patch b/monitoring-plugins-wrong_return_in_check_swap.patch index 76436ca..9fd9203 100644 --- a/monitoring-plugins-wrong_return_in_check_swap.patch +++ b/monitoring-plugins-wrong_return_in_check_swap.patch @@ -29,11 +29,11 @@ SWAP CRITICAL - 0% free (0 MB out of 0 MB) |swap=0MB;0;0;0;0 Additional info: https://bugzilla.redhat.com/512559 -Index: monitoring-plugins-2.2/plugins/check_swap.c +Index: monitoring-plugins-2.3.1/plugins/check_swap.c =================================================================== ---- monitoring-plugins-2.2.orig/plugins/check_swap.c -+++ monitoring-plugins-2.2/plugins/check_swap.c -@@ -125,7 +125,7 @@ +--- monitoring-plugins-2.3.1.orig/plugins/check_swap.c ++++ monitoring-plugins-2.3.1/plugins/check_swap.c +@@ -125,7 +125,7 @@ main (int argc, char **argv) free_swap_mb += dskfree_mb; if (allswaps) { if (dsktotal_mb == 0) diff --git a/monitoring-plugins.changes b/monitoring-plugins.changes index d675286..dd72100 100644 --- a/monitoring-plugins.changes +++ b/monitoring-plugins.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Wed Apr 21 07:47:25 UTC 2021 - Lars Vogdt + +- Update to 2.3.1: + Enhancements + * check_curl: Add an option to verify the peer certificate & host using the system CA's + Fixes + * check_icmp: fix simple typo, conspicuosly -> conspicuously + * check_curl: fixed help, usage and errors for TLS 1.3 + * check_curl: fixed a potential buffer overflow in url buffer + * check_dns: split multiple IP addresses passed in one -a argument + * check_curl: added string_statuscode function for printing HTTP/1.1 and HTTP/2 correctly + * check_curl: fix crash if http header contains leading spaces + * check_curl: display a specific human-readable error message where possible + * check_pgsql: Using snprintf which honors the buffers size and guarantees null termination. + * check_snmp: put the "c" (to mark a counter) after the perfdata value + * check_http: Increase regexp limit + * check_http: make -C obvious + * check_curl: Increase regexp limit (to 1024 as in check_http) + * check_curl: make -C obvious (from check_http) +- refreshed patches: + + monitoring-plugins-1.4.6-no_chown.patch + + monitoring-plugins-2.1.1-check_logfile.patch + + monitoring-plugins-2.2-mariadb_102_build_fix.patch + + monitoring-plugins-2.3-check_ntp_perf_absolute.patch + + monitoring-plugins-too_few_arguments_for_check_disk.patch + + monitoring-plugins-wrong_return_in_check_swap.patch + + monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch + + monitoring-plugins.check_snmp.arrayaddress.patch +- add sha1 checksum file as source + ------------------------------------------------------------------- Thu Jan 14 20:47:42 UTC 2021 - Lars Vogdt diff --git a/monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch b/monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch index 4e8a5ff..0693ac4 100644 --- a/monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch +++ b/monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch @@ -1,8 +1,8 @@ -Index: monitoring-plugins-2.2/plugins/check_hpjd.c +Index: monitoring-plugins-2.3.1/plugins/check_hpjd.c =================================================================== ---- monitoring-plugins-2.2.orig/plugins/check_hpjd.c -+++ monitoring-plugins-2.2/plugins/check_hpjd.c -@@ -66,7 +66,7 @@ +--- monitoring-plugins-2.3.1.orig/plugins/check_hpjd.c ++++ monitoring-plugins-2.3.1/plugins/check_hpjd.c +@@ -66,7 +66,7 @@ void print_usage (void); char *community = NULL; char *address = NULL; diff --git a/monitoring-plugins.check_snmp.arrayaddress.patch b/monitoring-plugins.check_snmp.arrayaddress.patch index 49bc2d4..705f11b 100644 --- a/monitoring-plugins.check_snmp.arrayaddress.patch +++ b/monitoring-plugins.check_snmp.arrayaddress.patch @@ -1,13 +1,13 @@ -Index: monitoring-plugins-2.2/plugins/check_snmp.c +Index: monitoring-plugins-2.3.1/plugins/check_snmp.c =================================================================== ---- monitoring-plugins-2.2.orig/plugins/check_snmp.c -+++ monitoring-plugins-2.2/plugins/check_snmp.c -@@ -588,7 +588,7 @@ main (int argc, char **argv) - strncat(perfstr, critical_thresholds, sizeof(perfstr)-strlen(perfstr)-1); - } +--- monitoring-plugins-2.3.1.orig/plugins/check_snmp.c ++++ monitoring-plugins-2.3.1/plugins/check_snmp.c +@@ -576,7 +576,7 @@ main (int argc, char **argv) + len = sizeof(perfstr)-strlen(perfstr)-1; + strncat(perfstr, show, len>ptr-show ? ptr-show : len); - if (type) + if (type[0]) strncat(perfstr, type, sizeof(perfstr)-strlen(perfstr)-1); - strncat(perfstr, " ", sizeof(perfstr)-strlen(perfstr)-1); - } + + if (warning_thresholds) { diff --git a/monitoring-plugins.spec b/monitoring-plugins.spec index 53eda7c..d9139b7 100644 --- a/monitoring-plugins.spec +++ b/monitoring-plugins.spec @@ -17,14 +17,15 @@ Name: monitoring-plugins -Version: 2.3 +Version: 2.3.1 Release: 0 Summary: The Monitoring Plug-Ins License: GPL-2.0-or-later AND GPL-3.0-only Group: System/Monitoring URL: http://monitoring-plugins.org/ -Source0: %{name}-%{version}.tar.xz +Source0: %{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc +Source2: %{name}-%{version}.tar.gz.sha1 Source11: %{name}-permissions Source12: %{name}-README.SUSE Source13: %{name}-README.SUSE-check_dhcp