1
0
monitoring-plugins/monitoring-plugins-too_few_arguments_for_check_disk.patch
Lars Vogdt 4db29d7900 - 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
2021-04-21 08:01:53 +00:00

14 lines
903 B
Diff

Index: monitoring-plugins-2.3.1/plugins/check_disk.c
===================================================================
--- 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,
- p_list->dtotal_units, mult);
+ p_list->dtotal_units, tmpfsp.fsu_blocksize, mult);
/* prevent counting the first FS of a group twice since its parameter_list entry
* is used to carry the information of all file systems of the entire group */