1
0
Commit Graph

68 Commits

Author SHA256 Message Date
Dirk Stoecker
33ed76535e Accepting request 921217 from home:fbui:branches:server:monitoring
- Remove unneeded build requirement on "syslog"

OBS-URL: https://build.opensuse.org/request/show/921217
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=89
2021-09-30 07:43:10 +00:00
Dirk Stoecker
5bf46a903b Accepting request 908175 from home:StevenK:branches:server:monitoring
- Remove unneeded BuildRequires on python-devel.

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

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

OBS-URL: https://build.opensuse.org/request/show/903362
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=87
2021-07-08 14:49:39 +00:00
Lars Vogdt
4db29d7900 - Update to 2.3.1:
Enhancements
  * check_curl: Add an option to verify the peer certificate & host using the system CA's
  Fixes
  * check_icmp: fix simple typo, conspicuosly -> conspicuously
  * check_curl: fixed help, usage and errors for TLS 1.3
  * check_curl: fixed a potential buffer overflow in url buffer
  * check_dns: split multiple IP addresses passed in one -a argument
  * check_curl: added string_statuscode function for printing HTTP/1.1 and HTTP/2 correctly
  * check_curl: fix crash if http header contains leading spaces
  * check_curl: display a specific human-readable error message where possible
  * check_pgsql: Using snprintf which honors the buffers size and guarantees null termination.
  * check_snmp: put the "c" (to mark a counter) after the perfdata value
  * check_http: Increase regexp limit
  * check_http: make -C obvious
  * check_curl: Increase regexp limit (to 1024 as in check_http)
  * check_curl: make -C obvious (from check_http)
- refreshed patches:
  + monitoring-plugins-1.4.6-no_chown.patch
  + monitoring-plugins-2.1.1-check_logfile.patch
  + monitoring-plugins-2.2-mariadb_102_build_fix.patch
  + monitoring-plugins-2.3-check_ntp_perf_absolute.patch
  + monitoring-plugins-too_few_arguments_for_check_disk.patch
  + monitoring-plugins-wrong_return_in_check_swap.patch
  + monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch
  + monitoring-plugins.check_snmp.arrayaddress.patch
- add sha1 checksum file as source

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=85
2021-04-21 08:01:53 +00:00
Lars Vogdt
9cd46364f8 - 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=84
2021-01-14 20:50:13 +00:00
Ruediger Oertel
bda40d34d3 - 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=82
2020-10-13 09:06:13 +00:00
Dirk Stoecker
3183ea96ca Accepting request 835369 from home:dstoecker:oldos
- Drop check_ping_fix_ip4.patch (obsolete, conflicts with upstream fix)

Upstream used another approach to fix this issue and now these two conflict. Drop my fix...

