Commit Graph

4511 Commits

Author SHA1 Message Date
Alexander A. Klimov 9bc64d931e Merge branch 'bugfix/form-createelements-in-wizard-2990'
fixes #2990
2017-10-06 14:53:26 +02:00
Alexander A. Klimov b7b7796e34 AuthBackendPage: set the subform's defaults before creating it
refs #2990
2017-10-06 13:26:21 +02:00
Alexander A. Klimov 4603f0657d Respect suggestions only for the LDAP backend type
refs #2990
2017-10-06 12:04:30 +02:00
Alexander A. Klimov de53925c7c Provide suggestions for AuthBackendPage as element defaults
refs #2990
2017-10-06 11:12:11 +02:00
Alexander A. Klimov a0ffdb0f7c Populate LdapBackendForm with suggestions only on the first access
refs #2990
2017-10-05 14:53:14 +02:00
Eric Lippmann 8de0b80f9e Fix contact group member count
fixes #2837
2017-10-05 14:35:15 +02:00
lippserd 773dae3750 Merge pull request #2978 from Icinga/fix/drop-livestatus
Remove unsupported livestatus functionality
2017-09-29 11:15:54 +02:00
lippserd 4cadc90c92 Merge pull request #2972 from Icinga/feature/enhance-docs-add-missing-bits
Enhance the documentation, add missing bits and fix outdated information
2017-09-29 11:15:17 +02:00
Michael Friedrich 36b5c949fd Add documentation for addColumns in host/service list views
fixes #2579
2017-09-29 11:01:45 +02:00
Michael Friedrich 34bd8e14c3 Enhance the documentation and fix outdated information (preferences, etc.)
This applies a new structure for the main doc/ and modules/*/doc tree with

01-About.md
02-Installation.md
...

This allows us to link from the main doc directory into module specific
documentation entries.

Furthermore table formatting, examples, and missing settings have been added
where applicable.

This patch also takes care about proper URL anchors and file names and directories.

fixes #2950
2017-09-29 11:01:37 +02:00
Michael Friedrich ab364e0fc7 Remove unsupported livestatus functionality
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-09-29 10:33:55 +02:00
Eric Lippmann 3790fd0819 Bump version to 2.4.2
(cherry picked from commit 13e86b6320)
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-09-28 14:24:00 +02:00
lippserd 624fab8194 Merge pull request #2960 from Icinga/bugfix/host-severity-order-2926
Adjust host severity
2017-09-25 17:11:36 +02:00
Jennifer Mourek 0b30fbd15d Adjust host severity
refs #2926

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-09-25 17:03:33 +02:00
Alexander A. Klimov 467fc79095 Style monitored objects' detailview extensions as expected
refs #2949
2017-09-20 14:49:14 +02:00
Alexander A. Klimov c2ee3bef06 DetailviewExtensionHook: provide the concrete implementation's module
refs #2949
2017-09-20 14:49:08 +02:00
lippserd b7639651e8 Merge pull request #2904 from naisanza/bugs/typos
icingaweb2/setup typo on page
2017-08-11 15:40:28 +02:00
lippserd 9572f77895 Merge pull request #2913 from Icinga/fix/setup-wizard-mysql-debian
Setup Wizard: Fix error code on Debian; Docs: Revamp and split
2017-08-11 15:36:12 +02:00
Michael Friedrich 2c312adf94 API Commands: Only send acknowledgement expire time if not null
Icinga 2 v2.7.0 is more strict with the `expiry` attribute if sent
(cannot be null, or in the past).

While acknowledgments with expire time worked well (and do so with this patch),
the command renderer did not check whether the value is actually not null
before setting it into the data form. The boolean value from the checkbox is
not available in the command renderer unfortunately.

@lippserd: Verified working with and without expire time inside the Vagrant boxes.

fixes #2911
2017-08-08 12:53:39 +02:00
Michael Friedrich 1078b7de1a Setup Wizard: Fix missing MySQL error code 1698 handling
refs #2909
2017-08-07 15:14:20 +02:00
Eric Jaw 07cea541eb icingaweb2/setup typo on page
don' ==> don't
2017-07-28 16:02:23 -04:00
Eric Lippmann 2b3853d01c Doc: Relax Icinga 2 API user permissions
Fixes #2884
2017-07-28 11:28:35 +02:00
Eric Lippmann c4e236cce9 Doc: Fix header anchor detection 2017-07-28 10:20:18 +02:00
Eric Lippmann adc2f90f74 Show DOWN hosts before UNREACHABLE when sorting by host_severity
refs #2034
2017-07-27 16:08:29 +02:00
Eric Lippmann 7c88ee70d2 Remove sort rules from Programstatus
Sort is not necessary here.
2017-07-27 15:03:12 +02:00
Eric Lippmann 1621755103 Don't call UNIX_TIMESTAMP when sorting by host_severity 2017-07-27 15:03:12 +02:00
Eric Lippmann 9b7a155db2 Don't call UNIX_TIMESTAMP when sorting by service_severity 2017-07-27 15:03:12 +02:00
Eric Lippmann 8a6240fe02 Reduce service_severity order by columns
Ordering by host and service display_name too here reduces performance and is not necessary.
2017-07-27 15:03:12 +02:00
Eric Lippmann c5f2fc5aa5 Reduce service_display_names order by columns
Ordering by host_display_name too here reduces performance as it forces MySQL to use a temp table.
2017-07-27 15:03:12 +02:00
Eric Lippmann ee429f54d0 Reduce host_severity order by columns
Ordering by host_display_name too here reduces performance and is not necessary.
2017-07-27 15:03:12 +02:00
Eric Lippmann e7776d08a9 Don't call UNIX_TIMESTAMP when sorting by host_last_state_change
Else possible indices can't be used.
2017-07-27 15:03:12 +02:00
Eric Lippmann 3a1afb3511 Don't call UNIX_TIMESTAMP when sorting by service_last_state_change
Else possible indices can't be used.
2017-07-27 15:03:12 +02:00
Eric Lippmann 9b529bcd15 Flip base tables in HoststatusQuery
This has no performance impact but all our queries should start w/ select from icinga_objects.
2017-07-27 15:03:12 +02:00
Eric Lippmann 370d148072 Optimize imports in HoststatusQuery 2017-07-27 15:03:12 +02:00
Eric Lippmann e42d86a4e1 Remove unncessary column definitions in the Hostgroupsummary and Servicegroupsummary data views 2017-07-27 15:03:12 +02:00
Eric Lippmann 0a3da99e7f Reduce filter columns of the Hostgroup and Servicegroup data views
Its not necessary to expose those columns because these data views do not directly accept user input.
2017-07-27 15:03:12 +02:00
Eric Lippmann 44da318109 Remove no-op order columns Hosts Severiy and Services Severity from the host group and service group views 2017-07-27 15:03:12 +02:00
Eric Lippmann b4df81e75a Optimize queries used for fetching the service group summaries 2017-07-27 15:03:12 +02:00
Eric Lippmann 06cb980308 Don't add GROUP BY for unjoined tables 2017-07-27 15:03:12 +02:00
Eric Lippmann 30cc51a823 Optimize queries used for fetching the host group summaries
refs #1883
2017-07-27 11:43:13 +02:00
Eric Lippmann f5a9016dea Optimize queries for creating the host and service problem badges in the menu
We now use two fast count queries w/ an appropriate filter instead of fetching a whole bunch of unnecessary host and service counters.
2017-07-27 11:38:00 +02:00
Eric Lippmann a9f3f99049 Don't hide errors in the BackendAvailabilityNavigationItemRenderer
If an exception occurs when fetching the dataview, we will now log the exception and display a badge in state unknown.
2017-07-27 11:35:40 +02:00
Eric Lippmann 439d78a982 Don't hide errors in the MonitoringBadgeNavigationItemRenderer
If an exception occurs when fetching the dataview, we will now log the exception and display a badge in state unknown.
2017-07-27 11:31:10 +02:00
Eric Lippmann 28790d254b Remove caching form the MonitoringBadgeNavigationItemRenderer
Caching will be no longer necessary because we will replace the queries used to fetch the problem badges.
2017-07-27 11:29:57 +02:00
Eric Lippmann c0d359fbbd Fix base class of MonitoringBadgeNavigationItemRenderer
The MonitoringBadgeNavigationItemRenderer extended the SummaryNavigationItemRenderer before which does not make sense because they have nothing in common.
2017-07-27 09:33:44 +02:00
Alexander A. Klimov 6848ed6c1e Merge branch 'bugfix/can-t-progress-in-wizard-due-to-error-2842'
fixes #2842
2017-07-05 14:40:10 +02:00
Alexander A. Klimov 5460465e07 Fix null->setDecorators()
refs #2842
2017-07-05 14:34:17 +02:00
Eric Lippmann d208b48b72 Monitoring: Fix permission for the 'Process check result' action
fixes #2878
2017-07-04 17:24:57 +02:00
Eric Lippmann c554ebb473 Merge pull request #74 from Icinga/feature/travis 2017-06-23 14:45:38 +02:00
Eric Lippmann 686d022987 Merge pull request #2863 from Icinga/feature/domain-support-for-authn-authz-2153 2017-06-21 13:16:36 +02:00
Alexander A. Klimov fa5bc6c1ae Wizard: make LDAP domain discovery working again
refs #2153
2017-06-20 15:46:31 +02:00
Markus Frosch 3d3b1cdf4f RestRequestTest: Fully qualify expected exception 2017-06-13 11:07:16 +02:00
Eric Lippmann 178d5f8283 Add CLI command for migrating users according to a given domain
refs #2153
2017-06-12 13:31:08 +02:00
Alexander A. Klimov 0b8e4d4b5c LDAP user backend form: discover and store the LDAP server's domains
refs #2153
2017-06-07 10:19:52 +02:00
Tobias von der Krone a7f5278aee Timeline: fix link to acknowledgements
refs #2850
2017-05-26 12:28:34 +02:00
Eric Lippmann a4a0f9f5e6 Allow to filter notifications by notification_reason
refs #2698
2017-05-04 14:38:00 +02:00
Eric Lippmann b900a01d02 Add sort by severity to the servicegroup links in the servicegroups overview 2017-05-04 14:37:43 +02:00
Eric Lippmann c36b2661b1 Add sort by severity to the hostgroup links in the hostgroups overview 2017-05-04 14:03:57 +02:00
Eric Lippmann 68842f00d8 Fix version 2017-05-03 15:12:07 +02:00
Eric Lippmann d6e54e8624 Fix pending services link in the tactical overview 2017-05-03 09:58:44 +02:00
Eric Lippmann 890c95a2ce Fix badge for handled critical services in the servicegroups overview 2017-05-03 09:43:30 +02:00
Eric Lippmann 85eeff6b09 Fix badge for handled critical services in the hostgroups overview
fixes #2806
2017-05-03 09:41:06 +02:00
Eric Lippmann 7a2d8eda8d Fix exception when the response from the Icinga 2 API has an empty result set
fixes #2805
2017-04-04 09:17:52 +02:00
Eric Lippmann f7a8cf8a6e Merge pull request #2721 from Icinga/feature/change-order-of-command-transports-2709
Feature/change order of command transports 2709
2017-03-28 11:10:17 +02:00
Eric Lippmann 30788ceed0 Merge pull request #2733 from Icinga/feature/set-focus-to-comment-field-for-comments-13535
Set focus to comment field for acknowledgements, downtimes and comments
2017-03-28 10:52:50 +02:00
Eric Lippmann efac7f44c9 Merge pull request #2748 from Icinga/bugfix/validate-icinga2-api-user-2674
Bugfix/validate icinga2 api user 2674
2017-03-28 10:25:12 +02:00
Eric Lippmann 302e559aab Merge pull request #2750 from Icinga/bugfix/click-on-host-in-service-grid-invalid-filter-2523
Servicegrid: assemble filters with the Filter class
2017-03-28 10:22:11 +02:00
Eric Lippmann 0fc45ea953 Merge pull request #2755 from Icinga/feature/keep-quick-actions-in-action-form-2675
Preserve quick actions in a command form view
2017-03-28 10:15:37 +02:00
Eric Lippmann 49239dc7db Display downtime type as text in the downtimes list 2017-03-28 10:12:07 +02:00
Eric Lippmann bbaf10aed2 Merge pull request #2759 from Icinga/feature/show-downtime-type-for-object-2693
Show every downtime's type in the detail view of a monitored object
2017-03-28 10:10:05 +02:00
Eric Lippmann e134b165f4 Merge pull request #2762 from tobiasvdk/bugfix/correct-hover-text-for-handled-services-2656
Correct hover text of the status bar
2017-03-28 10:08:03 +02:00
Eric Lippmann f749c19f37 Merge pull request #2771 from Icinga/feature/monitoring-detailviewextension-hook-2104
Feature/monitoring detailviewextension hook 2104
2017-03-28 09:46:28 +02:00
Alexander A. Klimov 389bf8f4ea Document DetailviewExtensionHook
refs #2104

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-03-28 09:44:59 +02:00
Eric Lippmann a2dbc457fc Merge pull request #2774 from Icinga/bugfix/config-protected-vars-not-updated-2767
Bugfix/config protected vars not updated 2767
2017-03-28 09:38:37 +02:00
Eric Lippmann c11601d458 Merge pull request #2777 from Icinga/bugfix/defaults-when-acknowledging-problems-2776
AcknowledgeProblemCommandForm: respect configuration when creating elements
2017-03-28 09:22:08 +02:00
Alexander A. Klimov cd8d6e41dc AcknowledgeProblemCommandForm: respect configuration when creating elements
refs #2776

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-03-28 09:21:42 +02:00
Johannes Meyer 73e24302c0 Make running unittests with the icingacli work in package installations
fixes #2787
2017-03-09 11:36:35 +01:00
Alexander A. Klimov 9a79b194dd SecurityConfigForm: if protected_customvars is not set at all, display suggestion as placeholder
refs #2767
2017-02-23 12:52:47 +01:00
Alexander A. Klimov fb2abf40f8 Make the view available to DetailviewExtensionHooks
refs #2104
2017-02-21 12:23:21 +01:00
Tobias von der Krone 9f5158a159 Correct hover text of the status bar
Correct the count of handled critical services in the hover text in the
status bar.

fixes #2656
2017-02-17 21:55:35 +01:00
Alexander A. Klimov 31aad4d3f5 Show every downtime's type in the detail view of a monitored object
refs #2693
2017-02-14 18:13:28 +01:00
Alexander A. Klimov fe72973e6e Preserve quick actions in a command form view
refs #2675
2017-02-14 13:07:31 +01:00
Alexander A. Klimov 6d593620d6 Test RestRequest
refs #2674
2017-02-13 14:56:35 +01:00
Alexander A. Klimov 96e7411e25 TransportConfigForm: validate whether the Icinga 2 API can be connected to
refs #2674
2017-02-13 14:56:35 +01:00
Eric Lippmann d2341369a9 Merge pull request #2730 from Icinga/bugfix/invalid-icinga-2-api-response-2728
Handle invalid Icinga 2 API response types
2017-02-13 14:44:51 +01:00
Alexander A. Klimov c810f2bfd1 Servicegrid: assemble filters with the Filter class
refs #2523
2017-02-13 12:24:58 +01:00
Alexander A. Klimov 9e26359c62 Set focus to comment field for acknowledgements, downtimes and comments
refs #13535
2017-02-10 11:24:28 +01:00
Alexander A. Klimov 96ef0dccf8 Make JSON error handling logic reusable
refs #2728
2017-02-09 19:50:04 +01:00
Alexander A. Klimov 6fbec7134c Handle invalid Icinga 2 API response types
refs #2728
2017-02-09 13:38:43 +01:00
Alexander A. Klimov 95020bfed4 Show check attempts only for soft state changes
refs #2718
2017-02-08 14:09:18 +01:00
Alexander A. Klimov b74971c08c Update German translation
refs #2709
2017-02-08 11:31:56 +01:00
Alexander A. Klimov 10ddc8c821 Make the order of command transports easily changable
refs #2709
2017-02-07 19:08:18 +01:00
Johannes Meyer 35ba15a7a6 monitoring: Don't offer the Icinga 2 API as transport if cURL is missing
fixes #2661
2017-02-01 15:37:52 +01:00
Johannes Meyer e83e317cc6 TransportConfigForm: Make the Icinga 2 API the default transport
fixes #2660
2017-02-01 14:52:45 +01:00
Johannes Meyer 6a37583fc7 TransportConfigForm: Fix default port not changing upon auto-submit 2017-02-01 14:49:21 +01:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Johannes Meyer 91a315764c GettextTranslationHelper: Ensure that file source locations are relative
fixes #2684
2017-01-25 09:56:21 +01:00
Alexander A. Klimov 0a9aa20dfa Implement DetailviewExtensionHook
refs #2104
2017-01-24 16:44:00 +01:00
Johannes Meyer 2f8d4739b8 GettextTranslationHelper: Don't create backup files and cleanup temporary files
fixes #2683
2017-01-24 16:04:17 +01:00
Eric Lippmann 1da67cfbc0 Merge pull request #2689 from Icinga/fix-icinga-com-2687
Update to icinga.com
2017-01-18 13:25:39 +01:00