Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: monitoring-plugins-cups | Distribution: openSUSE:Factory:zSystems |
Version: 2.3.5 | Vendor: openSUSE |
Release: 3.1 | Build date: Mon Apr 8 15:31:23 2024 |
Group: System/Monitoring | Build host: reproducible |
Size: 15869 | Source RPM: monitoring-plugins-2.3.5-3.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://monitoring-plugins.org/ | |
Summary: Check cups service |
Check the status of a remote CUPS server, all printers there or one selected. It can also check queue there: it will provide the size of the queue of age of queue.
GPL-2.0-or-later AND GPL-3.0-only
* 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. * Tue Feb 06 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) * Fri Dec 03 2021 Lars Vogdt <lars@linux-schulserver.de> - 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 * Thu Dec 02 2021 Lars Vogdt <lars@linux-schulserver.de> - remove monitoring-plugins-2.3.1-check_snmp_hang_on_STDERR_workaround.patch the patch just reverts the problem, if you get more than 64K on stdout * Fri Nov 19 2021 Lars Vogdt <lars@linux-schulserver.de> - 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: ./check_dhcp -s 192.168.1.1 -x CRITICAL: Rogue DHCP Server detected! Server 192.168.1.205 offered 192.168.1.239 - added monitoring-plugins-2.3.1-check_ssh.patch , which includes patches provided by op5, mainly around RFC 4253:4.2 and 4253:5 + fixing a few typos + properly parse a (delayed) version control string + Handle non-alpha software versions reported by the checked service - added monitoring-plugins-2.3.1-check_ssh.t_-_improve_testing.patch which improves the testing of check_ssh - including the patches mentioned in monitoring-plugins-2.3.1-check_ssh.patch - added monitoring-plugins-2.3.1-fixing-shellcheck.patch , which fixes some complains from shellcheck(.net): + quoting and parenthesis in check_log.sh, check_oracle.sh, check_sensors.sh * Thu Sep 23 2021 Franck Bui <fbui@suse.com> - Remove unneeded build requirement on "syslog" * Mon Jul 26 2021 Steve Kowalik <steven.kowalik@suse.com> - Remove unneeded BuildRequires on python-devel (bsc#1191011) * Thu Jul 01 2021 Bernhard Wiedemann <bwiedemann@suse.com> - Call gettextize with --no-changelog to make package build reproducible (boo#1047218) * Wed Apr 21 2021 Lars Vogdt <lars@linux-schulserver.de> - 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 * Thu Jan 14 2021 Lars Vogdt <lars@linux-schulserver.de> - Update to 2.3 (final): Enhancements * check_dns: allow 'expected address' (-a) to be specified in CIDR notation (IPv4 only). * check_dns: allow for IPv6 RDNS * check_dns: Accept CIDR * check_dns: allow unsorted addresses * check_dns: allow forcing complete match of all addresses * check_apt: add --only-critical switch * check_apt: add -l/--list option to print packages * check_file_age: add range checking * check_file_age: enable to test for maximum file size * check_apt: adding packages-warning option * check_load: Adding top consuming processes option * check_http: Adding Proxy-Authorization and extra headers * check_snmp: make calcualtion of timeout value in help output more clear * check_uptime: new plugin for checking uptime to see how long the system is running * check_curl: check_http replacement based on libcurl * check_http: Allow user to specify HTTP method after proxy CONNECT * check_http: Add new flag --show-body/-B to print body * check_cluster: Added data argument validation * check_icmp: Add IPv6 support * check_icmp: Automatically detect IP protocol * check_icmp: emit error if multiple protocol version * check_disk: add support to display inodes usage in perfdata * check_hpjd: Added -D option to disable warning on 'out of paper' * check_http: support the --show-body/-B flag when --expect is used * check_mysql: allow mariadbclient to be used * check_tcp: add --sni * check_dns: detect unreachable dns service in nslookup output Fixes * Fix regression where check_dhcp was rereading response in a tight loop * check_dns: fix error detection on sles nslookup * check_disk_smb: fix timeout issue * check_swap: repaired -n behaviour * check_icmp: Correctly set address_family on lookup * check_icmp: Do not overwrite -4,-6 on lookup * check_smtp: initializes n before it is used * check_dns: fix typo in parameter description * check_by_ssh: fix child process leak on timeouts * check_mysql: Allow sockets to be specified to -H * check_procs: improve command examples for 'at least' processes * check_disk: include -P switch in help * check_mailq: restore accidentially removed options
/etc/apparmor.d /etc/apparmor.d/usr.lib.nagios.plugins.check_cups /usr/lib/nagios/plugins /usr/lib/nagios/plugins/check_cups /usr/share/doc/packages/monitoring-plugins-cups /usr/share/doc/packages/monitoring-plugins-cups/README.SUSE-check_cups
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Nov 7 00:51:36 2024