1
0
Commit Graph

131 Commits

Author SHA256 Message Date
Ana Guerrero
2eaa000d0e Accepting request 1166345 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1166345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=32
2024-04-09 14:48:02 +00:00
Lars Vogdt
63d0309470 Accepting request 1166211 from home:oertel:branches:server:monitoring
- update apparmor profiles:
  - check_load: allow to read /run/systemd/sessions/1 while we
    still have to use "uptime" (upstream issue 1999)
  - check_disk: allow to read /proc/pid/mountinfo

OBS-URL: https://build.opensuse.org/request/show/1166211
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=122
2024-04-09 09:39:04 +00:00
Ana Guerrero
a71c504257 Accepting request 1152323 from server:monitoring
- 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)

OBS-URL: https://build.opensuse.org/request/show/1152323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=31
2024-02-27 21:49:46 +00:00
Lars Vogdt
b25473109b - 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=121
2024-02-27 15:26:12 +00:00
Michael Vetter
b94c916a46 Accepting request 1149719 from home:pgajdos:m
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1149719
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=120
2024-02-23 08:57:44 +00:00
Lars Vogdt
c26a8b5fed Accepting request 1144413 from home:adaugherity:branches:server:monitoring
- 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)
    + systemd-not-utmp.patch (GH #1888)
- Repair the "no chown" patch to actually avoid calling chown; avoid
  automake build deps by patching Makefile.in rather than Makefile.am.
  + After upstream updated the gl subdir, it complains that the automake
    in SLE 12 SP5 is too old.
- Fix build on SLE 12 SP5 (link failure due to mixing OpenSSL 1.0 & 1.1)
  by using only OpenSSL 1.1, and excluding curl subpackage (needs uriparser).
- Rename patch files to match version number.
- sync check_mssql package description with plugin's help output
  + Note that not all distros contain perl-DBD-Sybase and/or freetds
- remove obsolete configure options
  + --with-ntp{q,dc,date}-command dropped upstream in 1.4.4 (e667553)
  + --with-proc-loadavg dropped in 1.4.6 (fe856aa)
- remove unnecessary chmod commands during build
- disable gettextize as upstream has (temporarily?) removed translations (GH #1947)

OBS-URL: https://build.opensuse.org/request/show/1144413
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=119
2024-02-09 14:04:24 +00:00
Ana Guerrero
614cb17823 Accepting request 1144267 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1144267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=30
2024-02-05 21:02:15 +00:00
Lars Vogdt
2bc4b20bc9 Accepting request 1142573 from home:dimstar:Factory
- Do not ship check_mssql unless built explicitly with mssql
  support. DBD::Sybase is not available in openSUSE distros.

Fix issue reported in https://build.opensuse.org/request/show/1139160

OBS-URL: https://build.opensuse.org/request/show/1142573
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=118
2024-02-05 13:33:08 +00:00
Lars Vogdt
db13358820 Accepting request 1139115 from home:pmonrealgonzalez:branches:server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1139115
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=117
2024-01-16 13:14:35 +00:00
Lars Vogdt
c0f2d03d1d Accepting request 1138821 from home:pmonrealgonzalez:branches:server:monitoring
- check_ircd: Remove the perl-IO-Socket-INET6 dependency.
  * Remove the dependency on perl(IO::Socket::INET6) as it has been
    deprecated by upstream, is no longer suitable for use and its not
    being maintained. A compatible replacement for this package is
    perl(IO::Socket::IP) which is shipped by the perl-base package.
  * Add monitoring-plugins-ircd-INET6-deprecation.patch

OBS-URL: https://build.opensuse.org/request/show/1138821
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=116
2024-01-16 08:39:51 +00:00
Lars Vogdt
7e20b26c28 Accepting request 1130995 from home:lrupp:branches:server:monitoring
- update to 2.3.5
  FIXES
  * Include maxfd.h in lib Makefile
  included in 2.3.4
  ENHANCEMENTS
  * check_curl: added --cookie-jar and doing proper cleanup of libcurl
  * check_curl: Include all IPs from getaddrinfo() in curl DNS cache
  * check_dhcp: Add dhcp rogue detection
  * check_disk: add ignore-missing option to return OK for missing fs
  * check_disk_smb: allow checking 0-sized resource (ex. IPC$)
  * check_disk: The options to include or exclude specific file 
    systems now allow the usage of regex(7)
  * check_icmp: Add support to Jitter, MOS and Score
  * check_mysql: Detect running mysqldump and handle it 
    more gracefully
  * check_procs: Implement --exclude-process to exclude 
    specific processes
  * check_smtp: add new longoption --tls
  * check_smtp: Add option to prefix PROXY header
  * check_smtp: Add support for SMTP over TLS
  * check_smtp: Add support for SNI
  * check_snmp: Implement option to ignore mib file parsing errors
  * check_users: prefer systemd-logind over utmp
  FIXES
  * check_disk: Display SI units correctly
  * check_ircd: use pack_sockaddr_in rather than hand-rolled
  * check_log/check_oracle/check_sensors: fixed the outputs of the 
    help functionality
  * check_mysql: Add mysql_close to avoid spamming the server logs
  * check_smtp: add missing -r option in usage

OBS-URL: https://build.opensuse.org/request/show/1130995
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=115
2023-12-05 15:44:03 +00:00
Ana Guerrero
104325a308 Accepting request 1126870 from server:monitoring
- also require coreutils-systemd in monitoring-plugins-load
  as the check uses the uptime binary at runtime
  revisiting [bsc#1216148]

OBS-URL: https://build.opensuse.org/request/show/1126870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=29
2023-11-16 19:29:34 +00:00
Ruediger Oertel
e2ae5d8965 - also require coreutils-systemd in monitoring-plugins-load
as the check uses the uptime binary at runtime
  revisiting [bsc#1216148]

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=114
2023-11-16 13:07:38 +00:00
Dominique Leuenberger
623c7f613a Accepting request 1121479 from server:monitoring
- 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

OBS-URL: https://build.opensuse.org/request/show/1121479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=28
2023-11-01 21:09:45 +00:00
Ruediger Oertel
7ad2aeddc3 more changelog cleanup properly referencing renamed patches
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=113
2023-10-31 17:31:52 +00:00
Ruediger Oertel
2721b7adbb - renamed patches
to monitoring-plugins-2.3.3-wrong_percent_in_check_swap.patch
  to monitoring-plugins-2.3.3-check_snmp.arrayaddress.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=112
2023-10-30 17:23:40 +00:00
Ruediger Oertel
662d1095b5 - drop unused patches
monitoring-plugins-wrong_return_in_check_swap.patch
  monitoring-plugins.check_snmp.arrayaddress.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=111
2023-10-30 17:19:52 +00:00
Ruediger Oertel
7b74520447 - drop unused/duplicate patch file
monitoring-plugins-2.3-check_ntp_perf_absolute.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=110
2023-10-24 16:43:24 +00:00
Ruediger Oertel
b111a5b9dc Accepting request 1118057 from home:kukuk:branches:server:monitoring
- Add buildrequires for coreutils-systemd, as the configure script
  checks for uptime [bsc#1216148]

OBS-URL: https://build.opensuse.org/request/show/1118057
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=109
2023-10-24 16:42:44 +00:00
Martin Hauke
6aff090ca2 Accepting request 1093439 from home:kukuk:no-utmp
- systemd-not-utmp.patch: let check_users prefer systemd-logind
  over utmp (jsc#PED-3144)

OBS-URL: https://build.opensuse.org/request/show/1093439
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=108
2023-09-14 13:42:09 +00:00
Lars Vogdt
83ad0b15ce Accepting request 1090989 from home:dmdiss:bsc1209194_aa_prof_nagios_check_procs
- 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)

OBS-URL: https://build.opensuse.org/request/show/1090989
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=107
2023-06-06 11:02:33 +00:00
Lars Vogdt
ff423082c0 - removed monitoring-plugins-2.3.1-fixing-shellcheck.patch - upstream
- removed monitoring-plugins-2.2-mariadb_102_build_fix.patch - upstream

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=106
2023-05-02 17:26:17 +00:00
Lars Vogdt
0b15daa120 typo fix
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=105
2023-04-13 15:42:32 +00:00
Lars Vogdt
56f2f155ba - added monitoring-plugins-2.3.3-check_icmp.patch
Simple patch to avoid compiler errors with latest gcc
- monitoring-plugins-2.1.1-check_log_-_quoting.patch renamed to 
  monitoring-plugins-2.3.3-check_log_-_quoting.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=104
2023-04-13 15:29:20 +00:00
Lars Vogdt
5a538430e0 Accepting request 1078823 from home:archie172:branches:server:monitoring
- 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)

OBS-URL: https://build.opensuse.org/request/show/1078823
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=103
2023-04-13 14:26:19 +00:00
Lars Vogdt
1e7f2b14fb - add configuration files for nrpe and sudo:
+ sudoers_check_bind9 - allowing to execute nrpe check as root
  + nrpe_check_bind9 - nrpe check
- add hard requirement for sudo
- add soft requirement for nrpe

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=102
2023-04-12 17:37:10 +00:00
Lars Vogdt
7e6efb42c5 - Update to 2.3.3
Enhancements
  General
  + using PRId64 and PRIu64 instead of %ld directly
  Single Plugins
  + check_http: Make faster with larger files
  + check_snmp: add 'multiplier' to modify current value
  + check_http: Implement chunked encoding decoding
  + check_http/check_curl: add chunked encoding test
  + check_log: Added --exclude to exclude patterns
  + check_log: Add tests
  + check_disk: Clarify usage possibilites
  Fixes
  General
  + fixed two PRId64 to PRIu64 in perfdata_uint64
  Single Plugins
  + check_pgsql: Removing is_pg_dbname alltogether,using postgres API.
  + check_http: Remove superflous CRLF in HTTP-Requests
  + check_curl: detect ipv6
  + check_icmp: fix parsing help/version long options
  + check_http: fix test plan
  + check_disk: Find accessible mount path if multiple are available
  + check_apt: Fix unknown escape sequence error output
  + check_curl: fix checking large bodys
  + check_snmp: Improve tests for check_snmp & multiply option
  + check_snmp: always apply format when applying multiplier
  + check_http: Use real booleans instead of ints
  + check_http: Document process_arguments a little bit better
  + check_http: Remove dead code
  + check_http: Fix several bug in the implementation of unchunking

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=101
2023-02-23 15:43:20 +00:00
Dominique Leuenberger
760f0f2c0a Accepting request 1011118 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1011118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=27
2022-10-15 14:38:30 +00:00
b82aee2d3d Accepting request 1008377 from home:oertel:branches:server:monitoring
- changed buildrequires libsmbclient-devel to pkgconfig(smbclient)
  as samba packages have been reorganized in SLE and openSUSE

OBS-URL: https://build.opensuse.org/request/show/1008377
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=100
2022-10-15 12:39:14 +00:00
Dominique Leuenberger
8b11caa1b1 Accepting request 988981 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/988981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=26
2022-07-14 14:34:13 +00:00
Dirk Stoecker
d89bfe524f Accepting request 986368 from home:archie172:branches:server:monitoring
- added monitoring-plugins-2.3.1-check_by_ssh.patch
  Adds "-U" flag, which causes a 255 exit value from ssh(1), which
  indicates a connection failure, to return UNKNOWN instead of CRITICAL.
  (issue #1123)

OBS-URL: https://build.opensuse.org/request/show/986368
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=99
2022-07-13 11:40:53 +00:00
Dominique Leuenberger
b29e02b0cd Accepting request 965012 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/965012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=25
2022-03-26 21:31:10 +00:00
Lars Vogdt
75b012c355 Accepting request 963894 from home:niner9:branches:server:monitoring
- added monitoring-plugins-2.3.1-check_disk_on_btrfs.patch
  backport fix for check_disk reporting critical on btrfs (nagios-plugins
  issue %569)

OBS-URL: https://build.opensuse.org/request/show/963894
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=98
2022-03-26 11:36:45 +00:00
Dominique Leuenberger
f4c70a4ccb Accepting request 940945 from server:monitoring
Preparing for inclusion in SLE12 and (latest) SLE15 as general update (to have the package on the same version in all SLE distributions.

OBS-URL: https://build.opensuse.org/request/show/940945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=24
2021-12-16 20:19:51 +00:00
Lars Vogdt
b4f87ed0ed OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=97 2021-12-16 17:51:54 +00:00
Lars Vogdt
6911247b56 - include upstream fixes for check_swap
- add patch monitoring-plugins-check_swap-fix_comment.patch
  simply fix the plugin name in the comment
- monitoring-plugins-check_swap-fix_zero_output.patch
  improve the output if the swap has zero size
- monitoring-plugins-check_swap-return_unknown.patch
  use unknown exit code for help/version in plugins
- updated context in

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=96
2021-12-16 15:29:14 +00:00
Lars Vogdt
46faef6ff1 - fix changelog order
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=95
2021-12-03 09:21:55 +00:00
Lars Vogdt
fd8ac840ff - removed the following, either upstreamed or integrated in other patches:
+ monitoring-plugins-wrong_return_in_check_swap.patch
  + monitoring-plugins-check_swap-fix_comment.patch
  + monitoring-plugins-check_swap-return_unknown.patch
  + monitoring-plugins-check_swap-fix-n.patch

- include upstream fixes for check_swap
- add patch monitoring-plugins-check_swap-fix_comment.patch
  simply fix the plugin name in the comment
- monitoring-plugins-check_swap-fix_zero_output.patch
  improve the output if the swap has zero size
- monitoring-plugins-check_swap-return_unknown.patch
  use unknown exit code for help/version in plugins
- add patch monitoring-plugins-check_swap-fix-n.patch
  check_swap fix behaviour for "-n" if 0 free swap is left
  from git commit 6995b510759cf531d70745b7d0c6e8a0d9010b06
  (bug#1175828)
- updated context in
  monitoring-plugins-wrong_return_in_check_swap.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=94
2021-12-03 08:47:04 +00:00
Lars Vogdt
c6dafb590d remove link to Factory
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=93
2021-12-02 15:16:38 +00:00
Dominique Leuenberger
d1b04a5866 Accepting request 933139 from server:monitoring
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:

OBS-URL: https://build.opensuse.org/request/show/933139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=23
2021-11-23 21:10:33 +00:00
Lars Vogdt
35ea43154e Some patches are not recognized by the factory-auto bot. Let's see, if we can
get them through by isolating them from the rest of the text...

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=91
2021-11-22 16:21:53 +00:00
Lars Vogdt
8e37c1a55c - 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:
- add 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:

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=90
2021-11-19 13:47:30 +00:00
Dominique Leuenberger
38403e13c5 Accepting request 922292 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/922292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=22
2021-09-30 21:43:36 +00:00
Dirk Stoecker
33ed76535e Accepting request 921217 from home:fbui:branches:server:monitoring
- Remove unneeded build requirement on "syslog"

OBS-URL: https://build.opensuse.org/request/show/921217
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=89
2021-09-30 07:43:10 +00:00
Dominique Leuenberger
82f386e838 Accepting request 909914 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/909914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=21
2021-08-03 20:48:52 +00:00
Dirk Stoecker
5bf46a903b Accepting request 908175 from home:StevenK:branches:server:monitoring
- Remove unneeded BuildRequires on python-devel.

OBS-URL: https://build.opensuse.org/request/show/908175
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=88
2021-08-03 08:49:03 +00:00
Dominique Leuenberger
307a278b59 Accepting request 905095 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/905095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=20
2021-07-08 20:49:27 +00:00
Lars Vogdt
bae7bceb27 Accepting request 903362 from home:bmwiedemann:branches:server:monitoring
Call gettextize with --no-changelog to make package build reproducible (boo#1047218)

This can help avoid superfluous updates of monitoring-plugins packages in our infra

OBS-URL: https://build.opensuse.org/request/show/903362
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=87
2021-07-08 14:49:39 +00:00
Dominique Leuenberger
5e6a1334d9 Accepting request 888965 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/888965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=19
2021-04-28 23:38:18 +00:00
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