79 Commits

Author SHA256 Message Date
eefe55187c Accepting request 1192330 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1192330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=21
2024-08-08 08:58:28 +00:00
58de914819 Accepting request 1192323 from home:lrupp:branches:server:monitoring
- update to 4.1.1
  + Use correct HUP signal for Solaris
- introduced a simple check section

OBS-URL: https://build.opensuse.org/request/show/1192323
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=95
2024-08-07 15:43:15 +00:00
a91807d5c6 Accepting request 1149543 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1149543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=20
2024-02-22 20:01:49 +00:00
a6048d89d7 Accepting request 1149503 from home:dimstar:rpm4.20:n
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1149503
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=93
2024-02-22 14:46:54 +00:00
becdca1a15 Accepting request 1145416 from server:monitoring
- update to 4.1.0
  ENHANCEMENTS
  + Add support for OpenSSL 3 (and EL9/Debian 11/Ubuntu 22)
  + Allow tcpd/libwrap to be excluded from build when present on the system
  + Allow loading of full certificate chains
  + Change -u (connection issues return UNKNOWN) to include all SSL-layer failures.
  + Disable renegotiation and enforce server cipher order when using SSL
  + Verify that private keys match certificates when using SSL
  FIXES
  + Fixed incorrect default for nasty_metachars in nrpe.cfg
  + Fixed incorrect help text for --use-adh
  + Fixed potential out-of-bound read when used with IPv6
- use system-user-nagios package to create the neccessary 
  user and group
- remove macros for old, unsupported SUSE versions
- refresh patches:
  + nrpe-implicit_declaration.patch
  + nrpe-static_dh_parameters.patch
  + nrpe-4.0.4-silence_wrong_package_version_messages.patch
- remove patches:
  + nrpe-disable-chkconfig_in_Makefile.patch (obsolete)
  + nrpe-improved_help.patch (fixed upstream)
  + nrpe_check_control.patch (better fix inside the spec file 
    and use existing nagios macros)
- remove obsolete nrpe-rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/1145416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=19
2024-02-09 22:54:26 +00:00
Lars Vogdt
0d2d08c3d1 - update to 4.1.0
ENHANCEMENTS
  + Add support for OpenSSL 3 (and EL9/Debian 11/Ubuntu 22)
  + Allow tcpd/libwrap to be excluded from build when present on the system
  + Allow loading of full certificate chains
  + Change -u (connection issues return UNKNOWN) to include all SSL-layer failures.
  + Disable renegotiation and enforce server cipher order when using SSL
  + Verify that private keys match certificates when using SSL
  FIXES
  + Fixed incorrect default for nasty_metachars in nrpe.cfg
  + Fixed incorrect help text for --use-adh
  + Fixed potential out-of-bound read when used with IPv6
- use system-user-nagios package to create the neccessary 
  user and group
- remove macros for old, unsupported SUSE versions
- refresh patches:
  + nrpe-implicit_declaration.patch
  + nrpe-static_dh_parameters.patch
  + nrpe-4.0.4-silence_wrong_package_version_messages.patch
- remove patches:
  + nrpe-disable-chkconfig_in_Makefile.patch (obsolete)
  + nrpe-improved_help.patch (fixed upstream)
  + nrpe_check_control.patch (better fix inside the spec file 
    and use existing nagios macros)
- remove obsolete nrpe-rpmlintrc

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=91
2024-02-09 12:55:31 +00:00
a98e91c01a Accepting request 1126912 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1126912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=18
2023-11-16 19:29:52 +00:00
2d66b48b51 Accepting request 1121731 from home:msvec:branches:server:monitoring
- Fixed SLES 12 build

