4356 Commits

Author SHA1 Message Date
Eric Lippmann
053971c99d Merge pull request #4606 from Icinga/release/2.9.5
Release 2.9.5

(cherry picked from commit 3df684bcdfa516323e5a03abedc353771d7b3c9f)
2021-11-18 10:48:44 +01:00
Johannes Meyer
d208d1ccfe Release v2.9.4
(cherry picked from commit e628cb02548b0f66ee244f560b23a06995c49381)
2021-11-10 10:18:58 +01:00
Johannes Meyer
e0aa7e37b0 PluginOutput: Don't "optimize" two subsequent newlines to one
fixes #4522

(cherry picked from commit 47922673fc122a4eb68678a4bbbeafa12a174f79)
2021-11-09 09:37:48 +01:00
Johannes Meyer
ff2fb3f379 Merge pull request #4548 from Icinga/fix/compress-comment-detail
Compress comment detail in Hosts detail and Comments list.

(cherry picked from commit 736957f7c3a04c0444b69b56427375b7a2175460)
2021-11-09 09:34:38 +01:00
Johannes Meyer
62a27fa638 IdoQuery: Qualify and resolve subquery filters ASAP
fixes #4508

(cherry picked from commit 83557afd35dc85da01995be2a907f9223fb0bb84)
2021-11-09 09:32:08 +01:00
Johannes Meyer
c757a17530 Release version 2.9.3
(cherry picked from commit b2274a5589476160f17be05d4b2ae05932e38114)
2021-08-10 10:12:17 +02:00
Eric Lippmann
89b2871dc2 If appropriate, set the API parameter all_services for schedule-downtime
Since Icinga 2.11.0 the schedule-downtime API supports the
all_services parameter. So far we've always sent a separate
request for scheduling service downtimes. As of Icinga 2.13.0,
these service downtimes are automatically removed when the host
downtimes are removed. Of course, this doesn't work if we don't
use the all_services parameter but send a separate request.
With this commit we set this parameter if the transport is API
and Icinga is equal to or greater than 2.11.0.

In addition, if child_options and all_services were previously set,
a request was sent per host and service. This is now also only a
single request if an API command transport is requested or only
API command transports are configured.

(cherry picked from commit 1e1b4b74ad1fddf7c6c3035acad9a9e19271672d)
2021-08-09 17:02:18 +02:00
Johannes Meyer
07e25a923b Release version 2.9.2
(cherry picked from commit 907f7826b2d49e9fc5018d288aaa671dc8c53368)
2021-07-28 09:34:07 +02:00
Johannes Meyer
68e06c93dd Release version 2.9.1
(cherry picked from commit 1b2cd8fdf37022aed25225598e22c94de0336ffb)
2021-07-27 15:43:28 +02:00
Johannes Meyer
4318b054cc ServicestatusQuery: Define correct grouping rules for contacts and -groups
fixes #4464

(cherry picked from commit b94617c5756dd7fd883869b90dc705f303cd3e41)
2021-07-21 17:42:16 +02:00
Johannes Meyer
116ea2a05e MonitoredObject: Keep structure of nested cvs during protection
fixes #4439

