Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

monitoring-plugins-http-2.4.0-1.2 RPM for i586

From OpenSuSE Ports Tumbleweed for i586

Name: monitoring-plugins-http Distribution: openSUSE Tumbleweed
Version: 2.4.0 Vendor: openSUSE
Release: 1.2 Build date: Mon Dec 2 17:52:44 2024
Group: System/Monitoring Build host: reproducible
Size: 80168 Source RPM: monitoring-plugins-2.4.0-1.2.src.rpm
Packager: http://bugs.opensuse.org
Url: http://monitoring-plugins.org/
Summary: Test the HTTP service on the specified host
This plugin tests the HTTP service on the specified host. It can test
normal (http) and secure (https) servers, follow redirects, search for
strings and regular expressions, check connection times, and report on
certificate expiration times.

Provides

Requires

License

GPL-2.0-or-later AND GPL-3.0-only

Changelog

* Mon Dec 02 2024 ro@suse.de
  - 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
* Mon Jul 29 2024 Lars Vogdt <lars@linux-schulserver.de>
  - 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
    + check_mailq: exit on empty strings and exit early @sni
    + check_users: Change option for sanity checking arguments to avoid segfault @RincewindsHat
    + check_users: Update help to properly show that thresholds are ranges @RincewindsHat
    + check_users: fix segfault @RincewindsHat
    + check_dbi: Fix compiler warning for uninitialized variable @RincewindsHat
    + check_curl: Initialize pointer before usage @RincewindsHat
    + check_ntp: Initialize intermediate results in any case @RincewindsHat
    + check_ntp_peer: Fixes for Wmaybe-unitialized and some restructuring @RincewindsHat
    + check_dns: Remove unused variable @RincewindsHat
    + check_disk: fix ignore-missing in combination with includes @sni
    + check_procs: ignore our own children @shartge
    + check_http: Remove self assignment of a variable and add some comments @RincewindsHat
    + check_snmp: Remove unused variable @RincewindsHat
    + check_dhcp: Make implicit conversion explicit to dismiss warning @RincewindsHat
    + Ini Parser: Avoid freeing symbols from text section @RincewindsHat
    + check_icmp: keep performance data order in case of none-reachable hosts @sni
    + check_swap: Change another fake boolean to a real one @RincewindsHat
    + check_swap: Rename type since *_t is reserved for C standard types @RincewindsHat
    + check_ssh: Fix a typo in "remote-protocol parameter
    + check_ssh: Handle non-alpha software versions
    + check_ssh: properly parse a delayed version control string
    + check_disk: Fail on missing arguments for --warning and --critical and fix a test case @RincewindsHat
    + check_disk: Use new test function for percentage expressions @RincewindsHat
    + check_load: remove unused code @RincewindsHat
    + check_curl/check_http: clarified format of POST data @andreasbaumann
  - introduce _service
  - refresh patches:
    + monitoring-plugins-2.3.5-check_http-proxy.patch
    - > monitoring-plugins-2.4.0-check_http-proxy.patch
    + monitoring-plugins-2.3.5-check_log_-_quoting.patch
    - > monitoring-plugins-2.4.0-check_log_-_quoting.patch
    + monitoring-plugins-2.3.5-check_ntp_perf_absolute.patch
    - > monitoring-plugins-2.4.0-check_ntp_perf_absolute.patch
    + monitoring-plugins-2.3.5-check_swap_wrong_percent.patch
    - > monitoring-plugins-2.4.0-check_swap_wrong_percent.patch
    + monitoring-plugins-2.3.5-plugins-root-Makefile_-_no_chown.patch
    - > monitoring-plugins-2.4.0-plugins-root-Makefile_-_no_chown.patch
  - dropped patches:
    + monitoring-plugins-2.3.5-check_ssh.patch
    + monitoring-plugins-2.3.5-check_ssh.t_-_improve_testing.patch
  - remove old distribution flags and following subpackages:
    + monitoring-plugins-apt
    + monitoring-plugins-game
* Mon Apr 08 2024 ro@suse.de
  - 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
* Tue Feb 27 2024 Lars Vogdt <lars@linux-schulserver.de>
  - 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
* Fri Feb 23 2024 pgajdos@suse.com
  - Use %patch -P N instead of deprecated %patchN.
* Mon Feb 05 2024 Andrew Daugherity <adaugherity@tamu.edu>
  - 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)
* Mon Jan 29 2024 Dominique Leuenberger <dimstar@opensuse.org>
  - Do not ship check_mssql unless built explicitly with mssql
    support. DBD::Sybase is not available in openSUSE distros.
* Mon Jan 15 2024 Pedro Monreal <pmonreal@suse.com>
  - 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.
