Eric Lippmann
7730058c2c
Fix Event Grid PostgreSQL error
...
PostgreSQL fails with failed to find conversion function from
unknown to text. PostgreSQL won't detect the type of object_type.
Most likely because it's used in a CASE statement and provided by a
subquery:
select case when s.object_type = 'service' then 1 else 0 end from
(select ('service') as object_type) as s;
This commit just removes object_type from the CASE statements because we
don't need them anyway. Recently we've changed the event grid query to
only select hosts or services and not both.
2019-07-30 09:32:59 +02:00
Peter Eckel
718ecd05a7
Fix Icinga 2 version detection
...
With this commit the version prefix character is treated as optional
which always used to be 'r' or 'v'. But this is gone since Icinga 2
version 2.11.0 RC1.
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2019-07-30 09:32:17 +02:00
Eric Lippmann
e61cb71c17
Use unique values for combined AND group membership filters
2019-07-30 09:17:25 +02:00
Eric Lippmann
0de923fc5f
Support "old" combined group membership filter in subquery filter chains
2019-07-30 09:17:25 +02:00
Eric Lippmann
58e3ae46a7
Fix servicegroup subquery filter in the servicegroup view
2019-07-30 09:17:25 +02:00
Eric Lippmann
9a75e101ee
Support subquery filters in filter chains
...
Before, combined membership filters were only possible in filter
expressions, e.g. hostgroup_name=(a&b). Now, also
(hostgroup_name=a&hostgroup_name=b) is supported which makes it easier
to build such filters with the filter editor.
2019-07-30 09:17:25 +02:00
Johannes Meyer
a33fda9dd7
Merge pull request #3846 from Icinga/feature/contact-and-contactgroup-filter
...
Add contact and contactgroup filters
2019-07-30 09:07:55 +02:00
Johannes Meyer
ea3a541017
Merge pull request #3801 from Icinga/feature/improve-host-service-distinction-in-lists-3615
...
Improve host-service distinction in lists
2019-07-30 08:55:03 +02:00
Eric Lippmann
227cb2c512
Fix grouping error when selecting the notification id
2019-07-29 14:03:40 +02:00
Eric Lippmann
98388c4346
Link to the event detail from the notifications view
2019-07-29 14:03:40 +02:00
Johannes Meyer
4f507d9672
SelectBox: Also use the default form classes
2019-07-29 10:19:39 +02:00
Johannes Meyer
f32dac7a70
ServicestatusQuery: Add `latency` to next_update calculation..
...
..and double the entire result
refs #3212
2019-07-29 09:12:46 +02:00
Johannes Meyer
44f63576d1
HoststatusQuery: Add `latency` to next_update calculation..
...
..and double the entire result
refs #3212
2019-07-29 09:12:46 +02:00
Eric Lippmann
bcc867d48e
Allow to filter for contact groups
2019-07-29 09:12:01 +02:00
Eric Lippmann
54f9c68887
Show notifications before any other event in the history views
2019-07-23 14:48:00 +02:00
Eric Lippmann
f80a61d9e5
Respect notification type of subqueries
2019-07-23 14:48:00 +02:00
Eric Lippmann
1d1fd0b3b2
Use notification_reason for new notification types
2019-07-23 14:48:00 +02:00
Johannes Meyer
39fbd3e27e
monitoring: Re-add missing query columns to event overview
...
`hostgroup`, `hostgroup_alias`, `servicegroup`, `servicegroup_alias`
fixes #3848
2019-07-18 14:50:35 +02:00
Eric Lippmann
523a35f4c1
Allow to filter for contacts
2019-07-08 18:00:28 +02:00
Johannes Meyer
3f2a2fa984
Action: Only create an `Url` object once macros are resolved
...
refs #3829
2019-06-25 09:08:04 +02:00
Johannes Meyer
5961f43aa9
Merge pull request #3781 from mdetrano/bugfix/cant_search_for_output_in_event_history_2266
...
Fixes 2266. Special handling of notification 'output' field.
2019-05-27 08:29:34 +02:00
Marc DeTrano
5e5a5c68cc
Fixes 2266. Special handling of notification 'output' field to avoid using aggregate function in WHERE clause of query...which dumps an error
...
style fixup, exact === usage
2019-05-24 17:04:02 -06:00
Johannes Meyer
a063cc9dcf
Merge pull request #3247 from mdetrano/feature/improve-eventgrid-performance-12732
...
Improve Event Grid performance
2019-05-24 07:53:21 +02:00
mdetrano
c05d15c427
Update modules/monitoring/library/Monitoring/Backend/Ido/Query/EventgridservicesQuery.php
...
extra line fixup, as suggested
Co-Authored-By: Jennifer Mourek <jennifer.mourek@netways.de>
2019-05-22 13:29:12 -06:00
Johannes Meyer
201cfa2330
Merge pull request #3304 from Icinga/feature/detailview-improvement
...
Integrate DetailviewExtension into multi-select views
2019-05-02 14:02:21 +02:00
Johannes Meyer
2e2a269549
Merge pull request #3712 from ConstantinMatheis/master
...
Add check source to history details view.
2019-04-18 14:37:26 +02:00
Johannes Meyer
a8832517bf
Ido\Query: Add missing `host` and `service` columns to history queries
...
fixes #3721
2019-04-16 10:24:33 +02:00
Johannes Meyer
269f432d58
Merge pull request #3735 from dasJ/feature/perf-temperatures
...
Support temperatures (°C, °F) in perfdata
2019-04-16 08:07:38 +02:00
Johannes Meyer
1cce44453c
Merge pull request #3671 from Icinga/bugfix/getrestriction
...
Monitoring\Controller#getRestriction(): return filters matching all, not none
2019-04-16 08:06:55 +02:00
Alexander A. Klimov
d40e85b8a3
Monitoring\Controller#getRestriction(): return filters matching all, not none
...
Filter::matchAny() without any subfilters matches none,
Filter::matchAll() without any subfilters matches all.
2019-04-15 16:03:43 +02:00
Johannes Meyer
6a23a641ac
Merge pull request #3678 from Icinga/feature/dont-display-check-now-if-active-checks-are-disabled-3665
...
Don't allow to reschedule checks for objects with no active checks
2019-04-12 10:58:50 +02:00
Janne Heß
d45c753409
Support temperatures (°C, °F) in perfdata
2019-04-05 15:28:51 +02:00
Marc DeTrano
e7d117e1b6
Improve Eventgrid performance by limititing query time range, and only querying for hosts or services as requested in the form.
2019-04-02 10:15:33 -06:00
Johannes Meyer
b8c1934428
Introduce implementation for hook X509/Sni
2019-03-28 14:04:04 +01:00
Constantin Matheis
76cd8a0321
Added Check source to Details view.
...
refs #3687
2019-03-07 10:33:51 +01:00
Eric Lippmann
403c2d3495
Merge pull request #3481 from marianrh/feature/optionally-disable-mysql-server-certificate-validation
...
Allow disabling MySQL server certificate validation by setting ssl_do_not_verify_server_cert
2019-02-26 10:39:21 +01:00
Johannes Meyer
3d4fa0bcae
MonitoredObjectController: Don't show `Check Now` if active checks are disabled
...
refs #3665
2019-02-07 15:51:26 +01:00
Alexander A. Klimov
2625454e5d
Allow span and *[style] in plugin outputs
2019-01-12 14:37:18 +01:00
Eric Lippmann
8300011c6f
Use requireVirtualTable()
2018-11-15 11:10:31 +01:00
Eric Lippmann
dda390b3d8
Require virtual table hosts
...
refs #3564
2018-11-14 10:22:17 +01:00
Markus Frosch
4753262589
DetailviewExtension: Integrate into multi-select views
...
refs #3072
2018-08-22 17:13:41 +02:00
Markus Frosch
ecbfafd25a
DetailviewExtension: Make sure data-icinga-module is set on container
...
To allow the eventhandler in JS to load and initialize the
corresponding module.
2018-08-22 17:04:41 +02:00
Johannes Meyer
dbfef34f6e
Audit: Log a command's payload as json
...
$data may be arbitrarily nested.
refs #3535
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-24 10:16:30 +02:00
Johannes Meyer
dab9fea0d4
Merge pull request #3457 from Icinga/feature/proper-results-when-filtering-for-linked-objects-2934
...
Proper results when filtering for linked objects
2018-07-19 09:15:58 +02:00
Eric Lippmann
7f21e14afc
Add command audit
2018-07-19 00:35:28 +02:00
Eric Lippmann
7624d99070
Use subquery filters for contacts if appropriate
...
refs #2934
2018-07-18 17:47:40 +02:00
Eric Lippmann
424f687f5d
Merge pull request #3532 from Icinga/bugfix/ido-check_interval
...
Fetch check_interval property of monitored objects, too
2018-07-18 16:32:37 +02:00
Eric Lippmann
c168ebfe3a
Fix subquery joins for host and service group views
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
3a434320e2
Fix subquery joins for negative filters
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
b7f0270a24
Use SELECT 1 for subquery filters
...
refs #2934
2018-07-18 15:50:37 +02:00