17
0

140 Commits

Author SHA256 Message Date
17b1e5c927 Accepting request 1306545 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1306545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=36
2025-09-22 14:41:21 +00:00
19f8972dd8 Accepting request 1286377 from home:jcronenberg:branches:server:monitoring
- Remove BuildRequires dhcp-devel because it is EOL.

I am not sure why this BR is in here.
Upstream also doesn't depend on it af88e3ced3/.github/monitoring-plugins.spec

OBS-URL: https://build.opensuse.org/request/show/1286377
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=127
2025-09-22 12:38:27 +00:00
8a4bf9eab5 Accepting request 1266405 from server:monitoring
- Backport MTU checking support for fping, and v4/v6 handling improvements
  * 0001-Backport-fping-MTU-and-ipv4-6-handling-improvements.patch (forwarded request 1264789 from firstyear)

OBS-URL: https://build.opensuse.org/request/show/1266405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=35
2025-04-02 15:22:55 +00:00
Ruediger Oertel
2b320d3106 Accepting request 1264789 from home:firstyear:branches:server:monitoring
- Backport MTU checking support for fping, and v4/v6 handling improvements
  * 0001-Backport-fping-MTU-and-ipv4-6-handling-improvements.patch

OBS-URL: https://build.opensuse.org/request/show/1264789
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=126
2025-04-02 08:19:44 +00:00
05e6a74102 Accepting request 1250476 from server:monitoring
- update apparmor profiles:
  - check_load: allow to read /run/systemd/sessions/*
  - check_procs: allow to read /sys/devices/system/node/ (forwarded request 1244145 from oertel)

OBS-URL: https://build.opensuse.org/request/show/1250476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=34
2025-03-06 13:49:03 +00:00
Ruediger Oertel
fcde62fd5d Accepting request 1244145 from home:oertel:branches:server:monitoring
- update apparmor profiles:
  - check_load: allow to read /run/systemd/sessions/*
  - check_procs: allow to read /sys/devices/system/node/

OBS-URL: https://build.opensuse.org/request/show/1244145
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=125
2025-03-05 17:18:44 +00:00
b0bb16e5e3 Accepting request 1227828 from server:monitoring
- add patch monitoring-plugins-2.4.0-check_dbi-type_mismatch.patch
  to fix compilation with gcc-14
  passing argument 2 of ‘dbi_driver_open_r’ from incompatible pointer type 
- change mode to "manual" in service file (forwarded request 1227826 from oertel)

OBS-URL: https://build.opensuse.org/request/show/1227828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins?expand=0&rev=33
2024-12-03 19:46:09 +00:00
Ruediger Oertel
f203f68aba Accepting request 1227826 from home:oertel:branches:server:monitoring
- add patch monitoring-plugins-2.4.0-check_dbi-type_mismatch.patch
  to fix compilation with gcc-14
  passing argument 2 of ‘dbi_driver_open_r’ from incompatible pointer type 
- change mode to "manual" in service file

OBS-URL: https://build.opensuse.org/request/show/1227826
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=124
2024-12-02 17:15:18 +00:00
Lars Vogdt
f3da0cf675 Accepting request 1194151 from home:lrupp:branches:server:monitoring
- update to 2.4.0
  General
  + Use C99 booleans @RincewindsHat
  + Improve negate plugin helptext @euniceremoquillo
  + Add new test function for percentage expressions @RincewindsHat
  Single Plugins
  + check_mailq: remove trailing whitespaces @sni
  + check_mailq: unify tabs/spaces @sni
  + check_oracle: Shellcheck fixes @RincewindsHat
  + check_ups: output ups.realpower if supported @sbraz
  + check_disk: add -n short option for --ignore-missing @sni
  + check_procs: Improve help text, mentioning excluded processes @shartge
  + check_procs: Generalise wording, remove mentioning of nrpe @shartge
  + check_curl: add haproxy protocol option @emriver
  + check_disk: increase alert precision @sni
  + check_ircd: IPv6 support @oxzi
  + check_nwstat: adds percentage used space
  + check_swap: Possibility to run check_swap without thresholds @Napsty
  + check_ups: additional alarm conditions @RincewindsHat
  + check_http/check_curl: added a --regex-state option to change the state of a regex check @andreasbaumann
  General Fixes
  + Fixes for -Wsign-compare @RincewindsHat
  + Fix logic in is_uint64_t to fix type-limit warning @RincewindsHat
  + Prevent -lcrypto from showing up in Makefile dependencies @EricFromCanada
  + Change irritating NULL assignment @RincewindsHat
  Single Plugin Fixes
  + check_dbi: Compiler warning for uninitialized variable @RincewindsHat
  + check_curl: Initialize pointer before usage @RincewindsHat
  + check_ntp: Initialize intermediate results in any case @RincewindsHat
  + check_tcp: Fixes an error with using the wrong type for a variable @RincewindsHat

OBS-URL: https://build.opensuse.org/request/show/1194151
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=123
2024-08-16 14:13:03 +00:00
fbec2b628a 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
97e3b45ebc 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
f8bc8e5713 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
cac0d4a280 - 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
da0d8c193d 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
1f5f97abcd 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
cb0db795ed 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
71afded7de 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
34ccc690b0 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
3177cb4c94 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
b02bb8444a 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
78fcc75464 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
f69b9fd935 - 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
d8ed27d063 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
bee9e12b15 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
caba26b748 - 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
6d487c9895 - 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
886aa2f0e2 - 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
572948a5ee 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
82e6d44b2f 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
8352aba5da 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
5623ea6930 - 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
ecf11bb037 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
7ec7bb753b - 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
6531db894e 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
bd5ea58142 - 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
2bae700247 - 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
64c4eb2581 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
7cba95af3d 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
325eb930cf 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
12a1fa0e80 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
1120d19890 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
749ef6dfee 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
933e64f550 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
8a72b25695 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
3a5f8a2d46 - 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
9415292b4c - 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
7b8e660ed2 - 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
24ee4a4847 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
26b61467c5 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
deebd91e3d 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