(cherry picked from commit d123b390b1c550de91988a3451d2c3818082c12e)
2021-07-21 08:02:06 +02:00
Johannes Meyer
f73614be4d Raise version to 2.9.0 2021-07-12 10:35:56 +02:00
Johannes Meyer
9c1e4fa491 monitoring: Ensure cvs are also protected in exported results 2021-07-12 09:42:03 +02:00
Johannes Meyer
b48fc20edf monitoring/list/(hosts|services): Respect cv blacklist with ?addColumns 2021-07-12 09:42:03 +02:00
Johannes Meyer
e035f5b9f2 monitoring/list/services: Protect custom variables added with ?addColumns 2021-07-12 09:42:03 +02:00
Johannes Meyer
c953e4f92d monitoring/list/hosts: Protect custom variables added with ?addColumns 2021-07-12 09:42:03 +02:00
Johannes Meyer
1dc6f35916 MonitoredObject: Make customvar protection available to the outside 2021-07-12 09:42:03 +02:00
Johannes Meyer
76dafc8c1e monitoring/list/*: Don't apply restrictions in case of ?format=sql 2021-07-08 08:14:13 +02:00
Johannes Meyer
963fdbd3e2 ServicegroupQuery: Join hostgroups with a LEFT JOIN
refs #4404
2021-07-05 14:59:24 +02:00
Johannes Meyer
13125e8059 HostgroupQuery: Join services and servicegroups with a LEFT JOIN
refs #4404
2021-07-05 14:58:49 +02:00
Johannes Meyer
37c982a044 MonitoringWizard: Remove redundant requirements and steps 2021-06-30 18:54:47 +02:00
Johannes Meyer
b88dad9525 css: Respect --icinga-* 2021-06-28 16:22:19 +02:00
Johannes Meyer
6c235c64b5 css: Respect --tr-*-color 2021-06-28 14:12:58 +02:00
Johannes Meyer
804fe75d55 css: Respect --color-* 2021-06-28 12:37:30 +02:00
Johannes Meyer
e3dbd01e86 css: Respect --text-color-light 2021-06-23 17:40:06 +02:00
Johannes Meyer
ac45a51ffb css: Respect --text-color-inverted 2021-06-23 17:40:06 +02:00
Johannes Meyer
49f905af06 Integrate light theme's gray-lighter using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer
b7f42e52dc Integrate light theme's gray-light using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer
d82577c0e0 Integrate light theme's gray using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer
039fdfc8af Integrate light theme's @text-color using a media query 2021-06-23 17:40:06 +02:00
Johannes Meyer
96687e37c6 Integrate light theme's @body-bg-color using a media query 2021-06-23 17:40:06 +02:00
Florian Strohmaier
e5cf4cdd17 CSS: Match .object-features label color with ths 2021-06-23 07:39:55 +02:00
Florian Strohmaier
ac1a364682 Contact: Fix th styles 2021-06-23 07:39:55 +02:00
Florian Strohmaier
034697abf9 module.less: Remove monitorung-statusbar gradient 2021-06-23 07:39:55 +02:00
Ravi Kumar Kempapura Srinivasa
f8b122b894 Add end time and comment options to settings section for host/service downtime dialog
[hostdowntime_end_fixed], [hostdowntime_end_flexible], [hostdowntime_flexible_duration], [servicedowntime_end_fixed], [servicedwontime_end_flexible],
[servicedowntime_flexible_duration] and [comment_text] options added to [settings] section in config.ini file used in  host/service downtime dialog.
2021-06-18 13:57:58 +02:00
Johannes Meyer
84949f214e monitoring: Provide health hook 2021-05-14 15:45:35 +02:00
Damiano Chini
89fdccb858 Pass event instead of object to the getHtmlForEvent method of EventDetailsExtensionHook 2021-05-11 12:36:07 +02:00
Johannes Meyer
4e48f9d2a1 ProcessCheckResultForm: Skip objects with passive checks disabled
Icinga won't accept check results for such.
2021-04-14 10:56:04 +02:00
Johannes Meyer
1a5cedfee1 setup: Skip browser validation when validating a form manually
fixes #4291
2021-04-13 16:57:03 +02:00
Johannes Meyer
a4d495e17c PerfData: Don't render missing values as 0.00 2021-04-13 14:50:18 +02:00
Johannes Meyer
e671324ddb tests: Don't use deprecated assertion assertRegExp() 2021-04-09 12:38:43 +02:00
Johannes Meyer
f27e872d90 tests: Don't make use of deprecated phpunit features 2021-04-09 12:38:43 +02:00
Johannes Meyer
cb87190138 tests: Add :void return type declarations 2021-04-09 12:38:43 +02:00
Alexander A. Klimov
6d5024c671 *downtimestarthistoryQuery#joinBaseTables(): don't call func_get_arg() with an invalid index
... as PHP 8 doesn't tolerate that.

refs #4287
2021-04-09 12:37:03 +02:00
Johannes Meyer
fe51f8c968 IdoQuery: Accept any character in custom var names
fixes #4342
2021-04-06 10:47:03 +02:00
Johannes Meyer
0fc06d7795 Transform * equal/unequal comparisons to NULL checks
This comes from https://github.com/Icinga/ipl-sql/pull/31
2021-03-12 09:50:59 +01:00
Johannes Meyer
91d4669dcb
Merge pull request #4285 from Icinga/bugfix/curl-monitoring-service-show-4281
CheckNowCommandForm#init(): set submit label
2021-02-18 12:21:50 +01:00
Johannes Meyer
cc65164a67 Adjust global permissions 2021-02-18 11:11:39 +01:00
Johannes Meyer
e01f51ffc7 PluginOutput: Fix that subsequent escaped newlines are not transformed
fixes #4297
2021-02-15 11:23:36 +01:00
Johannes Meyer
77ca3e0c31 DeleteDowntimeCommandForm: Show error notification if not successful
resolves #4303
2021-02-03 15:42:13 +01:00