* Tue Dec 05 2023 Lars Vogdt <lars@linux-schulserver.de> - 2.3.5
  - 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
    * check_snmp: disable multiplier when unused
    * check_wave: Use compile time determined path to snmpget
    GENERAL
    * Sync with the Gnulib code 668c0b8ffa
    * Set autoconf prerequisite version to 2.64
    * Remove sha1 and use sha256 in some parts of the plugin structure
    * A lot of compiler warnings were fixed
    * Some code was refactored a little bit
  - removed the following patches:
    + monitoring-plugins-2.3.3-check_log_-_quoting.patch (upstream)
    + monitoring-plugins-2.3.3-check_snmp.arrayaddress.patch (upstream)
    + monitoring-plugins-2.3.3-mariadb_102_build_fix.patch
    + monitoring-plugins-2.3.3-check_dhcp_-_detect_rogue_dhcp_servers.patch
    + monitoring-plugins-2.3.3-check_http-proxy.patch
    + monitoring-plugins-2.3.3-check_icmp.patch
    + systemd-not-utmp.patch
  - new check: check_mssql
    This plugin runs a query against a MS-SQL server or Sybase server
    and returns the first row.
    Recommended in monitoring-plugins-all and monitoring-plugins-extra
* Thu Nov 16 2023 ro@suse.de
  - also require coreutils-systemd in monitoring-plugins-load
    as the check uses the uptime binary at runtime
    revisiting [bsc#1216148]
* Mon Oct 30 2023 ro@suse.de
  - 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
* Mon Oct 16 2023 Thorsten Kukuk <kukuk@suse.com>
  - Add buildrequires for coreutils-systemd, as the configure script
    checks for uptime [bsc#1216148]
* Thu Jun 15 2023 Thorsten Kukuk <kukuk@suse.com>
  - systemd-not-utmp.patch: let check_users prefer systemd-logind
    over utmp (jsc#PED-3144)
* Wed May 31 2023 David Disseldorp <ddiss@suse.com>
  - 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)
* Thu Apr 13 2023 Lars Vogdt <lars@linux-schulserver.de> - 2.3.3
  - 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
* Wed Apr 12 2023 Archie Cobbs <archie.cobbs@gmail.com>
  - 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)
* Wed Apr 12 2023 Lars Vogdt <lars@linux-schulserver.de> - 2.3.3
  - finally remove monitoring-plugins-1.4.6-Makefile_-_no_chown.patch:
    obsoleted by monitoring-plugins-2.3.3-root-plugins-Makefile_-_no_chown.patch
  - monitoring-plugins-2.1.1-check_log_-_quoting.patch renamed to
    monitoring-plugins-2.3.3-check_log_-_quoting.patch
* Thu Feb 02 2023 Lars Vogdt <lars@linux-schulserver.de> - 2.3.3
  - 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
    + check_http: Reformat a part to increase readability
    + check_apt: Put upgrade options in the root sections
    + check_apt: Fix comment
    + check_apt: Use real booleans
    + check_mailq: Fixing nullmailer regex
    + check_snmp: Fix regex matches
    + check_log: Fixed a bug when using --all
    + check_log: Cleaned up duplicated code in the args
    + check_http: Fix memory reallocation error in chunk decoding logic
    + check_http: Add space for ending NULL byte in array for chunked encoding
  - included changes in 2.3.2
    General
    + Use silent automake by default
    Fixes
    Single Plugins
    + check_by_ssh: added option to exit with an warning, if there is output on STDERR
    + check_by_ssh: Add "-U" flag (#1123).
    + check_by_ssh: Let ssh decide if a host is valid, enables usage of ssh .config file
    + check_curl: Add an option to check_curl to verify the peer certificate & host using the system CA's
    + check_curl: fixed -ffollow for HTTP/2.0 (Fixes #1685): added major_version parsing to PicoHTTPParser
    + check_curl: fixes check_curl: "CRITICAL - Cannot retrieve certificate subject."
    + check_curl: fix if http header contains leading spaces
    + check_curl: Update check_curl.c to display a specific human-readable error message where possible
    + check_curl: verify certificates option should not force SSL to be used
    + check_disk: Description for -M was the wrong way around
    + check_disk: Fixing the stuff that is broken on btrfs
    + check_disk: Fix perfdata for big values for check disk
    + check_disk_smb: Add configfile feature
    + check_disk_smb: Add timeout
    + check_dns: Add --expect-nxdomain
    + check_dns: split multiple IP addresses passed in one -a argument
    + check_file_age: Make size parameter a little bit more intelligible
    + check_fping: Implements 'host-alive' mode (Closes. #1027)
    + check_game: Update Url to qstat
    + check_http: changed 'STATE_CRITICAL' to 'STATE_WARNING' for infinite loop
    + check_http: Increase regexp limit by @hydrapolic
    + check_http: Support http redirect by @waja
    + check_icmp: buffer offerflow
    + check_icmp: delay set_source_ip() until address_family is detected
    + check_icmp: Fix "Invalid Argument" from sendmsg() under FreeBSD 13.1 and "setsockopt failed" for TTL setting
    + check_icmp: Fix pkt perfdata in check_host mode
    + check_ldap: Allows check_ldap to read password from environment variable
    + check_load: add LOAD prefix to load plugin
    + check_load: Display total and scaled load values if check_load scales the values by number of CPUs
    + check_log: Missing oldlog now aborts check_log
    + check_mailq: Add mailq -C option for config dir or config file
    + check_mailq: Check mailq domain specific warnings
    + check_mailq: Fix regexp for nullmailer "mailq" output
    + check_mysql: fix segfaults with mysql-connector-c #1562
    + check_pgsql: add --queryname parameter to check_pgsql
    + check_ping: Do not show RTA if no connection was possible
    + check_ping: understang ping6 output from iputils package
    + check_proc: Fix check proc ps detection
    + check_procs: exchange needle and haystack in strstr() for proper state match
    + check_smtp: add -L flag to support LMTP (LHLO instead of HELO/EHLO).
    + check_snmp: Added option for null zero length string exit codes
    + check_snmp: fix performance thresholds when using multiple oids
    + check_snmp fix segfaults
    + check_snmp: put the "c" (to mark a counter) after the perfdata value
    + check_swap: fix parsing swap values
    + check_swap: Fix perfdata for check swap
    + check_swap: Fix unit for total in perfdata
    + check_swap: Handle cached swap
    + check_swap: Small fix to threshold validation and style (indentation) fixes
    + check_ups: Fix possible overflow in check_ups
    + check_uptime: Add option to report uptime in days instead of seconds
    + check_uptime: Fix/improve output message "Uptime is ..."
    Multiple Plugins
    + check_http, check_curl: added --max-redirs=N option (feature #1684)
    + check_http, check_curl: Enhancement --continue-after-certificate (backport from nagios-plugins)
    + check_http, check_curl: Remove check_http and check_curl test which are somehow always failing
    + check_log, check_oracle, check_sensors: Several fixes shellcheck complaining about
    + sslutils: use chain from client certificates
    Non functional changes
    + Trivial source code whitespace formatting fixes to standard.
    + docs: fix simple typo, conspicuosly -> conspicuously
    + Migrate to GitHub actions
    + Point to Icinga Exchange instead of dead Monitoring Exchange
    + github actions: fix check_users test case
    + Add CodeQL checks
    + Fix some QL problems
    + Update CodeQL and update runner before installing
    + check_disk: Check disk compiler warnings
    + check_disk: Trivial printf fix and a little bit of code style
    + check_http: Docs: make -C obvious
    + check_ifoperstatus: Re-attach a comment to where it actually belongs
    + check_ircd: Restrict the nickname length of the test user for check_ircd
    + check_load: Check load compiler warnings
    + check_log Modernize check log
    + check_mailq: remove duplicate W=i/C=i args in check_mailq.pl
    + check_ntp: Check ntp remove unused variables
    + check_pgsql: Using snprintf which honors the buffers size and guarantees null temination. (Closes: #1601)
    + check_procs: Fix double percentage sign in usage
    + check_sensors.sh: Make shellcheck happier
    + check_snmp: Fixed option description authpassword -> authpasswd + whitespaces
    + check_swap: Check swap compiler warnings
  - refreshed monitoring-plugins-1.4.6-Makefile_-_no_chown.patch
    - > monitoring-plugins-2.3.3-root-plugins-Makefile_-_no_chown.patch
  - refreshed monitoring-plugins-2.3.1-check_ssh.patch
    - > monitoring-plugins-2.3.3-check_ssh.patch
  - refreshed monitoring-plugins-2.3.1-check_dhcp_-_detect_rogue_dhcp_servers.patch
    - > monitoring-plugins-2.3.3-check_dhcp_-_detect_rogue_dhcp_servers.patch
  - refreshed monitoring-plugins-2.3.1-check_ssh.t_-_improve_testing.patch
    - > monitoring-plugins-2.3.3-check_ssh.t_-_improve_testing.patch
  - refreshed monitoring-plugins-2.3.1-check_disk_on_btrfs.patch
    - > monitoring-plugins-2.3.3-check_disk_on_btrfs.patch
  - refreshed monitoring-plugins-2.3.1-check_by_ssh.patch
    - > monitoring-plugins-2.3.3-check_by_ssh.patch
  - removed monitoring-plugins-too_few_arguments_for_check_disk.patch
    - > fixed upstream
  - removed monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch
    - > fixed upstream
  - removed monitoring-plugins-2.3.1-check_snmp_segfaults.patch
    - > fixed upstream
* Thu Oct 06 2022 ro@suse.de
  - changed buildrequires libsmbclient-devel to pkgconfig(smbclient)
    as samba packages have been reorganized in SLE and openSUSE
* Sat Jul 02 2022 Archie Cobbs <archie.cobbs@gmail.com>
  - 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)
* Tue Mar 22 2022 Stefan Seifert <nine@detonation.org>
  - added monitoring-plugins-2.3.1-check_disk_on_btrfs.patch
    backport fix for check_disk reporting critical on btrfs (nagios-plugins
    issue %569)

Files

/usr/lib/nagios/plugins
/usr/lib/nagios/plugins/check_http


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Jan 12 02:11:34 2025