Package Release Info

monitoring-plugins-2.3.1-3.9.2

Update Info: SUSE-SLE-Module-Packagehub-Subpackages-15-SP3-2022-546
Available in Package Hub : 15 SP3 Subpackages Updates

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

monitoring-plugins
monitoring-plugins-all
monitoring-plugins-breeze
monitoring-plugins-by_ssh
monitoring-plugins-by_ssh-debuginfo
monitoring-plugins-cluster
monitoring-plugins-cluster-debuginfo
monitoring-plugins-common
monitoring-plugins-common-debuginfo
monitoring-plugins-cups
monitoring-plugins-dbi
monitoring-plugins-dbi-debuginfo
monitoring-plugins-dbi-mysql
monitoring-plugins-dbi-pgsql
monitoring-plugins-dbi-sqlite3
monitoring-plugins-debuginfo
monitoring-plugins-debugsource
monitoring-plugins-dhcp
monitoring-plugins-dhcp-debuginfo
monitoring-plugins-dig
monitoring-plugins-dig-debuginfo
monitoring-plugins-disk
monitoring-plugins-disk-debuginfo
monitoring-plugins-disk_smb
monitoring-plugins-dns
monitoring-plugins-dns-debuginfo
monitoring-plugins-dummy
monitoring-plugins-dummy-debuginfo
monitoring-plugins-extras
monitoring-plugins-file_age
monitoring-plugins-flexlm
monitoring-plugins-hpjd
monitoring-plugins-hpjd-debuginfo
monitoring-plugins-icmp
monitoring-plugins-icmp-debuginfo
monitoring-plugins-ide_smart
monitoring-plugins-ide_smart-debuginfo
monitoring-plugins-ifoperstatus
monitoring-plugins-ifstatus
monitoring-plugins-ircd
monitoring-plugins-load
monitoring-plugins-load-debuginfo
monitoring-plugins-log
monitoring-plugins-mailq
monitoring-plugins-mrtg
monitoring-plugins-mrtg-debuginfo
monitoring-plugins-mrtgtraf
monitoring-plugins-mrtgtraf-debuginfo
monitoring-plugins-nagios
monitoring-plugins-nagios-debuginfo
monitoring-plugins-nt
monitoring-plugins-nt-debuginfo
monitoring-plugins-ntp_peer
monitoring-plugins-ntp_peer-debuginfo
monitoring-plugins-ntp_time
monitoring-plugins-ntp_time-debuginfo
monitoring-plugins-nwstat
monitoring-plugins-nwstat-debuginfo
monitoring-plugins-oracle
monitoring-plugins-overcr
monitoring-plugins-overcr-debuginfo
monitoring-plugins-ping
monitoring-plugins-ping-debuginfo
monitoring-plugins-procs
monitoring-plugins-procs-debuginfo
monitoring-plugins-radius
monitoring-plugins-radius-debuginfo
monitoring-plugins-real
monitoring-plugins-real-debuginfo
monitoring-plugins-rpc
monitoring-plugins-sensors
monitoring-plugins-smtp
monitoring-plugins-smtp-debuginfo
monitoring-plugins-snmp
monitoring-plugins-snmp-debuginfo
monitoring-plugins-ssh
monitoring-plugins-ssh-debuginfo
monitoring-plugins-swap
monitoring-plugins-swap-debuginfo
monitoring-plugins-time
monitoring-plugins-time-debuginfo
monitoring-plugins-ups
monitoring-plugins-ups-debuginfo
monitoring-plugins-users
monitoring-plugins-users-debuginfo
monitoring-plugins-wave

Change Logs

