223 Commits

Author SHA256 Message Date
70e5f1e07e Accepting request 1311997 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1311997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=59
2025-10-17 15:27:29 +00:00
880ab1ab41 - Update to 2.15.1
* Security
    - CVE-2025-61907: Prevent API users from accessing variables and objects they
      don't have access to within filter expressions.
      This allowed authenticated API users to learn information they aren't allowed
      to access directly.
    - CVE-2025-61908: Add a missing null pointer check while evaluating expressions.
      This allowed authenticated API users to crash the Icinga 2 daemon by supplying
      a crafted filter expression.
    - CVE-2025-61909: Don't send signals as root in safe-reload script and logrotate config.
      This allowed a limited privilege escalation from the Icinga 2 service user to root.
      The scope is limited to sending SIGHUP or SIGUSR1 to an arbitrary process. #10590
    - Windows: Update to OpenSSL 3.0.18. #10591
  * Bugfixes
    - When a reload triggered from Icinga Director (or the /v1/config API) fails,
      the corresponding state is cleared, allowing to deploy a new config
      without having to restart Icinga 2 manually first. #10584
  * Enhancements
    - Add JSON-RPC utilization metrics and troubleshooting docs. #10586
    - When sending cluster messages to other zones, prefer endpoints in the order
      as specified in the zone configuration. #10587
    - Track the number of JSON-RPC messages received for each message type per endpoint. #10585
    - Add support for building with Boost v1.89 and use it on Windows. #10578
- Drop 76fa0d9e8054f405dc3d1e39a4b48f21e86afdf0.patch because now in upstream.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=200
2025-10-17 11:24:51 +00:00
3bc2d835c5 Accepting request 1308492 from server:monitoring
Fix build.