OBS-URL: https://build.opensuse.org/request/show/835369
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=80
2020-09-19 10:42:34 +00:00
Ruediger Oertel
8ff1572ff9 - 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=79
2020-09-14 13:19:34 +00:00
Ruediger Oertel
1baf120ee2 ...
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=78
2020-09-14 13:01:33 +00:00
Ruediger Oertel
da7df117d7 ...
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=77
2020-09-14 12:35:19 +00:00
Ruediger Oertel
efb03752f8 ...
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=76
2020-09-14 12:24:39 +00:00
Ruediger Oertel
21836c3787 add BR for automake autoconf libtool
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=75
2020-09-14 12:19:09 +00:00
Ruediger Oertel
6e82a8b132 try autoreconf instead
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=74
2020-09-14 12:08:21 +00:00
Ruediger Oertel
6ac6e1e447 call autogen.sh
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=73
2020-09-14 12:05:16 +00:00
Ruediger Oertel
29ea1b70d9 - 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=72
2020-09-14 12:03:05 +00:00
Ruediger Oertel
187627f6da - 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=71
2020-09-14 09:21:35 +00:00
Lars Vogdt
aa17aff8fb - 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)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=69
2019-07-15 08:09:39 +00:00
Ruediger Oertel
2100f7cf68 sle12/leap42 ping does not know the -4 parameter (boo#1132903)
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=67
2019-04-30 13:27:39 +00:00
Ruediger Oertel
70951b99f0 ..
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=65
2019-04-23 12:59:31 +00:00
Ruediger Oertel
349923bdae - apply check_ping_fix_ip4.patch only for suse_version >= 1500
sle12/leap42 ping does not know the -4 parameter (boo#132903)
  case so that ptrace is allowed (boo#1133107)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=64
2019-04-23 12:55:58 +00:00
Lars Vogdt
ff3938f241 Accepting request 692599 from home:dstoecker
- support IPv4 ping for dual stacked host again: check_ping_fix_ip4.patch

OBS-URL: https://build.opensuse.org/request/show/692599
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=62
2019-04-15 14:14:00 +00:00
Lars Vogdt
233e17263a Accepting request 694064 from home:cboltz:branches:server:monitoring
- update AppArmor profiles for usrMerge (related to boo#1132350)
  - grep in check_cups
  - ps in check_procs and check_procs.sle15

Note: ps currently still lives in /bin/, but also allowing /usr/bin/ to be prepared can't hurt ;-)

OBS-URL: https://build.opensuse.org/request/show/694064
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=61
2019-04-15 13:54:09 +00:00
Ruediger Oertel
86d642b69e - update usr.lib.nagios.plugins.check_procs to bash in /usr
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=60
2019-04-12 12:20:45 +00:00
Ruediger Oertel
3209af7c0a - update usr.lib.nagios.plugins.check_procs again for >= sle15
case so that ptrace is allowed

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=58
2019-02-06 15:21:10 +00:00
Lars Vogdt
8635ad4744 + 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=56
2018-10-04 15:01:15 +00:00
Lars Vogdt
acf7f53310 + nrpe-check_swap => check_swap
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=55
2018-10-03 21:36:47 +00:00
Lars Vogdt
ba2eb90360 permission
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=54
2018-10-03 18:58:46 +00:00
Lars Vogdt
7c98f4f46f OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=53 2018-10-03 14:15:16 +00:00
Lars Vogdt
014a7706e9 - use %%license macro on newer versions
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=52
2018-10-03 14:14:18 +00:00
Lars Vogdt
d470ea8c1c - add /etc/nrpe.d/*.cfg snipplets for
+ nrpe-check_load => check_load
  + nrpe-check_mailq => check_mailq
  + nrpe-check_ntp_time => check_ntp_time

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=51
2018-10-03 14:12:46 +00:00
Ruediger Oertel
4be93d60bc - 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.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=49
2018-08-09 22:50:02 +00:00
Lars Vogdt
860d21277f Accepting request 539987 from home:kstreitova:branches:server:monitoring
- 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

OBS-URL: https://build.opensuse.org/request/show/539987
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=47
2017-11-11 07:24:56 +00:00
Lars Vogdt
af3e7c44d2 - replace "ptrace" with "capability sys_ptrace" in
usr.lib.nagios.plugins.check_procs apparmor profile to avoid 
  errors on SLE-11

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=45
2017-10-10 19:43:07 +00:00
Ruediger Oertel
8c51a75b4d - add "ptrace" to usr.lib.nagios.plugins.check_procs apparmor
profile

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=44
2017-09-20 09:46:37 +00:00
4a8af515ea Accepting request 510061 from home:olh:branches:server:monitoring
- Remove unused gnutls from buildrequires

OBS-URL: https://build.opensuse.org/request/show/510061
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=42
2017-07-25 10:11:02 +00:00
893ce5e33d Accepting request 491938 from home:jengelh:branches:server:monitoring
- Replace %__-type macro indirections. Drop %clean, replace
  -exec \; by -exec +.

OBS-URL: https://build.opensuse.org/request/show/491938
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=40
2017-05-17 18:52:26 +00:00
Ruediger Oertel
f61eaa8ea1 - disable requires for apparmor on non-suse for now
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=38
2017-04-21 13:26:19 +00:00
Ruediger Oertel
5861089b81 - disable radius check (no freeradius-client-devel rpm found)
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=37
2017-04-21 12:05:23 +00:00
Ruediger Oertel
66c458804c fix buildreq for freeradius on centos
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=36
2017-04-21 11:50:49 +00:00
Ruediger Oertel
8a0c191bb0 ...
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=35
2017-04-21 11:03:34 +00:00
Ruediger Oertel
43b871d205 example is only created on suse (related to permissions hacks)
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=34
2017-04-21 10:57:04 +00:00
Ruediger Oertel
535f977df6 define _libexecdir on non-suse
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=33
2017-04-21 10:47:39 +00:00
Ruediger Oertel
ad02b13486 fix one unprotected suse_version use
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=32
2017-04-21 10:38:12 +00:00
Ruediger Oertel
e72071b304 ...
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=31
2017-04-21 10:28:04 +00:00
Ruediger Oertel
3a3b1950bb - wrap recommends with if suse_version
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=30
2017-04-21 10:20:26 +00:00
Ruediger Oertel
6adec55017 - adapt buildrequires for centos
- enclose all permissions handling with if suse_version

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=29
2017-04-21 10:13:44 +00:00
Lars Vogdt
0257e1ccd8 - 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=27
2017-01-13 13:54:52 +00:00
Ruediger Oertel
403e91d08e - usr.lib.nagios.plugins.check_disk:
include abstractions/nameservice to be able to check nfs mounts

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=25
2016-02-24 12:33:39 +00:00
Lars Vogdt
d023dd9fb7 remove old gz tarball
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=23
2015-10-29 08:57:17 +00:00
Lars Vogdt
4a28c57c0c - remove monitoring-plugins.negate.validate_arguments.patch : fixed
upstream

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=22
2015-10-29 08:56:42 +00:00