OBS-URL: https://build.opensuse.org/request/show/1121731
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=89
2023-11-16 14:35:27 +00:00
9c01cafbfe Accepting request 1072360 from server:monitoring
- use getent to check if the nrpe port is already added to the 
  services description in post-script (bsc#1205157)
- remove xinetd snipplets on newer (>15.5) distributions: 
  xinetd is not supported any longer

OBS-URL: https://build.opensuse.org/request/show/1072360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=17
2023-03-16 21:59:44 +00:00
Lars Vogdt
37ec4d7463 - use getent to check if the nrpe port is already added to the
services description in post-script (bsc#1205157)
- remove xinetd snipplets on newer (>15.5) distributions: 
  xinetd is not supported any longer

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=87
2023-03-16 10:59:59 +00:00
bc34d36bd2 Accepting request 925239 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/925239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=16
2021-10-15 21:03:50 +00:00
Lars Vogdt
97c66106ac - follow /bin/bash -> /usr/bin/bash in the apparmor profile
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=86
2021-10-07 10:08:35 +00:00
17f0f56ce7 Accepting request 874407 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/874407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=15
2021-02-23 19:21:16 +00:00
c381764f3d Accepting request 871264 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/871264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=14
2021-02-15 22:15:40 +00:00
Ruediger Oertel
ef1885b423 - fix apparmor profile to allow /run as well as /var/run
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=83
2021-02-15 16:52:11 +00:00
Lars Vogdt
78b07b9961 - added nrpe-4.0.4-silence_wrong_package_version_messages.patch
NRPE logs 'packet version was invalid' and 'Could not read request
  from client' if the NRPE version on the client does not match the
  one on the server side. 
  This patch reduces the importance of the log entry to be just 
  informal, which should silent most client logs, while it makes 
  it still available for debugging.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=82
2021-02-04 16:39:39 +00:00
249b7b9536 Accepting request 867677 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/867677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=13
2021-01-29 13:57:33 +00:00
Lars Vogdt
2bde70b759 - update to 4.0.3
ENHANCEMENTS
  * Added TLSv1.3 and TLSv1.3+ support for systems that have it (Nigel Yong, Rahul Golam)
  * Added IPv6 ip address to list of default allow_from hosts (Troy Lea)
  * Added -D option to disable logging to syslog (Tom Griep, Sebastian Wolf)
  * Added -3 option to force check_nrpe to use NRPE v3 packets
  * OpenRC: provide a default path for nrpe.cfg (Michael Orlitzky)
  * OpenRC: Use RC_SVCNAME over a hard-coded PID file (j-licht)
  FIXES
  * Fixed nasty_metachars not being read from config file (#235) (Sebastian Wolf)
  * Fixed buffer length calculations/writing past memory boundaries
    on some systems (#227, #228) (Andreas Baumann, hariwe, Sebastian Wolf)
  * Fixed use of uninitialized variable when validating requests (#229) (hariwe, Sebastian Wolf)
  * Fixed syslog flooding with CRC-checking errors when both plugin 
    and agent were updated to version 4 (Sebastian Wolf)
  * Checks for '!' now only occur inside the command buffer (Joni Eskelinen)
  * NRPE daemon is more resilient to DOS attacks (Leonid Vasiliev)
  * allowed_hosts will no longer test getaddrinfo records against the
    wrong protocol (dombenson)
  * nasty_metachars will now handle C escape sequences properly when
    specified in the config file (Sebastian Wolf)
  * Calculated packet sizes now struct padding/alignment when sending
    and receiving messages (Sebastian Wolf)
  * Buffer sizes are now checked before use in packet size calculation (Sebastian Wolf)
  * When using include_dir, individual files' errors do not prevent
    the remaining files from being read (Sebastian Wolf)
- refreshed the following patches:
  * nrpe-implicit_declaration.patch
  * nrpe-improved_help.patch
  * nrpe_check_control.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=80
2021-01-22 10:07:13 +00:00
06e570e0ba Accepting request 823539 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/823539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=12
2020-08-14 11:11:39 +00:00
Lars Vogdt
a4cc7da07b Accepting request 823190 from home:kukuk:branches:server:monitoring
- Don't install SuSEfirewall2 service file, SuSEfirewall2 is gone

OBS-URL: https://build.opensuse.org/request/show/823190
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=78
2020-07-30 09:16:52 +00:00
e79a72e207 Accepting request 780480 from server:monitoring
- nrpe.xml firewalld file is handled by firewalld package
- Leap 15.1 is suse_version 1500 (thanks, dimstar)
- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
  shortcut through the -mini flavors.
- Do not package nrpe.xml for Leap 15.0, as it is included in 
  firewalld package there. 
- add nrpe.xml snipplet for firewalld
- still ship nrpe snipplet for SuSEfirewalld for now
- use systemd files directly from upstream:
  + drop Requires=var-run.mount line from service file 
  + drop nrpe.service
  + drop nrpe.socket
  + do not create tmpfiles.d/nrpe in spec any longer
- handle migration from /etc/nagios/nrpe.cfg to /etc/nrpe.cfg also 
  for systemd case (triggerun)
- increase warn/crit level for processes to 350/400 in a default 
  installation
- added patch and dh.h file to NOT re-calculate dh.h parameters 
  during each build (for reproducable builds). 
  Can be enable/disable by setting the 'reproducable' build 
  condition. Default is: "on" for suse_version >= 15
  + nrpe-3.2.1-static_dh_parameters.patch
  + nrpe-3.2.1-dh.h
- use _rundir and _tmpfilesdir macros everywhere
- do not create nagios user/group during install on (open)SUSE
  systems and rely on the files section here instead
- rename nagios-nrpe-rpmlintrc and nagios-nrpe-SuSEfirewall2 to 
  nrpe-rpmlintrc and nrpe-SuSEfirewall2
- simplify rpmlintrc
- build nrpe-doc package as noarch 
- specfile cleanup & remove other distribution specials
- disable chkconfig call in Makefile on old distributions
  nrpe-3.2.1-disable-chkconfig_in_Makefile.patch

OBS-URL: https://build.opensuse.org/request/show/780480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=11
2020-02-29 20:23:40 +00:00
Lars Vogdt
aecb2f5b56 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=76 2020-02-29 10:42:20 +00:00
Lars Vogdt
048d9e4a35 - nrpe.xml firewalld file is handled by firewalld package
- Leap 15.1 is suse_version 1500 (thanks, dimstar)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=75
2020-02-21 15:55:21 +00:00
Lars Vogdt
4f0cb091f1 Accepting request 769649 from home:dimstar:Factory
Shortcut through -mini

OBS-URL: https://build.opensuse.org/request/show/769649
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=74
2020-02-03 19:42:14 +00:00
Lars Vogdt
baabc3ec6b - Do not package nrpe.xml for Leap 15.0, as it is included in
firewalld package there.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=73
2019-03-17 01:39:30 +00:00
Lars Vogdt
7993a30d95 - specfile cleanup & remove other distribution specials
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=72
2019-02-17 19:46:19 +00:00
Lars Vogdt
47481783d8 - disable chkconfig call in Makefile on old distributions
nrpe-3.2.1-disable-chkconfig_in_Makefile.patch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=71
2019-02-17 18:41:51 +00:00
Lars Vogdt
833e28d69c fix build for SLE-11
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=70
2019-02-17 18:41:14 +00:00
Lars Vogdt
c87931bfa5 - simplify rpmlintrc
- specfile cleanup

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=69
2019-02-17 18:02:33 +00:00
Lars Vogdt
e3dd27a2e4 condition. Default is: "on" for suse_version >= 15
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=68
2019-02-17 17:54:50 +00:00
Lars Vogdt
ba801c705c - rename nagios-nrpe-rpmlintrc and nagios-nrpe-SuSEfirewall2 to
nrpe-rpmlintrc and nrpe-SuSEfirewall2
- build nrpe-doc package as noarch

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=67
2019-02-17 17:53:06 +00:00
Lars Vogdt
a91577c9b3 - add nrpe.xml snipplet for firewalld
- still ship nrpe snipplet for SuSEfirewalld for now
- use systemd files directly from upstream:
  + drop Requires=var-run.mount line from service file 
  + drop nrpe.service
  + drop nrpe.socket
  + do not create tmpfiles.d/nrpe in spec any longer
- handle migration from /etc/nagios/nrpe.cfg to /etc/nrpe.cfg also 
  for systemd case (triggerun)
- increase warn/crit level for processes to 350/400 in a default 
  installation
- added patch and dh.h file to NOT re-calculate dh.h parameters 
  during each build (for reproducable builds). 
  Can be enable/disable by setting the 'reproducable' build 
  condition. Default is: "on" for now
  + nrpe-3.2.1-static_dh_parameters.patch
  + nrpe-3.2.1-dh.h
- use _rundir and _tmpfilesdir macros everywhere
- do not create nagios user/group during install on (open)SUSE
  systems and rely on the files section here instead

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=66
2019-02-17 17:49:38 +00:00
b0720e5013 Accepting request 643650 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/643650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=10
2018-10-23 18:38:07 +00:00
Lars Vogdt
a877fc460b add the missing bugzilla numbers to the line:
- call tmpfiles_create in postinstall (bsc#1080637 and bsc#924649)
(from Wed Oct 12 12:39:31 CEST 2016 by ro@suse.de)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=64
2018-10-15 07:45:23 +00:00
3abecfe549 Accepting request 614056 from server:monitoring
- only include %{_sysconfdir}/xinetd.d on newer distributions 
  (fixes submission of this package as update for SLE12-SP4 
   and Leap 42.3 - boo#938906)

OBS-URL: https://build.opensuse.org/request/show/614056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=9
2018-06-08 21:13:56 +00:00
Lars Vogdt
cd3d07d863 - only include %{_sysconfdir}/xinetd.d on newer distributions
(fixes submission of this package as update for SLE12-SP4 
   and Leap 42.3 - boo#938906)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=62
2018-06-04 17:58:30 +00:00
0c36612fbd Accepting request 591140 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/591140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=8
2018-03-28 08:31:41 +00:00
Lars Vogdt
95d9959589 Accepting request 591061 from home:dimstar:Factory
- Own %{_sysconfdir}/xinetd.d: filesystem won't own this directory
  much longer (boo#1084457).

OBS-URL: https://build.opensuse.org/request/show/591061
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=60
2018-03-26 15:38:24 +00:00
6425cc85f0 Accepting request 558578 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/558578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=7
2017-12-20 09:40:22 +00:00
Lars Vogdt
3d3bd7b9b0 Accepting request 557477 from home:jsjhb:branches:server:monitoring
- remove additional reference to removed nrpe@.service file

OBS-URL: https://build.opensuse.org/request/show/557477
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=58
2017-12-19 15:20:42 +00:00
Lars Vogdt
1f0038850b - remove unneeded nrpe@.service file
- cleanup the %%pre/%%post commands

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=57
2017-12-06 09:09:40 +00:00
975b6de6ac Accepting request 548945 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/548945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=6
2017-12-06 08:00:38 +00:00
Lars Vogdt
d0d8c724e5 Accepting request 548780 from home:oertel:branches:server:monitoring
- update to 3.2.1:
 FIXES
 - Change seteuid error messages to warning/debug (Bryan Heden)
 - Fix segfault when no nrpe_user is specified (Stephen Smoogen, Bryan Heden)
 - Added additional strings to error messages to remove duplicates (Bryan Heden)
 - Fix nrpe.spec for rpmbuild (Bryan Heden)
 - Fix error for drop_privileges when using inetd (xalasys-luc, Bryan Heden)
- update to 3.2.0:
 ENHANCEMENTS
 - Added max_commands definition to nrpe.cfg to rate limit simultaneous fork()ed children (Bryan Heden)
 - Added -E, --stderr-to-stdout options for check_nrpe to redirect output (Bryan Heden)
 - Added support for Gentoo init (Troy Lea @box293)
 - Cleaned up code a bit, updated readmes and comments across the board (Bryan Heden)
 - Added -V, --version to nrpe and fixed the output (Bryan Heden)
 - Added different SSL error messages to be able to pinpoint where some SSL errors occured (Bryan Heden)
 - Updated logic in al parse_allowed_hosts (Bryan Heden)
 - Added builtin OpenSSL Engine support where available (Bryan Heden + @skrueger8)
 - Clean up compilation warnings (Bryan Heden)
 - Added more commented commands in nrpe.cfg (Bryan Heden)
 FIXES
 - Undefined check returns UNKNOWN (Bryan Heden)
 - Fix incompatibility with OpenSSL 1.1.0 via SECLEVEL distinction (Bryan Heden)
 - Fix ipv4 error in logfile even if address is ipv6 (Bryan Heden)
 - Fix improper valid/invalid certificate warnings (Bryan Heden)

OBS-URL: https://build.opensuse.org/request/show/548780
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=55
2017-12-05 11:08:41 +00:00
30b1e61fb6 Accepting request 513684 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/513684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=5
2017-08-16 14:11:19 +00:00
Ruediger Oertel
77f91e8388 - change prereq from /bin/logger to /usr/bin/logger except for
code11 and older

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=53
2017-07-25 10:13:42 +00:00
62f4dcee19 Accepting request 501194 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/501194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=4
2017-06-07 07:55:26 +00:00
Lars Vogdt
39496c7cc9 - update to 3.1.1:
FIXES
 - The '--log-file=' or '-g' option is missing from the help (John Frickson)
 - check_nrpe = segfault when specifying a config file (John Frickson)
 - Alternate log file not being used soon enough (John Frickson)
 - Unable to compile v3.1.0rc1 with new SSL checks on rh5 (John Frickson)
 - Unable to compile nrpe-3.1.0 - undefined references to va_start, va_end (John Frickson)
 - Can't build on Debian Stretch, openssl 1.1.0c (John Frickson)
 - Fix build failure with -Werror=format-security (Bas Couwenberg)
 - Fixed a typo in `nrpe.spec.in` (John Frickson)
 - More detailed error logging for SSL (John Frickson)
 - Fix infinite loop when unresolvable host is in allowed_hosts (Nick / John Frickson)
- refreshed all patches

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=51
2017-05-29 15:30:03 +00:00
7d9a2c4d95 Accepting request 492268 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/492268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nrpe?expand=0&rev=3
2017-05-02 06:54:53 +00:00
Ruediger Oertel
a4b6f328b7 - drop Requires=var-run.mount line from service file on centos
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=49
2017-04-23 23:01:06 +00:00
Ruediger Oertel
644a6b2624 - call centos macros for systemd
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nrpe?expand=0&rev=48
2017-04-23 09:35:11 +00:00