Eric Lippmann
df7b5d663a
Use subquery filters for service downtime history if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
0ca97d191f
Use subquery filters for host downtime history if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
81b6b0129b
Use subquery filters for service state history if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
bdb73ec06e
Use subquery filters for host state history if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
27f4fe82cd
Use subquery filters for service notifications if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
84c6055a17
Use subquery filters for service comments if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
a84cc40aa8
Use subquery filters for host notifications if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
db50d40068
Use subquery filters for host comments if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
271a1d72f1
Use subquery filters for contact groups if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
f7f02bdc8f
Use subquery filters for service downtimes if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Eric Lippmann
9f7b9edffe
Use subquery filters for host downtimes if appropriate
...
refs #2934
2018-07-18 15:50:37 +02:00
Johannes Meyer
186ef5a5a7
Use subquery filters for services if appropriate
...
refs #2934
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-18 15:50:37 +02:00
Johannes Meyer
824fa870a2
Use subquery filters for hosts if appropriate
...
refs #2934
(EL): Alternative service group subquery filter:
```php
$this->joinVirtualTable('services');
$query->joinVirtualTable('members');
return ['sgm.service_object_id', 'so.object_id'];
```
But I think the committed solution is better.
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-18 15:50:37 +02:00
Eric Lippmann
4b80b3e7ee
IdoQuery: Support & and != for subquery filters
...
refs #2934
2018-07-18 15:50:37 +02:00
Johannes Meyer
5c8cf64658
IdoQuery: Use subqueries to filter linked objects
...
refs #2934
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-18 15:50:37 +02:00
Alexander A. Klimov
0b5620d2b5
Fetch check_interval property of monitored objects, too
2018-07-18 15:42:34 +02:00
Eric Lippmann
d5d336884c
Fix grouping in the new contact queries
...
refs #3088
2018-07-18 15:20:23 +02:00
Johannes Meyer
5befab6a2b
ContactQuery: Don't use a UNION query if not necessary
...
Speeds up the db's response time significantly in huge
environments.
refs #3088
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-18 15:20:23 +02:00
Johannes Meyer
2fbbf3da58
DataView\Contact: Make instance_name
a static filter column
...
It's not queryable by its accompaniying query.
refs #3088
2018-07-18 15:20:23 +02:00
Eric Lippmann
e684c6d18e
Split contact query into subqueries
...
One can't fetch host and service contacts with a reasonable single
query.
refs #3088
2018-07-18 15:20:23 +02:00
Eric Lippmann
658cc72141
Merge pull request #3502 from Icinga/feature/plugin-output-hook
...
Introduce monitoring/PluginOutputHook
2018-07-18 14:18:27 +02:00
Matthias
4c9dac5fb8
Display all Grapher hooks not just the first one
...
refs #3473
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-18 13:49:32 +02:00
Eric Lippmann
becd7d0504
Introduce monitoring/PluginOutputHook
...
refs #3257
2018-07-16 14:19:28 +02:00
Marian Rainer-Harbach
5e40405a12
Allow disabling MySQL server certificate validation by setting ssl_do_not_verify_server_cert
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-16 11:41:13 +02:00
Eric Lippmann
b88c6b0a6e
Merge pull request #3516 from Icinga/feature/application-state-hook
...
Application state hook
2018-07-10 09:14:26 +02:00
Eric Lippmann
45468b7a8e
Introduce app state for the monitoring module
...
refs #2835
2018-07-09 16:28:28 +02:00
Eric Lippmann
ea722484b0
Introduce 'problems' columns for CLI usage
...
refs #3512
2018-07-09 16:10:07 +02:00
Eric Lippmann
74d1c78465
Respect persistent when acknowledging over API
...
refs #3467
2018-06-27 09:47:08 +02:00
Alexander A. Klimov
906c1668a4
Split Json::encode() into Json::encode() and Json::sanitize()
...
refs #2635
2018-06-21 16:01:53 +02:00
Alexander A. Klimov
02b60633ff
Auto-sanitize only in the monitoring module
...
refs #2635
2018-06-20 18:05:12 +02:00
Alexander A. Klimov
1a94a21263
Prefer Json::encode() over json_encode()
...
refs #2635
2018-06-20 18:05:11 +02:00
Eric Lippmann
ca895fd5e9
Merge pull request #3451 from Icinga/feature/interpret-performance-data-threshold-ranges-8194
...
Interpret performance data threshold ranges
2018-05-08 02:56:36 -04:00
Eric Lippmann
e74b1fc5eb
Merge pull request #3440 from Icinga/feature/secure-detailviewextensionhook-gethtmlforobject-3393
...
Secure DetailviewExtensionHook::getHtmlForObject()
2018-05-07 04:19:32 -04:00
Alexander A. Klimov
259bafea35
Perfdata::format(): handle ThresholdRanges
...
refs #8194
2018-05-03 15:12:42 +02:00
Alexander A. Klimov
392231dc81
Perfdata: return ThresholdRange from getWarningThreshold() and getCriticalThreshold()
...
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
bc5d3b64c4
ThresholdRange::fromString(): compare non-strictly
...
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
81601e6303
ThresholdRange::fromString(): drop default
...
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
b706792c9b
Preserve threshold ranges in ThresholdRange, not in Perfdata
...
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
881267d829
ThresholdRange::fromString(): default to -∞:∞
...
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
54002cb3e5
Perfdata: print warn and crit human-readable if the start is -∞
...
refs #8194
2018-05-03 15:11:52 +02:00
Alexander A. Klimov
2270e250d3
Perfdata: use ThresholdRange
...
refs #8194
2018-05-03 15:10:31 +02:00
Alexander A. Klimov
cdb1db89e2
ThresholdRange: trim(floatval()) -> floatval(trim())
...
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
7865db9053
Perfdata: simplify code design
...
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
e006902254
ThresholdRange::setInverted(): default to true
...
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
7273959007
ThresholdRange: reword doc
...
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
746eb07862
ThresholdRange: use substr() instead of strpos() where more performant
...
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
ddde4b447c
ThresholdRange: trim() raw ranges
...
refs #8194
2018-05-03 15:00:48 +02:00
Alexander A. Klimov
5df6eeaeaf
Implement ThresholdRange
...
refs #8194
2018-05-03 15:00:48 +02:00
Johannes Meyer
4ec783b75e
IdoQuery: Use a dynamic collation when joining custom variables
...
refs #2508
2018-04-27 15:33:42 +02:00
Alexander A. Klimov
2da7ef0eb2
Secure DetailviewExtensionHook::getHtmlForObject()
...
refs #3393
2018-04-27 12:55:17 +02:00