* Fri Dec 03 2021 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@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@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 fbui@suse.com
- Remove unneeded build requirement on "syslog"
* Mon Jul 26 2021 steven.kowalik@suse.com
- Remove unneeded BuildRequires on python-devel (bsc#1191011)
* Thu Jul 01 2021 bwiedemann@suse.com
- Call gettextize with --no-changelog to make package build
  reproducible (boo#1047218)
* Wed Apr 21 2021 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@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
* Tue Oct 13 2020 ro@suse.de
- add patch monitoring-plugins-2.3-check_ntp_perf_absolute.patch
  return ntp offset absolute (as positive value) in performance
  data since warn and crit are also positive values
* Fri Sep 18 2020 opensuse@dstoecker.de
- Drop check_ping_fix_ip4.patch (obsolete, conflicts with upstream fix)
* Mon Sep 14 2020 ro@suse.de
- change version to 2.3~alpha.$date.$commit
  update to current git as of 20200520T233014.cadac85e
  changes summarized
  * detect unreachable dns service in nslookup output
  * check_curl: host_name may be null
  * update test parameter according to check_http
  * check_curl: use CURLOPT_RESOLVE to fix connecting to the right ip
  * workaround for issue #1550 - better use "ping -4" instead
    of "ping" if supported
  * Use size_t instead of int when calling sysctl(3)
  * check_tcp: add --sni
  * Fix timeout_interval declarations
  * check_curl: NSS, parse more date formats from certificate (in
  - C cert check)
  * check_curl: more tolerant CN= parsing when checking
    certificates (hit on Centos 8)
  * setting no_body to TRUE when we have a HEAD request
  * some LIBCURL_VERSION checks around HTTP/2 feature
  * added --http-version option to check_curl to choose HTTP
  * improved curlhelp_parse_statusline to handle both HTTP/1.x
    and HTTP/2
  * check_curl: updates embedded picohttpparser to newest git
    version
  * setting progname of check_curl plugin to check_curl (at least
    for now)
  * Allow mariadbclient to be used for check_mysql
  * fix maxfd being zero
  * include -P switch in help
  * check_swap: repaired "-n" behaviour
  * improve command examples for 'at least' processes
  * check_mysql: Allow sockets to be specified to -H
  * Adding packages-warning option to check_apt plugin
  * Adding print top consuming processes option to check_load
  * check_snmp: make calcualtion of timeout value in help output more clear
  * [check_disk] add support to display inodes usage in perfdata
  * check_by_ssh: fix child process leak on timeouts
  * check_icmp: Add IPv6 support
  * check_dns: fix typo in parameter description
  * Also support the --show-body/-B flag when --expect is used
  * check_dns: improve support for checking multiple addresses
  * check_hpjd: Added -D option to disable warning on 'out of paper'
  * check_icmp: Do not overwrite -4,-6 on lookup
  * check_icmp: emit error if multiple protocol version
  * check_icmp: move opts string into a variable
  * check_cluster.c: Added data argument validation.
  * check_icmp: Correctly set address_family on lookup
  * check_icmp: process protocol version args first
  * check_icmp: Add IPv6 support
- monitoring-plugins-1.4.6-no_chown.patch
  drop hunk for Makefile.in (not present in git)
- monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch
  update context
- deleted monitoring-plugins-check_swap-fix-n.patch
  drop patch, is upstream
- drop explicit attr in filelist for check_host and check_rta_multi
  as they are symlinks to check_icmp
- add new subpackage monitoring-plugins-uptime
* Mon Jul 15 2019 lars@linux-schulserver.de - 2.2
- monitoring-plugins-mysql should also provide monitoring-plugins-mysql_query
- Provide/Obsolete nagios-plugins in old version for better
  compatibility and to allow dist upgrade (boo#1114483)
* Thu Aug 09 2018 ro@suse.de
- copy usr.lib.nagios.plugins.check_procs as
  usr.lib.nagios.plugins.check_procs.sle15 and use that for sle15
  and above. "ptrace" to enable ptrace globally is needed here.
Version: 2.3.1-150000.3.14.1
* Wed May 31 2023 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)
Version: 2.2-bp152.4.3.1
* Mon Sep 14 2020 ro@suse.de
- 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
Version: 2.2-bp150.2.1
* Sun Apr 14 2019 Christian Boltz <suse-beta@cboltz.de>
- update AppArmor profiles for usrMerge (related to boo#1132350)
  - grep in check_cups
  - ps in check_procs and check_procs.sle15
* Tue Apr 09 2019 Dirk Stoecker <opensuse@dstoecker.de>
- support IPv4 ping for dual stacked host again: check_ping_fix_ip4.patch
Version: 2.2-3.3.1
* Tue Apr 23 2019 ro@suse.de
- apply check_ping_fix_ip4.patch only for suse_version >= 1500
  sle12/leap42 ping does not know the -4 parameter (boo#1132903)
* Sun Apr 14 2019 suse-beta@cboltz.de
- update AppArmor profiles for usrMerge (related to boo#1132350)
  - grep in check_cups
  - ps in check_procs and check_procs.sle15
* Fri Apr 12 2019 ro@suse.de
- update usr.lib.nagios.plugins.check_procs to bash in /usr
* Tue Apr 09 2019 opensuse@dstoecker.de
- support IPv4 ping for dual stacked host again: check_ping_fix_ip4.patch
* Fri Nov 30 2018 ro@suse.de
- update usr.lib.nagios.plugins.check_procs again for >= sle15
  case so that ptrace is allowed (boo#1133107)
* Wed Oct 03 2018 lars@linux-schulserver.de
- add /etc/nrpe.d/*.cfg snipplets for
  + nrpe-check_load => check_load
  + nrpe-check_mailq => check_mailq
  + nrpe-check_ntp_time => check_ntp_time
  + nrpe-check_swap => check_swap
  + nrpe-check_total_procs => check_procs
  + nrpe-check_zombie_procs => check_procs
  + nrpe-check_users => check_users
  + nrpe-check_mysql => check_mysql
  + nrpe-check_proc_cron => check_procs
  + nrpe-check_partition => check_disk
  + nrpe-check_ups => check_ups
- use %%license macro on newer versions
* Fri Aug 10 2018 ro@suse.de
- copy usr.lib.nagios.plugins.check_procs as
  usr.lib.nagios.plugins.check_procs.sle15 and use that for sle15
  and above. "ptrace" to enable ptrace globally is needed here.
* Wed Nov 08 2017 kstreitova@suse.com
- add monitoring-plugins-2.2-mariadb_102_build_fix.patch to fix
  build with MariaDB 10.2 (in our case the build with libmariadb
  library from the mariadb-connector-c package)
  * upstream commit d6bd787123aa9ccd96edec8286ec22dd0442c620
* Tue Oct 10 2017 lars@linux-schulserver.de
- replace "ptrace" with "capability sys_ptrace" in
  usr.lib.nagios.plugins.check_procs apparmor profile to avoid
  errors on SLE-11
* Wed Sep 20 2017 ro@suse.de
- add "ptrace" to usr.lib.nagios.plugins.check_procs apparmor
  profile
* Thu Jul 13 2017 olaf@aepfle.de
- Remove unused gnutls from buildrequires
* Fri Apr 28 2017 jengelh@inai.de
- Replace %__-type macro indirections. Drop %clean, replace
  - exec \; by -exec +.
* Fri Apr 21 2017 ro@suse.de
- disable requires for apparmor on non-suse for now
* Fri Apr 21 2017 ro@suse.de
- adapt buildrequires for centos
- enclose all permissions handling with if suse_version
- wrap recommends with if suse_version
- disable radius check (no freeradius-client-devel rpm found)
* Fri Jan 13 2017 lars@linux-schulserver.de
- update to 2.2:
  Enhancements
  + The check_http -S/--ssl option now accepts the arguments 1.1 and
    1.2 to force TLSv1.1 and TLSv1.2 connections, respectively
  + The check_http -S/--ssl option now allows for specifying the
    desired protocol with a + suffix to also accept newer versions
  + Let check_http check HTTPS web sites via proxies
  + check_http: add timeout to performance data as max value
  + check_http: report certificate expiry date in UTC
  + check_snmp: add IPv6 support
  + check_snmp's performance data now also includes warning/
    critical thresholds
  + New check_snmp -N option to specify SNMPv3 context name
  + Let check_smtp's -D option imply -S
  + Let check_smtp's -e option match against the full SMTP response
  + check_dig: expected response is now case-insensitive
  + New check_mailq -s option which tells the plugin to use sudo(8)
  + New check_nt -l parameters: seconds|minutes|hours|days
  + New -W/-C option for check_ldap to check number of entries
  + check_users: add support for range thresholds
  + check_fping now auto-detects IPv6 addresses
  + check_radius now supports the radcli library
  + Support OpenSSL 1.1
  Fixes
  + check_http: fix host header port handling
  + Let check_real terminate lines with CRLF when talking to the server,
    as mandated by RFC 2326
  + Fix check_procs on HP-UX
  + check_smtp's -e/--expect option can now be combined with -S/--starttls
  + Fix incorrect performance data thresholds emitted by check_ups
  + Don't let check_procs miss some processes on busy Solaris systems
  Warnings
  + The format of the performance data emitted by check_mrtgtraf has
    been changed to comply with the development guidelines
  + check_ssh now returns CRITICAL for protocol/version errors
  + If a plugin is invoked with -h/--help or -V/--version, the exit status
    is now UNKNOWN
  + The superseeded check_ntp.pl was removed, please use check_ntp_peer
    or check_ntp_time instead
- refreshed patches
- removed monitoring-plugins.check_snmp.snmpv3-context.patch:
  included upstream
* Wed Feb 24 2016 ro@suse.de
- usr.lib.nagios.plugins.check_disk:
  include abstractions/nameservice to be able to check nfs mounts
* Mon Oct 26 2015 lars@linux-schulserver.de
- remove monitoring-plugins-postgresql.patch : fixed upstream
- remove monitoring-plugins.negate.validate_arguments.patch : fixed
  upstream
- add patch comments to spec file as requested by rpmlint
- rebase all patches to current code stream
* Fri Oct 16 2015 mardnh@gmx.de
- update to 2.1.2:
  ENHANCEMENTS
  + check_snmp's performance data now also includes warning/critical
    thresholds
  + New check_snmp "-N" option to specify SNMPv3 context name
  + New check_nt "-l" parameters: seconds|minutes|hours|days
  + New check_mailq -s option which tells the plugin to use sudo(8)
  + New -W/-C option for check_ldap to check number of entries (Gerhard Lausser)
  + The check_http -S/--ssl option now accepts the arguments "1.1" and "1.2"
    to force TLSv1.1 and TLSv1.2 connections, respectively
  + The check_http -S/--ssl option now allows for specifying the desired
    protocol with a "+" suffix to also accept newer versions
  FIXES
  + Let check_real terminate lines with CRLF when talking to the server, as
    mandated by 2326
  + Fix check_procs on HP-UX
  + check_smtp's -e/--expect option can now be combined with -S/--starttls
  + Fix incorrect performance data thresholds emitted by check_ups
  WARNINGS
  + The format of the performance data emitted by check_mrtgtraf has been
    changed to comply with the development guidelines
  + check_ssh now returns CRITICAL for protocol/version errors
  + If a plugin is invoked with -h/--help or -V/--version, the exit status
    is now UNKNOWN
  + The superseded check_ntp.pl was removed, please use check_ntp_peer or
    check_ntp_time instead
- use source url
* Thu Aug 20 2015 lars@linux-schulserver.de
- fix wrong requires for monitoring-plugins-dbi* packages
  (fixes bnc #914486)
* Sat Aug 01 2015 lars@linux-schulserver.de
- add apparmor profiles for the following checks:
  + check_disk
  + check_load
  + check_procs
  + check_swap
  + check_users