Revisions of monitoring-plugins

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1152323 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 31)
- naming the renamed patches exactly, to make factory-auto happy:
  + monitoring-plugins-2.3.3-wrong_percent_in_check_swap.patch to
    monitoring-plugins-2.3.5-check_swap_wrong_percent.patch
  + monitoring-plugins-2.3.3-check_ssh.patch to
    monitoring-plugins-2.3.5-check_ssh.patch
  + monitoring-plugins-2.3.3-check_ssh.t_-_improve_testing.patch to
    monitoring-plugins-2.3.5-check_ssh.t_-_improve_testing.patch
  + monitoring-plugins-2.3.3-check_ntp_perf_absolute.patch to
    monitoring-plugins-2.3.5-check_ntp_perf_absolute.patch
  + monitoring-plugins-2.3.3-root-plugins-Makefile_-_no_chown.patch to
    monitoring-plugins-2.3.5-plugins-root-Makefile_-_no_chown.patch
  + monitoring-plugins-2.3.3-check_log_-_quoting.patch to
    monitoring-plugins-2.3.5-check_log_-_quoting.patch
  + monitoring-plugins-2.3.3-check_http-proxy.patch to
    monitoring-plugins-2.3.5-check_http-proxy.patch

- Use %patch -P N instead of deprecated %patchN.

- enable check_curl by BuildRequiring its dependencies 
- restore patches not yet applied upstream (and rename to 2.3.5):
  + monitoring-plugins-2.3.3-check_log_-_quoting.patch
  + monitoring-plugins-2.3.3-check_http-proxy.patch
- drop upstreamed patches:
  + monitoring-plugins-2.3.3-check_by_ssh.patch (GitHub #1774)
  + monitoring-plugins-2.3.3-check_disk_on_btrfs.patch (GH #1388)
  - GitHub issues for patches upstreamed on 2023-12-05:
    + monitoring-plugins-2.3.3-check_snmp.arrayaddress.patch (GH #1870)
    + monitoring-plugins-2.3.3-mariadb_102_build_fix.patch (GH #1522)
    + monitoring-plugins-2.3.3-check_dhcp_-_detect_rogue_dhcp_servers.patch (GH #1906)
    + monitoring-plugins-2.3.3-check_icmp.patch (GH #1807)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1126870 from Ruediger Oertel's avatar Ruediger Oertel (oertel) (revision 29)
- also require coreutils-systemd in monitoring-plugins-load
  as the check uses the uptime binary at runtime
  revisiting [bsc#1216148]
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1121479 from Ruediger Oertel's avatar Ruediger Oertel (oertel) (revision 28)
- renamed patches
  monitoring-plugins-wrong_return_in_check_swap.patch
  to monitoring-plugins-2.3.3-wrong_percent_in_check_swap.patch
  monitoring-plugins.check_snmp.arrayaddress.patch
  to monitoring-plugins-2.3.3-check_snmp.arrayaddress.patch
  monitoring-plugins-2.3-check_ntp_perf_absolute.patch
  to monitoring-plugins-2.3.3-check_ntp_perf_absolute.patch

- Add buildrequires for coreutils-systemd, as the configure script
  checks for uptime [bsc#1216148]

- systemd-not-utmp.patch: let check_users prefer systemd-logind
  over utmp (jsc#PED-3144)

- Add attach_disconnected flag for usr.lib.nagios.plugins.check_procs
  and usr.lib.nagios.plugins.check_procs.sle15 apparmor profiles to
  permit /proc/PID/exe access; (bsc#1209194)

- added monitoring-plugins-2.3.3-check_icmp.patch
  Simple patch to avoid compiler errors with latest gcc
- removed monitoring-plugins-2.3.1-fixing-shellcheck.patch - upstream
- renamed monitoring-plugins-2.2-mariadb_102_build_fix.patch
  to monitoring-plugins-2.3.3-mariadb_102_build_fix.patch

- added monitoring-plugins-2.3.3-check_http-proxy.patch
  Fixes a check_http bug when trying to follow a redirect
  returned from a URL retrieved via SSL proxy (issue #1764)

- finally remove monitoring-plugins-1.4.6-Makefile_-_no_chown.patch: 
  obsoleted by monitoring-plugins-2.3.3-root-plugins-Makefile_-_no_chown.patch
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 940945 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 24)
Preparing for inclusion in SLE12 and (latest) SLE15 as general update (to have the package on the same version in all SLE distributions. 
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 933139 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 23)
JFYI: this is planned as update also for SLE12 and SLE15.
Please have a closer look, not that I missed something.
As the plugins are in productive use on monitor.opensuse.org, I
do not expect big issues. But the dhcpd plugin was not extensively tested, yet.


- recommend syslog for monitoring-plugins-log, as people probably 
  want to analize logs generated by (r)syslog or journald
Renamed patches:
- renamed monitoring-plugins-1.4.6-no_chown.patch to 
  monitoring-plugins-1.4.6-Makefile_-_no_chown.patch to make it
  easier to detect the patched file
- renamed monitoring-plugins-2.1.1-check_logfile.patch to 
  monitoring-plugins-2.1.1-check_log_-_quoting.patch to make it
  easier to detect the patched file and reason for the patch
New patches:
- added monitoring-plugins-2.3.1-check_snmp_segfaults.patch 
  check_snmp will segfaults at line 489 if number of lines returned 
  by SNMPD is greater than number of defined thresholds
  -> https://github.com/monitoring-plugins/monitoring-plugins/pull/1589
- added monitoring-plugins-2.3.1-check_snmp_hang_on_STDERR_workaround.patch
  When the MIBs are not quite right, snmpget outputs lots of errors on 
  STDERR before getting down to business.
  If this is enough to fill the pipe buffer, snmpget hangs waiting for 
  it to be cleared, which it never will be because check_snmp is 
  waiting for snmpget to output something on STDOUT.
  This simple fix from s2156945 for this is to read STDERR before STDOUT.
  cmd_run_array from utils_cmd.c is also used by plugins/check_by_ssh 
  and plugins/negate but you're likely to get lots of errors or lots 
  of output, not both at the same time.
  The real fix is probably to do a select() and read from both as 
  they come in.
  https://github.com/monitoring-plugins/monitoring-plugins/issues/1706
- added monitoring-plugins-2.3.1-check_dhcp_-_detect_rogue_dhcp_servers.patch 
  feature enhancement from Patrick Cervicek for check_dhcp, which allows 
  to detect rogue DHCP servers. Use it with the "-x" flag, example:
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 888965 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 19)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 842723 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 18)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 715402 from Lars Vogdt's avatar Lars Vogdt (lrupp) (revision 16)
- monitoring-plugins-mysql should also provide monitoring-plugins-mysql_query
- Provide/Obsolete nagios-plugins in old version for better 
  compatibility and to allow dist upgrade (boo#1114483)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 699682 from Ruediger Oertel's avatar Ruediger Oertel (oertel) (revision 15)
  sle12/leap42 ping does not know the -4 parameter (boo#1132903)
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 697173 from Ruediger Oertel's avatar Ruediger Oertel (oertel) (revision 14)
- apply check_ping_fix_ip4.patch only for suse_version >= 1500
  sle12/leap42 ping does not know the -4 parameter (boo#132903)

  case so that ptrace is allowed (boo#1133107)
Displaying revisions 1 - 20 of 32
openSUSE Build Service is sponsored by