Commit Graph

4637 Commits

Author SHA1 Message Date
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 1ae2507f0e
Merge pull request #3495 from Icinga/bugfix/tests-don-t-respect-module-paths-3494
icingacli test php unit: include the tests of all installed modules
2018-07-18 13:45:18 +02:00
Eric Lippmann becd7d0504 Introduce monitoring/PluginOutputHook
refs #3257
2018-07-16 14:19:28 +02:00
Johannes Meyer 6f5edf132c monitoring: Introduce run.php and provide the new ApplicationStateHook
fixes #3523
2018-07-12 13:55:05 +02:00
Johannes Meyer 4f2a6dd9aa i18n/monitoring: Update german translation 2018-07-12 11:09:11 +02:00
Johannes Meyer d26ac3c5fb i18n/monitoring: Correct german translation 2018-07-12 10:31:58 +02:00
Alexander A. Klimov 0c364f7866 icingacli test php unit: include the classes of all installed modules
refs #3494
2018-07-10 15:24:19 +02:00
Eric Lippmann 5f3da9d5e9
Merge pull request #3515 from Icinga/fix/shaky-monitoring-health-layout-3434
monitoring/health: Cleanup layout and make it dashboard compliant
2018-07-10 09:25:25 +02:00
Eric Lippmann 12b17d4b0a Reduce font-weight for badges in monitoring/health
refs #3434
2018-07-10 09:23:38 +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 99d348d41f
Merge pull request #3517 from Icinga/fix/cli-list-problems
Fix for CLI list --problems
2018-07-10 09:05:22 +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 b3fcbbee97 Revert "Fix icingacli monitoring list --problems"
This reverts commit 855e7f7120.
2018-07-09 16:08:02 +02:00
Johannes Meyer 1cb105b52a monitoring/health: Cleanup layout and make it dashboard compliant
fixes #3434
2018-07-09 13:50:17 +02:00
Eric Lippmann 303637df3c
Merge pull request #3452 from Icinga/feature/drop-php-lt-56-support
Drop support for PHP < 5.6
2018-07-09 09:18:18 +02:00
Carsten Koebke 55072ac840 Render multiline in custom variables correct
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-04 15:28:38 +02:00
Eric Lippmann 8990d6f46e Drop support for PHP < 5.6 2018-07-03 13:11:36 +02:00
Alexander A. Klimov 6da5d4173e icingacli test php unit: include the tests of all installed modules
refs #3494
2018-06-28 16:05:18 +02:00
Alexander A. Klimov fd239fa40c Separate framework and modules tests logically
refs #3494
2018-06-28 14:26:37 +02:00
Eric Lippmann d19d888d9e
Merge pull request #3458 from Icinga/feature/host-and-service-group-grid-1017
Host- and servicegroup grid
2018-06-28 11:40:52 +02:00
Eric Lippmann 88c2fe44e3 Link from the host and service group lists to their grids and vice versa
refs #1017
2018-06-28 11:27:46 +02:00
Johannes Meyer 61103ae359 monitoring/list: Introduce action servicegroup-grid
refs #1017
2018-06-28 11:27:45 +02:00
Johannes Meyer 917827a87b monitoring/list: Introduce action hostgroup-grid
refs #1017
2018-06-28 11:27:45 +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 23248a4f3b
Merge pull request #3325 from Icinga/bugfix/unreachable-pdf-export-documentation-1716
Doc: make PDF export action reachable
2018-06-08 08:42:49 -04:00
Eric Lippmann 96303f53f8
Merge pull request #3213 from Icinga/feature/drop-php-5-3-support
Drop PHP 5.3 support
2018-05-08 03:03:36 -04:00
Eric Lippmann 8a4ae535aa
Merge pull request #3449 from Icinga/feature/flippable-service-grid-axes-2640
Flippable service grid axes
2018-05-08 02:57:25 -04: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
Johannes Meyer 9b76ff5539 servicegrid: Properly handle `?flipped=0`
refs #2640
2018-05-07 14:14:34 +02:00
Johannes Meyer bb37d7e2f9 Introduce test ThresholdRangeTest
refs #1298
2018-05-07 14:01:39 +02:00
Alexander A. Klimov fc1f6e13ab Drop PHP 5.3 support 2018-05-07 11:36:54 +02:00
Eric Lippmann 4b7dc0c350
Merge pull request #3392 from Mikesch-mp/list-notifications
Always show full date + time on history list for notifications
2018-05-07 04:39:21 -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
Eric Lippmann 60295f3407
Merge pull request #3443 from Icinga/fix/search-over-customvars-results-in-sql-error-2508
Fix search over customvars results in sql error 2508
2018-05-07 04:18:22 -04:00
Johannes Meyer 273b0f2f94 PerfdataTest: Update case which explicitly checks thresholds for null
It's not important whether null or not, as long as it properly detects
that no threshold is set. Further tests specifically for ThresholdRange
should accommodate this case by verifying we don't detect any WARNING.

refs #1298
2018-05-03 16:07:30 +02: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