OBS-URL: https://build.opensuse.org/request/show/1308492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=58
2025-10-02 17:20:50 +00:00
dd6bcf5479 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=199 2025-10-02 04:20:06 +00:00
2611e37136 - Boost.System has been header only since Boost 1.69.0
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=198
2025-09-27 18:09:50 +00:00
0a2edca15d Accepting request 1287041 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1287041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=57
2025-06-20 14:50:17 +00:00
33cf9a494c - Update ot 2.15.0
* Breaking Changes
    - API: Fix /v1/objects/* queries with attrs set to [] to return empty attributes instead of all of them. #8169
    - Drop the undocumented Checkable#process_check_result and broken System#track_parents DSL functions. #10457
  * Enhancements
    - Gracefully disconnect all clients on shutdown and prevent from accepting new connections. #10460
    - Icinga DB: Send data to Redis® exactly as they're stored in the database to avoid extra value-mapping routines by the Go daemon. #10452
    - Add support for Icinga 2 dependencies in Icinga DB. #10290
    - Take host/service reachability into account when computing its severity. #10399
    - Rework the dependency cycle detection to efficiently handle large configs and provide better error messages. #10360
    - Don't log next check timestamp in scientific notation. #10352
    - Automatically remove child downtimes when removing parent downtime. #10345
    - Ensure compatibility with Boost version up to v1.88. #10278 #10419
    - Reject infinite performance data values. #10077
    - Support host_template and service_template tags in ElasticsearchWriter. #10074
    - Icinga DB: Support Redis® username authentication. #10102
    - Cluster: Distribute host child objects (e.g. services, notifications, etc.) based on the host's name. #10161
    - Icinga DB Check: Report an error if both Icinga DB instances are responsible in a HA setup. #10188
    - Windows: upgrade build toolchain to Visual Studio 2022. #9747
  * Bugfixes
    * Core
      - Use Checkable#check_timeout also for rescheduling remote checks. #10443
      - Log: Don't unnecessarily buffer log messages that are going to be dropped anyway. #10177
      - Don't loose perfdata counter (c) unit when normalizing performance data for Icinga DB. #10432
      - Fix broken SELinux policy on Fedora ≥ 41 due to the new /usr/sbin to /usr/bin equivalence. #10429
      - Don't load Notification objects before User and UserGroup objects to allow them to be referenced in notifications. #10427
      - Ensure consistent DST handling across different platforms. #10422
      - Fix Icinga 2 doesn't generate a core dump when it crashes with SIGABRT. #10416
      - Don't process concurrent checks for the same checkable. #10372
      - Don't process check results after the checker and API listener have been stopped. #10397
      - Avoid zombie processes on plugin execution timeout on busy systems. #10375
      - Properly restore the notification object state on Recovery notification. #10361
      - Fix incorrectly dropped acknowledgement and recovery notifications. #10211
      - Prevent checks from always being rescheduled outside the configured check_period. #10070
      - Don't send reminder notifications after a Custom notification while interval is set to 0. #7818
      - Reset all signal handlers of child processes to their defaults before starting a plugin. #8011
      - tests: Fix FormatDateTime test cases with invalid formats on macOS and all BSD-based systems. #10149
      - Mark move constructor and assignment operator in String as noexcept to allow optimizations. #10353 #10365
    * Cluster and API
      - Fix an inverted condition in ApiListener#IsHACluster() that caused to always return true in a non-HA setup. #10417
      - Don't silently accept authenticated JSON-RPC connections with no valid endpoint. #10415
      - Sync Notification#notified_problem_users across the cluster to prevent lost recovery notifications. #10380
      - Remove superfluous ) from a HTTP request log message. #9966
      - Disable TLS renegotiation (handshake on existing connection) on OpenBSD as well. #9943
      - Log also the underlying error message when a HTTP request is closed with No data received by Icinga 2. #9928
      - Fix a deadlock triggered by concurrent /v1/actions/add-comment and /v1/actions/acknowledge-problem requests
        on the same checkable, as   well as a crash that might occur when running perfectly timed /v1/actions/add-comment
        and /v1/actions/remove-comment requests targeting the same comment. #9924
    * Icinga DB
      - Fix missing acknowledgement and flapping history entries due to a number overflow. #10467
      - Send downtime cancel_time only if it is cancelled. #10379
      - Send only the necessary data to the icinga:stats Redis® stream. #10359
      - Remove a spin lock in RedisConnection#Connect() to avoid busy waiting. #10265
    * Writers
      - Serialize all required metrics before queueing them to a WorkQueue. #10420
      - OpenTsdbWriter: Include checkable name in log messages to ease troubleshooting. #10009
      - OpenTsdbWriter: Don't send custom empty tags. #7928
      - InfluxDBWriter: Add missing closing quote in validation error message. #10174
  * ITL
    - Add --maintenance_mode_state ($vmware_maintenance_mode_state) argument to vmware-esx-command check command. #10435
    - Add -n ($load_procs_to_show$) argument to load check command. #10426
    - Add --inode-perfdata ($disk_np_inode_perfdata$) argument to disk check command. #10395
    - Add -r ($ssh_remote_version$) and -P ($ssh_remote_protocol$) arguments to ssh check command. #10283
    - Add --unplugged_nics_state ($vmware_unplugged_nics_state$) argument to
      vmware-esx-soap-host-net and vmware-esx-soap-host-net-nic check   commands. #10261
    - Add -X ($proc_exclude_process$) argument to procs check command. #10232
    - Add --dane ($ssl_cert_dane$) argument to ssl_cert check command. #10196
    - Fix check_ssl_cert deprecation warnings. #9758
    - Fix check_systemd executable name add add all missing arguments. #10035
    - Add -M ($snmp_multiplier$ & $snmpv3_multiplier$) argument to snmp and snmpv3 check commands. #9975
    - Add --continue-after-certificate ($http_certificate_continue$) argument to http check command. #9974
    - Add --ignore-maximum-validity ($ssl_cert_ignore_maximum_validity$) argument to ssl_cert check command. #10396
    - Add --maximum-validity ($ssl_cert_maximum_validity$) argument to ssl_cert check command. #9881
    - Add --url ($ssl_cert_http_url$) argument to ssl_cert check command. #9759
    - Add fuse.sshfs and fuse.* (supported only by Monitoring Plugins) to the list of default disk exclude types. #9749
    - Add check_curl check command. #9205
    - Add the --extra-opts argument to various commands that support it. #8010
  * Documentation
    - Don't use dnf config-manager to configure Fedora repository and mention icingadb-redis-selinux package. #10479
    - Update the outdated cold startup duration documentation to reflect the current behavior. #10446
    - Indent second-level unordered lists with four spaces to correctly render them in the HTML documentation. #10441
    - Add a reference to the check result state documentation from within the Advanced Topics section. #10421
    - Improve the documentation of how to generate Icinga 2 core dumps. #10418
    - Update Icinga 2 CLI output examples to match the current output. #10323
    - Fix incorrect ping_timeout value in the hostalive check command documentation. #10069
  * Code Quality
    - Simplify deferred SSL shutdown in ApiListener#NewClientHandlerInternal(). #10301
    - Don't unnecessarily shuffle configuration items during config load. #10008
    - Sort config types by their load dependencies at namespace initialization time to save some round trips during config load. #10148
    - Fix livestatus build error on macOS without unity builds. #10176
    - Remove unused methods in SharedObject class. #10456
    - Remove unused ProcessingResult#NoCheckResult enum value. #10444
    - CMake: Drop all third-party cmake modules and use the ones shipped with CMake v3.8+. #10403
    - CMake: Raise the minimum required policy to 3.8. #10402 #10478
    - CMake: Turn on -Wsuggest-override to warn about missing override specifiers. #10225 #10356
    - Make icinga::Empty a constant to prevent accidental modifications. #10224
    - Remove various unused methods in the Registry class. #10222
    - Fix missing parent std::atomic<T> constructor call in our Atomic<T> wrapper class. #10215
    - Drop unused m_NextHeartbeat member variable from JsonRpcConnection. #10208
    - Enhance some of the validation error messages. #10201
    - Don't allow Type#GetLoadDependencies() to return non-config object type dependencies. #10169
    - Don't allow Type#GetLoadDependencies() to return a set of nullptr type dependencies. #10155
    - Remove EOL distros detection code from Utility::ReleaseHelper() function. #10147
    - Remove dead code in TLS GetSignatureAlgorithm() function. #9882
    - Mark Logger#GetSeverity() as non-virtual to avoid unnecessary vtable lookups. #9851
    - Remove unused Stream#Peak() method and unused allow_partial parameter from Stream#Read(). #9734 #9736
    - Suppress compiler warnings in third-party libraries. #9732
    - Fix various compiler warnings. #9731 #10442
    - Reduce task function allocation overhead by using a per-thread created lambda in WorkQueue. #9575
    - Remove redundant trailing empty lines and add missing newlines in some files. #7799
- Drop icinga-pr10278.patch becauise now in upstream.
- Change BuildRequires from yajl to nlohmann_json because yajl is dead.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=197
2025-06-20 05:41:03 +00:00
43ea10164a Accepting request 1280694 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1280694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=56
2025-05-30 12:31:58 +00:00
ae73c828e9 - Update to 2.14.6
- CVE-2025-48057: Prevent invalid certificates from being renewed with OpenSSL older than v1.1.0.
  - Fix use-after-free in VerifyCertificate(): Additionally, a use-after-free was found in the same
    function which is fixed as well, but in case it is triggered, typically only a wrong error code
    may be shown in a log message.
  - Windows: Update OpenSSL shipped on Windows to v3.0.16.
- Rebase icinga-pr10278.patch.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=196
2025-05-27 17:54:58 +00:00
d45e9d7128 Accepting request 1277874 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1277874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=55
2025-05-20 07:34:12 +00:00
74c5a45a98 Fix date format in old changelog entries
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=195
2025-05-15 18:24:51 +00:00
36b072a0e5 Accepting request 1253137 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1253137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=54
2025-03-14 22:52:36 +00:00
f9cb8bcfb4 - fix permissions for include and script files
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=194
2025-03-14 16:13:00 +00:00
3afb10d1d2 - add patches from PR10278 to fix build with boost 1.87
https://github.com/Icinga/icinga2/pull/10278
  icinga-pr10278.patch
- use RPM_BUILD_ROOT variable
- fix ownership for include files and scripts
- move bash-completions to /usr/share

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=193
2025-03-14 12:04:51 +00:00
37b6c594f9 - Update to 2.14.5
* Bug Fixes
    - Don't close anonymous connections before sending the response for a certificate request #10337
    - Performance data: Don't discard min/max values even if crit/warn thresholds aren’t given #10339
    - Fix a failing test case on systems time_t is only 32 bits #10343
  * Documentation
    - Document the -X option for the mail-host-notification and mail-service-notification commands #10335
    - Include Nagios in the migration docs #10324
    - Remove RHEL 7 from installation instructions #10334
    - Add instructions for installing build dependencies on Windows Server #10336

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=192
2025-03-13 04:50:57 +00:00
af28b170ac Accepting request 1240024 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1240024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=53
2025-01-24 12:40:54 +00:00
45095afa9d - Update to 2.14.4
* Crash Fixes
    - Invalid DateTime#format() arguments in config and console on Windows Server 2016 and older. #10112
    - Downtime scheduling at runtime with non-existent trigger. #10049
    - Object creation at runtime during Icinga DB initialization. #10151
    - Comment on a service of a non-existent host. #9861
  * Miscellaneous Bugfixes
    - Lost notifications after recovery outside the notification time period. #10187
    - TimePeriod/ScheduledDowntime exceeding specified date range. #9983 #10107
    - Clean up failure for obsolete Downtimes. #10062
    - ifw-api check command: use correct process-finished handler. #10140
    - Email notification scripts: strip 0x0D (CR) for a proper Content-Type. #10061
    - Several fixes and improvements of the code quality. #10066 #10214 #10254 #10263 #10264
  * Cluster and API
    - Sync runtime objects in topological order to honor their dependencies. #10000
    - Make parallel config syncs more robust. #10013
    - After object creation via API fails, clean up properly for the next try. #10111
    - Close HTTPS connections properly to prevent leaks. #10005 #10006
    - Reduce the number of cluster messages in memory at the same time. #9991 #9999 #10210
    - Once a cluster connection shall be closed, stop communicating. #10213 #10221
    - Remove unnecessary blocking of semaphores. #9992 #9994
    - Reduce unnecessary cluster messages setting the next check time. #10011
  * Icinga DB and IDO
    - IDO: fix object relations after aborted synchronization. #10065
    - Icinga DB, IDO: limit all timestamps to four year digits. #10058 #10059
    - Icinga DB: limit execution_time and latency (milliseconds) to database schema. #10060
  * Troubleshooting
    - Add /v1/debug/malloc_info which calls malloc_info(3) if available. #10015
    - Add log messages about own network I/O. #9993 #10141 #10207
    - Several fixes and improvements of log messages. #9997 #10021 #10209
  * Windows
    - Update OpenSSL shipped on Windows to v3.0.15. #10170
    - Update Boost shipped on Windows to v1.86. #10114
    - Support CMake v3.29. #10037
    - Don't require to build .msi as admin. #10137
    - Build configuration scripts: allow custom $CMAKE_ARGS. #10312
  * Documentation
    - Distributed Monitoring: add section "External CA/PKI". #9825
    - Explain how to enable/disable debug logging on the fly. #9981
    - Update supported OS versions and repository configuration. #10064 #10090 #10120 #10135 #10136 #10205
    - Several fixes and improvements. #9960 #10050 #10071 #10156 #10194
    - Replace broken links. #10115 #10118 #10282
    - Fix typographical and similarly trivial errors. #9953 #9967 #10056 #10116 #10152 #10153 #10204

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=191
2025-01-24 07:00:08 +00:00
40f3d1da4b Accepting request 1226274 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1226274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=52
2024-11-25 22:23:07 +00:00
ebf4b020f2 - Use %{optflags} macro for build flags
- Fix build on non-x86_64 architectures

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=190
2024-11-25 13:16:37 +00:00
04b67318b6 Accepting request 1223909 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1223909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=51
2024-11-14 15:08:13 +00:00
63e6894c0a - Update to 2.14.3
- Security: fix TLS certificate validation bypass. CVE-2024-49369 (boo#1233310)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=189
2024-11-13 10:44:39 +00:00
b55017e930 - Update to 2.14.3
- Security: fix TLS certificate validation bypass. CVE-2024-49369
   - Security: update OpenSSL shipped on Windows to v3.0.15.
   - Windows: sign MSI packages with a certificate the OS trusts by default.
- Revision and cleanup of the spec file to remove errors and make it clearer.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=188
2024-11-13 10:21:45 +00:00
db0d3b928a Accepting request 1149569 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1149569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=50
2024-02-22 20:02:02 +00:00
bb51a0662f Accepting request 1149423 from home:dimstar:rpm4.20:i
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1149423
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=187
2024-02-22 15:40:06 +00:00
2423dc6928 Accepting request 1139802 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1139802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=49
2024-01-18 20:54:54 +00:00
21440e32d2 Accepting request 1139801 from home:ecsos:monitoring
- Update to 2.14.2
  - InfluxDB: truncate timestamps to whole seconds to save disk space. #9969
  - HttpServerConnection: log request processing time as well. #9970
  - Update Boost shipped on Windows to v1.84. #9970

OBS-URL: https://build.opensuse.org/request/show/1139801
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=186
2024-01-18 19:41:40 +00:00
be5700b34b Accepting request 1134464 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1134464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=48
2023-12-21 22:39:30 +00:00
7ad2d48cc3 Accepting request 1134463 from home:ecsos:monitoring
- Update to 2.14.1
  * Security
    - Automatically renew own root CA and distribute it to all nodes. #9933
    - Update OpenSSL shipped on Windows to v3.0.12. #9946
    - Disable TLS renegotiation (handshake on existing connection). #9946
  * Bugfixes
    - Icinga DB feature: fix crash due to missing NULL pointer check. #9946
    - Icinga DB feature: fix data written into Redis crashing the Go daemon. #9946
    - GelfWriter: fix deadlock on stop/reload caused by busy queue. #9947
    - Don't lose notifications due to too long output, truncate it. #9947
  * Enhancements
    - Discard duplicate problem notifications due to state filtering. #9932
    - Speed up API filters targeting specific hosts/services to O(1). #9944
    - POST /v1/console/*: return HTTP 503 while Icinga is reloading. #9947
    - Update Boost shipped on Windows to v1.83. #9946
    - Documentation: several fixes and improvements. #9921

OBS-URL: https://build.opensuse.org/request/show/1134463
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=185
2023-12-21 13:39:54 +00:00
8dd43ee09f Accepting request 1114138 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1114138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=47
2023-10-02 18:04:25 +00:00
52abad5fc6 Accepting request 1114137 from home:ecsos:monitoring
- Update to 2.14.0
  * Breaking Changes
    - Remove CheckResultReader (which has been deprecated since v2.9). #9714
    - Remove StatusDataWriter (which has been deprecated since v2.9). #9715
    - ElasticsearchWriter: drop support for Elasticsearch < v7. #9812
    - Consider a checkable unreachable once one Dependency fails.
      Previously all of them had to fail. (Consult the upgrading docs.) #8218
    - API: reject config modifications during reload with HTTP status 503. #9445
    - icinga2 daemon: to reduce config load time, write file needed by
      icinga2 object list only if --dump-objects is given. #9586 #9591
    - Default email notification scripts: link to Icinga DB Web,
      not the monitoring module. (Consult the upgrading docs.) #9742 #9757
    - API: for security reasons hide TicketSalt in /v1/variables. #7863
  * Icinga 2 Config DSL
    - Disallow global variable modification after config commit start (i.e.
      inside object/apply T "x" { ... }) to reduce config load time. #9740
    - Forbid Dependency cycles at config load time. #8389
    - Allow only strings in the arrays Host#groups, Service#groups and
      User#groups. Needed for consistency, especially by the IDO. #9057
    - Disallow empty object names. (They worked only partially anyway.) #9409
  * Enhancements
    - Significantly reduce config load time of large setups.
      #8118 #9555 #9557 #9572 #9577 #9603 #9608 #9627 #9648 #9657 #9662
    - Allow to connect dependencies via redundancy groups. Only parents within
      one group are assumed to provide redundancy for each other. #8218
    - Built-in check command ifw-api, communicates directly with the Icinga for
      Windows REST API. (Doesn't spawn a PowerShell process for that.) #9062
    - JournaldLogger which logs to systemd journal. #9000
    - API: POST /v1/objects: allow to discard some previously modified attributes,
      i.e. to restore the config files' values. #9783
    - ElasticsearchWriter: support Elasticsearch v8. #9812
    - Support $env.ENV_VAR_NAME$ macros. #8302
    - Speed up Icinga DB config dump. #9524
    - Default mail notification scripts: also print $host.notes$ and $service.notes$. #9713
    - Enable built-in OpenSSL DH parameters to allow DHE TLS ciphers. #9811
    - Clean up global default TLS cipher list to improve security. #9809
    - Influxdb(2)Writer: write more precise timestamps (nanoseconds). #9599
  * Bugfixes
    - Icinga DB feature: normalize several Redis data not to crash the Go daemon.
      #9772 #9775 #9792 #9793 #9794 #9805
    - Fix parsing of perfdata across multiple lines in plugin output. #8969
    - icinga check: fix last reload failure time. #8429 #9827
    - Resolve macros inside custom vars of IcingaApplication. #9779
    - SELinux: allow Icinga and its plugins to write to syslog. #9688
    - ElasticsearchWriter: fix data buffer flush race condition during stop. #9810
    - Trigger flexible downtimes not in the past if checkable is already down. #9726
    - Send downtime expiration notifications immediately, not after up to a minute. #9726
  * Cluster
    - Don't hang in timed out connection attempt. #9711 #9725
    - Fix lost acknowledgements after re-connect. #9718
    - cluster-zone check: don't complain about not connected
      other local zone members if there aren't any. #8595
    - Allow agent to update executions delegated to it via /v1/actions/execute-command. #8627
  * API
    - Disallow breaking inter-object relationships by changing
      relationship attributes at runtime, e.g. Service#host_name. #9407
    - Correct several HTTP response status codes. #7958 #9354
    - Correct Boolean field types previously reported by /v1/types as Number. #9514
  * CLI
    - icinga2 daemon: fix -DConfiguration.Concurrency= flag
      which now allows to override the number of threads. #9643
    - icinga2 node wizard: avoid unnecessary chown(2) which may fail and abort the wizard. #8744
    - Correct several log messages. #8895 #8965 #9663
  * ITL
    - Add linux_netdev check command. #9045
    + Command Argument Changes
      - disk: don't pass -m (disk_megabytes) by default. #9642
      - disk: pass -X fuse.portal (disk_exclude_type) by default. #9459
      - http: support multiple -k (http_header) as array. #8574
      - icmp: double defaults for -w (icmp_wpl) and -c (icmp_cpl). #9041
      - logfiles: pass --winwarncrit (logfiles_winwarncrit) without argument. #9056
      - nwc_health: pass SNMPv3-only args only when using SNMPv3. #9095
      - vmware-esx-dc-runtime-tools and vmware-esx-soap-vm-runtime-tools:
      - rename --open-vm-tools to --open_vm_tools_ok (vmware_openvmtools). #9611

OBS-URL: https://build.opensuse.org/request/show/1114137
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=184
2023-09-28 19:03:21 +00:00
c5407e6b7a Accepting request 1107988 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1107988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=46
2023-08-30 08:21:16 +00:00
432d9ccc5b Accepting request 1104874 from home:bmwiedemann:branches:server:monitoring
Use fixed hostname string (boo#1084909)

OBS-URL: https://build.opensuse.org/request/show/1104874
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=183
2023-08-29 17:17:17 +00:00
51be6d08a5 Accepting request 1098793 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1098793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=45
2023-07-17 17:23:22 +00:00
91cea50aec Accepting request 1098792 from home:ecsos:monitoring
- Update to 2.13.8
  * Bugfixes
    - Icinga DB feature: normalize several Redis data not to crash the Go daemon. #9814
    - Don't hang in timed out connection attempt. #9815
    - Trigger flexible downtimes not in the past if checkable is already down. #9817
    - ElasticsearchWriter: fix data buffer flush race condition during stop. #9818
    - SELinux: allow Icinga and its plugins to write to syslog. #9819
    - Fix lost acknowledgements after re-connect. #9820
    - Fix parsing of perfdata across multiple lines in plugin output. #9821
    - cluster-zone check: don't complain about not connected
  other local zone members if there aren't any. #9822
  * Updates
    - Update Boost shipped on Windows to v1.82. #9816
    - Update OpenSSL shipped on Windows to v3.0.9. #9816
    - Update vendored https://github.com/nlohmann/json to v3.9.1. #9816
    - Update vendored https://github.com/nemtrif/utfcpp to v3.2.3. #9816

OBS-URL: https://build.opensuse.org/request/show/1098792
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=182
2023-07-15 12:06:58 +00:00
365ea8d82a Accepting request 1066253 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1066253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=44
2023-02-17 15:44:24 +00:00
eb54291035 Accepting request 1066252 from home:ecsos:monitoring
- Update to 2.13.7
  * Security
    - Windows: update bundled OpenSSL to v1.1.1t. #9672
  * Bugfixes
    - SELinux: fix user and domain creation by explicitly setting the role. #9690
    - Signal handlers: don't interrupt and break plugins spawning. #9682
    - Icinga DB: take check\_period into account during overdue calculation. #9679
    - Avoid corrupted files: use fsync(2)/FlushFileBuffers() everywhere. #9681
    - Solaris: fix compile error. #9680
  * Enhancements
    - Windows: update bundled Boost to v1.81. #9678
    - Documentation: several fixes and improvements. #9671
- Drop icinga2-boost.patch because now in upstream.

OBS-URL: https://build.opensuse.org/request/show/1066252
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=181
2023-02-16 18:42:03 +00:00
feae88224d Accepting request 1062997 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1062997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=43
2023-02-03 21:05:52 +00:00
f71417b73b Accepting request 1062996 from home:ecsos:monitoring
- Add icinga2-boost.patch to make compilable on Boost v1.81 
  and fix build error on Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/1062996
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=180
2023-02-03 08:41:57 +00:00
5817d515a2 Accepting request 1034595 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1034595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=42
2022-11-09 11:57:24 +00:00
4eb19d4412 Accepting request 1034594 from home:ecsos:monitoring
- Update to 2.13.6
  * Bugfixes
    - Improve the throughput of the Icinga DB feature. #9550
    - Multiple changes to speed up evaluation of apply rules. #9559 #9565 #9558
    - Fix a possible crash on config loading related to ignore_on_error. #9560
    - Check API user permission on objects returned by joins. #9561
    - Windows: update bundled Boost and OpenSSL versions. #9562 #9567

OBS-URL: https://build.opensuse.org/request/show/1034594
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=179
2022-11-08 17:48:23 +00:00
3531e4439c Accepting request 994646 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/994646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=41
2022-08-12 14:06:37 +00:00
28f2e27c02 Accepting request 994645 from home:ecsos:monitoring
- Update to 2.13.5
  * Bugfixes
    - Ensure not to write an incomplete (i.e. corrupt) state file. #9467
    - ITL: Render vars.apt_upgrade=true as --upgrade, not --upgrade=true. #9458
    - Icinga DB: Add missing Redis SELinux policy. #9473
    - Windows: Don't spam the event log with non-error startup messages. #9457
    - Windows: Update bundled version of OpenSSL. #9460
    - Docs: Update RHEL 8 installation instructions. #9482
    - Docs: Add RHEL 9 installation instructions. #9482

OBS-URL: https://build.opensuse.org/request/show/994645
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=178
2022-08-11 23:57:16 +00:00
40bd88c1a8 Accepting request 986200 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/986200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=40
2022-07-01 11:45:10 +00:00
4e9ea8025c Accepting request 986199 from home:ecsos:monitoring
- Update to 2.13.4
  * Bugfixes
    - Fix a race-condition involving object attribute updates that could result in a crash. #9395
    - After a host recovered, only send problem notifications for services after they have been 
      rechecked afterwards to avoid false - notifications. #9348
    - Speed up config validation by avoiding redundant serialization of objects. #9400
    - Add a separator attribute to allow using arguments like --key=value as required by some 
      check plugins. This fixes the --upgrade and --dist-upgrade arguments of check_apt. #9397
    - Windows: Update bundled versions of Boost and OpenSSL. #9360 #9415
  * Icinga DB
    - Add an icingadb CheckCommand to allow checking if Icinga DB is healthy. #9417
    - Update documentation related to Icinga DB. #9423
    - Fix a bug where history events could miss the environment ID. #9396
    - Properly serialize attributes of command arguments when explicitly set to null. #9398
    - Rename some attributes to make the database schema more consistent. #9399 #9419 #9421
    - Make the error message more helpful if the API isn't set up #9418

OBS-URL: https://build.opensuse.org/request/show/986199
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=177
2022-07-01 10:24:53 +00:00
Lars Vogdt
6bebf9b894 - add icinga2-vim_syntax.patch:
When upgrading vim to version 8 the syntax file does not work anymore:
  line xxx:
    E10: \ should be followed by /, ? or &
  Reason: The line continuation does not work, as vim is reading 
  syntax files now in vi-compatible mode. The patch sets the 
  nocompatible mode manually for that syntax file.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=176
2022-06-29 08:45:38 +00:00
b49f30961c Accepting request 972381 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/972381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=39
2022-04-24 17:45:56 +00:00
86977b3521 Accepting request 972380 from home:ecsos:monitoring
- Update to 2.13.3
  * API
    - The /v1/config/stages endpoint now immediately rejects parallel config updates
      instead of accepting and then later failing to verify and activate them. #9328
  * Certificates
    - The lifetime of newly issued node certificates is reduced from 15 years to 397 days. #9337
    - Compare cluster certificate tickets in constant time. #9333
  * Notifications
    - Fix a crash that could happen while sending notifications shortly after Icinga 2 started. #9124
    - Fix missing or redundant notifications after certain combinations of state changes happened
      while notifications were suppressed, for example during a downtime. #9285
* Checks and Commands
    - Fix a deadlock when processing check results for checkables with dependencies. #9228
    - Fix a message routing loop that can happen for event commands that are executed within a zone
      using command_endpoint that resulted in excessive execution of the command. #9260
  * Downtimes
    - Fix scheduling of downtimes for all services on child hosts. #9159
    - Creating fixed downtimes starting immediately now send a corresponding notification. #9158
    - Fix some issues involving daylight saving time changes that could result in an hour missing
      from scheduled downtimes. This fix applies to time periods as well. #9238
  * Configuration
    - Fix the evaluation order of default templates when used in combination with apply rules.
      Now default templates are imported first as stated in the documentation
      and as it already happens for objects defined without using apply. #9290
  * IDO
    - Fix an issue where contacts were not written correctly to the notification history
      if multiple IDO instances are active on the same node. #9242
    - Explicitly set the encoding for MySQL connections as a workaround for changed defaults in Debian bullseye. #9312
    - Ship a MySQL schema upgrade that fixes inconsistent version information in the full schema file
      and upgrade files which could have resulted in inaccurate reports of an outdated schema version. #9139
  * Performance Data Writers
    - Fix a race condition in the InfluxDB Writers that could result in a crash. #9237
    - Fix a log message where Influxdb2Writer logged as InfluxdbWriter. #9315
    - All writers no longer send metrics multiple times after HA failovers. #9322
  * Build
    - Fix the order of linker flags to fix builds on some ARM platforms. #9164
    - Fix a regression introduced in 2.13.2 preventing non-unity builds. #9094
    - Fix an issue when building within an unrelated Git repository, version information
      from that repository could incorrectly be used for Icinga 2. #9155
    - Windows: Update bundled Boost version to 1.78.0 and OpenSSL to 1.1.1n #9325
  * Internals
    - Fix some race conditions due to missing synchronization. 
      These race conditions should not have caused any practical problems
      besides incorrect numbers in debug log message. #9306
    - Move the startup.log and status files created when validating incoming cluster config updates
      to /var/lib/icinga2/api and always keep the last failed startup.log to ease debugging. #9335
  * Icinga DB
    - The severity attribute was updated to match the sort order Icinga Web 2 uses for the IDO.
      The documentation for this attribute was already incorrect before
      and was updated to reflect the current functionality. #9239 #9240
    - Fix the is_sticky attribute for comments. #9303
    - Fix missing updates of is_reachable and severity in the state tables. #9241
    - Removing an acknowledgement no longer incorrectly writes comment history. #9302
    - Fix multiple issues so that in an HA zone, both nodes now write consistent history. #9157 #9182 #9190
    - Fix that history events are no longer written when state information should be updated. #9252
    - Fix an issue where incomplete comment history events were generated. #9301
    - Note: when removing comments using the API, the dedicated remove-comment action
      should be used instead of the objects API, otherwise no history event will be generated.
    - Fix handling of non-integer values for the order attribute of command arguments. #9181
    - Note: You should only specify integer values for order, other values are converted to 
      integer before use so using fractional numbers there has no effect.
    - Add a dependency on icingadb-redis.service to the systemd service file
      so that Redis is stopped after Icinga 2. #9304
    - Buffer history events in memory when the Redis connection is lost. #9271
    - Add the previous soft state to the state tables. #9214
    - Add missing locking on object runtime updates. #9300
- Changes from 2.13.2
  * Icinga DB
    - Prefix command_id with command type #9085
    - Decouple environment from Icinga 2 Environment constant #9082
    - Make icinga:history:stream:*#event_id deterministic #9076
    - Add downtime.duration & service_state.host_id to Redis #9084
    - Sync checkables along with their states first #9081
    - Flush both buffered states and state checksums on initial dump #9079
    - Introduce icinga:history:stream:downtime#scheduled_by #9080
    - Actually write parent to parent_id of zones #9078
    - Set value in milliseconds for program_start in stats/heartbeat #9077
    - Clean up vanished objects from icinga:checksum:*:state #9074
    - Remove usernotification history stream #9073
    - Write IDs of notified users into notification history stream #9071
    - Make CheckResult#scheduling_source available to Icinga DB #9072
    - Stream runtime state updates only to icinga:runtime:state #9068
    - Publish Redis schema version via XADD icinga:schema #9069
    - Don't include checkable types in history IDs #9070
    - Remove unused Redis key 'icinga:zone:parent' #9075

OBS-URL: https://build.opensuse.org/request/show/972380
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=175
2022-04-24 13:53:11 +00:00
1f4d1aa618 Accepting request 936051 from server:monitoring
Rollback to revision 171 - version 2.13.1 because 2.13.2 does not build for Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/936051
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=174
2021-12-06 14:56:15 +00:00
Lars Vogdt
7dd520c25d remove link to Factory
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icinga2?expand=0&rev=173
2021-12-02 10:36:00 +00:00
Richard Brown
240f4bf793 Accepting request 913177 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/913177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icinga2?expand=0&rev=38
2021-08-20 14:57:51 +00:00