Commit Graph

3922 Commits

Author SHA1 Message Date
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
Alexander A. Klimov 0a9aa20dfa Implement DetailviewExtensionHook
refs #2104
2017-01-24 16:44:00 +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
Michael Friedrich 08a82daea3 Update to icinga.com
refs #2687
2017-01-18 12:04:43 +01:00
Michael Friedrich b474482188 Fix local timestamp for PostgreSQL queries
This fixes the "monitoring health" view indicating that Icinga 2
isn't updating the database, even if status_update_time uptodate.

refs #2651

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-01-17 16:31:03 +01:00
Eric Lippmann 0e63434d90 Doc: Fix permission list for the Icinga 2 API command transport 2017-01-17 12:30:14 +01:00
Eric Lippmann cde55b5764 Support failover API command transport configuration
fixes #13957
2017-01-12 10:39:36 +01:00
Johannes Meyer 0716f87852 Update german translation 2016-12-13 13:57:27 +01:00
Eric Lippmann ff71a395d2 Update version to 2.4.0 2016-12-13 12:34:12 +01:00
Eric Lippmann 7dc4d3d63e Enable propagate host downtime commands for Icinga 2 >= 2.6.0 and Icinga 1.x
fixes #10774
2016-12-12 12:41:14 +01:00
Eric Lippmann 8f9920f1fc Return unprefixed Icinga version in MonitoringBackend::getProgramVersion() 2016-12-12 12:40:54 +01:00
Eric Lippmann 293dd2b576 Remove icon-strikethrough in history views 2016-12-12 12:11:57 +01:00
Eric Lippmann 62ebaab8b7 Merge branch 'feature/show-flapping-events-in-the-history-views-12766'
resolves #12766
2016-12-12 10:57:25 +01:00
Florian Strohmaier 5b854988c2 Switch positions of status summary and selection info
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-12-11 17:29:30 +01:00
Alexander A. Klimov bb920c37d4 Merge branch 'master' into feature/add-ssl-support-to-mysql-database-resources-11115
refs #11115
2016-12-09 14:12:49 +01:00
Eric Lippmann 2292010a15 Display downtime end even if it hasn't been started yet
resolves #12764
2016-12-09 13:47:21 +01:00
Alexander A. Klimov 665557be27 Support Icinga 2.6 IDO w/ PostgreSQL 2016-12-09 11:57:56 +01:00
Alexander A. Klimov 3cedcd5408 Fix missing German translation
refs #11115
2016-12-08 18:38:39 +01:00
Alexander A. Klimov dce6b4eb08 Merge branch 'master' into feature/add-ssl-support-to-mysql-database-resources-11115 2016-12-08 16:50:41 +01:00
Eric Lippmann aee4c4e6a8 Merge branch 'feature/allow-changing-default-of-command-options-11952'
resolves #11952
2016-12-08 14:23:03 +01:00
Eric Lippmann 1b6e7177a3 Allow to export the host and service detail views to JSON
resolves #12820
2016-12-08 10:40:22 +01:00
Eric Lippmann 4f6c54e62c Support scheduling a downtime for all services of a host w/ the Icinga 2 API as command transport
fixes #12810
2016-12-08 10:40:22 +01:00
Florian Strohmaier 9bff4dd83b Enable horizontal scrolling for perfdata table
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>

fixes #11766
2016-12-08 10:40:22 +01:00
Eric Lippmann a6bbc68bcb Highlight state in HTML plugin output too
fixes #12223
2016-12-08 10:40:22 +01:00
Eric Lippmann f53eb48e38 Show hint if notifications are disabled globally
resolves #11792
2016-12-08 10:40:22 +01:00
Eric Lippmann 4f77cce7a9 Cache count in MonitoringBadgeNavigationItemRenderer 2016-12-08 10:40:22 +01:00
Alexander A. Klimov efed4a34a1 Event history: show also flapping events
refs #12766
2016-12-07 17:23:20 +01:00
Alexander A. Klimov 0665ca387b Setup: show monitoring config summary even with Icinga 2 API as command transport
fixes #13459
2016-12-07 17:09:48 +01:00
Alexander A. Klimov 7253fbcfa4 Command forms: make the defaults of some checkboxes configurable
refs #11952
2016-12-07 16:53:53 +01:00
Alexander A. Klimov f1051f0ea5 Drop MonitoredObject::getNotes() 2016-12-05 13:33:11 +01:00
Alexander A. Klimov cdc3d43a04 Respect newlines in host and service notes
fixes #12313
2016-12-05 13:33:11 +01:00
Eric Lippmann d6d0434a5f Merge remote branch 'bugfix/show-all-usergroups-in-the-web-interface-11744'
fixes #11744
2016-12-05 11:18:18 +01:00
Johannes Meyer 2fa854b0a8 ConfigForm: Introduce and utilize method transformEmptyValuesToNull()
This utility method serves as alternative for all previous custom solutions to prevent empty values from being persisted to INI files.

Since the IniWriter now handles NULL correctly, we're able to refrain from using array_filter for this purpose which was the actual cause for the referenced bug.

fixes #13357
2016-12-01 10:55:24 +01:00
Eric Lippmann 5a9540aa95 Left-align quick actions 2016-11-29 15:24:13 +01:00
Eric Lippmann 0c2e8abc0e Reintroduce control separation 2016-11-29 15:23:42 +01:00
Eric Lippmann f6e0f503b3 Remove Alert Summary menu entry
refs #12728
2016-11-28 14:57:05 +01:00
Eric Lippmann e532717226 Fix quick actions icon alignment 2016-11-25 15:13:59 +01:00
Florian Strohmaier b722f6e178 Replace icon comment w/ comment-empty
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:49 +01:00
Florian Strohmaier 6695e437ab Replace icon bell-alt w/ bell for the send notification command
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:49 +01:00
Florian Strohmaier 3294f60ef4 Replace icon ok w/ check for the acknowledge command
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:49 +01:00
Florian Strohmaier cfb4cd7ad1 Use icon binoculars for overview section
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:49 +01:00
Florian Strohmaier d664248d9d Use icon attention-circled for Problems section
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:48 +01:00
Florian Strohmaier b9e7bb857f Use icon-history for history sidebar menu item
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:48 +01:00
Florian Strohmaier 79ab6157a1 Replace reply icon w/ edit for process check result
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:48 +01:00
Florian Strohmaier ca8f4d3b7e Replace reschedule icon w/ calendar-empty for reschedule check
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:48 +01:00
Florian Strohmaier 0bf2bb15d5 Replace reschedule icon w/ arrows-cw for check now
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:48 +01:00
Eric Lippmann d39a41ebc6 Merge branch 'feature/quick-actions-13187'
resolves #13187
2016-11-24 13:22:00 +01:00
Eric Lippmann 9d39391102 Use 'Remove acknowledgement' instead of 'Remove problem acknowledgement'
refs #13187
2016-11-24 12:49:40 +01:00
Eric Lippmann df4e51845d Display host status and service status summary as inline-block
refs #13187
2016-11-24 12:49:40 +01:00
Eric Lippmann 76fb506a89 Remove control separation in the host and service detail views
refs #13187
2016-11-24 12:49:40 +01:00
Florian Strohmaier 4a254f5b33 CSS: Add styles for quick actions
refs #13187

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-24 12:49:36 +01:00
Florian Strohmaier cea9f5aea1 Use quick actions in the host and service detail views
refs #13187

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-24 12:49:24 +01:00
Florian Strohmaier 1b4428e8a2 QuickActions: create quick actions template
refs #13187

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-24 12:49:12 +01:00
Eric Lippmann c33816f6a5 Remove the command-spacer 2016-11-24 11:38:28 +01:00
Florian Strohmaier bd5a2ebaa3 Move status summary in the host and service list views to the bottom of the page
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-24 10:42:14 +01:00
Eric Lippmann 17398fc513 Drop zero width space charater insertion
word-break: break-word is sufficient.

fixes #12774
2016-11-23 11:05:39 +01:00
Eric Lippmann f94b6be8c6 Merge branch 'bugfix/history-separate-hard-soft-state-11859'
fixes #11859
2016-11-22 10:40:08 +01:00
Eric Lippmann bf18238977 Use icons to separate soft and hard states in the event history views
refs #11859
2016-11-22 10:39:22 +01:00
Eric Lippmann 429405be0c Fix inconsistent host and service flags
fixes #13243
2016-11-21 10:26:35 +01:00
Eric Lippmann 48e1a2cf4b CSS: Remove class pull-left
Usage as class is discouraged. pull-right still in use. Should also be removed.
2016-11-17 10:59:31 +01:00
Eric Lippmann ec07ef2647 CSS: Reduce color mixins to fg-stateful and bg-stateful 2016-11-17 10:58:21 +01:00
Johannes Meyer 8978ad9f79 Revert "DataView: Apply object restrictions to dynamic filter columns"
This reverts commit 9ec471d349.

refs #9993
2016-11-15 12:47:54 +01:00
Eric Lippmann 93474972bf Enable propagate host downtime commands for Icinga 2
This only works when using the latest Icinga 2 snapshot packages. Before releasing Web 2.4.0, we have to include a check to only offer these commands when using Icinga 2 2.6.0+

refs #10774
2016-11-08 15:27:29 +01:00
Eric Lippmann 313cb3233d Allow colspan for th in plugin output
refs #12125
2016-11-03 16:25:29 +01:00
Bernhard Friedreich 647e404c8f Allow table header in pluginoutput
resolves #12125

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-03 16:25:25 +01:00
Eric Lippmann 8da05e0bf8 Compile Arabic translation 2016-11-03 16:16:02 +01:00
Munzir Taha e50dd10193 Add Arabic translation
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-03 16:16:02 +01:00
Alexander A. Klimov b16c64443b Merge branch 'bugfix/ini-writer-must-not-persist-section-keys-with-a-null-value-11743'
fixes #11743
2016-10-18 14:21:24 +02:00
Alexander A. Klimov e2f6c81bfa Remove obsolete workarounds
refs #11743
2016-10-17 15:00:43 +02:00
Alexander A. Klimov 3caffb0026 Merge branch 'bugfix/timeline-broken-12889'
fixes #12889
2016-10-17 14:07:40 +02:00
Alexander A. Klimov a0a203c875 Make timeline working again
refs #12889
2016-10-17 12:44:05 +02:00
Jennifer Mourek c57a636290 MonitoredObject: Fix incorrect line indentation in method fetchCustomvars 2016-10-17 10:28:50 +02:00
Jennifer Mourek 5c2711872a StatehistoryForm: Remove autoupdate on clicking the select-boxes
refs #7755
2016-10-17 09:46:21 +02:00
Noah Hilverling 9ec471d349 DataView: Apply object restrictions to dynamic filter columns
fixes #9993
2016-10-17 09:17:49 +02:00
Eric Lippmann e4695b6937 Doc: Mention PHP cURL extension requirement for using the Icinga 2 API
refs #11398
2016-10-13 12:08:40 +02:00
Jennifer Mourek c5c10adf75 MonitoredObject: Delete fallback for protected custom variables
fixes #12848
2016-10-13 08:54:30 +02:00
Eric Lippmann 4b0e90cf23 Disable zero width spaces for the moment
refs #12774
2016-10-11 15:20:20 +02:00
Eric Lippmann 14cb499c1b Change default for sticky option of acknowledgements from true to false
resolves #12873
2016-10-07 14:48:34 +02:00
Eric Lippmann 213804401c Fix Web 2's remove-downtime API actions not selecting the downtime name
refs #11398
2016-10-07 14:44:08 +02:00
Eric Lippmann 246ad7b4d3 Remove ChartController
fixes #10019
2016-10-05 09:57:00 +02:00
Eric Lippmann c547f4c17f Fix error in the contact detail view introduced by changes to the notification queries 2016-09-15 14:07:19 +02:00
Eric Lippmann fd6ae75803 IDO: Improve notification view performance 2016-09-14 16:18:41 +02:00
Eric Lippmann 1ed2ebc191 IDO: Add config option to use the customvariables table for fetching custom vars
Icinga 1.x has the option to not dump the icinga_customvariablestatus table:

dump_customvar_status=0

With this setting applied, Web 2 will never show custom variables because Web 2 relies on the customvariablestatus table.
This commit introduces a config option to use the customvariables table instead:

/etc/icingaweb2/modules/monitoring/config.ini

[ido]
use_customvar_status_table = 0
2016-09-12 15:52:07 +02:00
Eric Lippmann 65d7c18c31 Merge branch 'bugfix/contact-service-filter-12019'
fixes #12019
2016-09-12 12:30:34 +02:00
Eric Lippmann 11edc55c78 Merge branch 'bugfix/copy-paste-plugin-output-12134'
fixes #12134
2016-09-12 08:20:54 +02:00
Eric Lippmann fc086adf21 Document how to use the Icinga 2 API for transmitting external commands 2016-09-08 16:10:01 +02:00
Eric Lippmann 33506b2965 Fix send custom notification command form if backend is Icinga 2 2016-09-08 15:49:39 +02:00
Eric Lippmann 067de6b7f4 Set comment and downtime name in the detail views 2016-09-08 15:15:53 +02:00
Eric Lippmann 01bee4641d Fix missing comment and downtime name in the object detail views 2016-09-08 15:03:45 +02:00
Eric Lippmann 9402c1ffa6 Add debug info to commands sent over Icinga 2's API 2016-09-08 09:23:49 +02:00
Eric Lippmann c322077aed Fix code block related syntax issues in markdown files 2016-09-01 14:32:23 +02:00
Eric Lippmann 2d32f4a3be Fix markdown table syntax 2016-09-01 14:32:23 +02:00
Eric Lippmann 18d2084924 Disable broadcast option for send custom notification if backend is Icinga 2 2016-09-01 10:51:04 +02:00
Eric Lippmann 8c079d1db8 Merge branch 'feature/api-command-transport-11398'
resolves #11398
2016-09-01 10:50:50 +02:00
Eric Lippmann 64b3811ab0 Display transport type from config in the config overview
refs #11398
2016-09-01 10:49:56 +02:00
Eric Lippmann 440a3f5fdd Respect API transport in the command transport factory
refs #11398
2016-09-01 10:49:08 +02:00
Eric Lippmann 3ccbf37161 Provide API transport in the transport config form
refs #11398
2016-09-01 10:48:36 +02:00
Eric Lippmann 9b310ca1ca Add ApiTransportForm class
refs #11398
2016-09-01 10:47:52 +02:00
Eric Lippmann db41024c89 Add ApiCommandTransport class
refs #11398
2016-09-01 10:47:27 +02:00
Eric Lippmann cfc0f60042 Add RestRequest class
refs #11398
2016-09-01 10:47:06 +02:00
Eric Lippmann ad658b049c Add IcingaApiCommandRenderer class
refs #11398
2016-09-01 10:45:28 +02:00
Eric Lippmann 0f4fa2d492 Add IcingaApiCommand class
refs #11398
2016-09-01 10:44:59 +02:00
Alexander A. Klimov 13085776d8 Performance data: handle negative values
fixes #11915
2016-08-31 15:46:22 +02:00
Eric Lippmann 4fda29c1f0 Add downtime name to the delete downtimes command form
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann 9c766c0241 Select downtime name in the multi select detail view
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann c982c96e16 Select downtime name in the downtime detail view
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann 57406245ca Select downtime name in the downtime list view
refs #11398
2016-08-31 15:21:31 +02:00
Eric Lippmann 5737521683 Add comment name to the delete comments command form
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann b0be1e56dd Select comment name in the multi select detail view
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 25a17b0bc9 Select comment name in the comment detail view
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 39f225a627 Select comment name in the comment list view
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 69db59a38e Add name to the delete downtime command form
refs #11398
2016-08-31 15:21:30 +02:00
Eric Lippmann 59dceb4729 Add name to the delete comment command form
refs #11398
2016-08-31 15:21:29 +02:00
Eric Lippmann 62f2f92ae8 Add name property to the delete downtime command
refs #11398
2016-08-31 15:21:27 +02:00
Eric Lippmann b8df909ad5 Add name property to the delete comment command
refs #11398
2016-08-31 15:06:38 +02:00
Eric Lippmann c55c5a9e64 IDO: Provide downtime name column
The Icinga 2 API requires the downtimes's name when removing the downtime.

refs #11398
2016-08-31 14:05:01 +02:00
Eric Lippmann 0e307c6482 IDO: Provide comment name column
The Icinga 2 API requires the comment's name when removing the comment.

refs #11398
2016-08-31 12:57:50 +02:00
Eric Lippmann 733696864e Wrap zero width space in hidden span
This should fix copy and paste issues but still help browsers to nicely break lines in plugin output.

refs #12134
2016-07-21 10:56:32 +02:00
Eric Lippmann fc5ed3feb1 Bump version to 2.3.4 2016-06-23 14:09:55 +02:00
Michael Friedrich f127611969 Fix contact service filters for 'Downtime'
refs #12019
2016-06-22 13:32:26 +02:00
Eric Lippmann 1bbe1b3620 RemoteCommandFile: Don't close stdin to support transmitting multiple commands 2016-06-09 16:43:06 +02:00
Eric Lippmann d4b9b6d303 Bump version to 2.3.3 2016-06-07 15:15:01 +02:00
Thomas Gelf 3a00923116 RemoteCommandFile: Replace exec with proc_open 2016-06-06 15:08:45 +02:00
Eric Lippmann 1de446fa3d Merge branch 'bugfix/html-links-in-plugin-output-don-t-behave-as-expected-11267'
fixes #11267
2016-06-03 15:33:16 +02:00
Eric Lippmann 97451dae86 Merge branch 'bugfix/remove-large-add-to-menu-tab-11850'
fixes #11850
2016-06-02 17:57:51 +02:00
Eric Lippmann e92aa3de42 Merge branch 'bugfix/sorting-no-longer-works-as-expected-11729'
fixes #11729
2016-06-02 17:57:50 +02:00
Eric Lippmann 6cf8c2ec93 Merge branch 'bugfix/zero-width-space-characters-may-destroy-links-in-plugin-output-11796'
fixes #11796
fxies #11737
2016-06-02 17:57:33 +02:00
Eric Lippmann 934fb34c06 Merge branch 'bugfix/preserve-character-after-comma-in-plugin-output-11728'
fixes #11728
2016-06-02 17:49:28 +02:00
Eric Lippmann 4c2b7f4377 Make delete action in the comment and dowtime list view accessible
fixes #11883
2016-06-02 17:23:38 +02:00
Alexander A. Klimov f75925b550 PluginOutput: preserve <a target="_blank">
refs #11267
2016-06-02 12:40:18 +02:00
hailthemelody@rm-laptop04 188703cf95 fix various typos
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-06-02 08:24:05 +02:00
Eric Lippmann ba5fe61fa9 monitoring: Make timeline colors accessible
fixes #11871
2016-06-01 14:40:55 +02:00
Eric Lippmann 656359a108 CSS: Remove border from extrapolated circles in the timeline
Looks cleaner to me
2016-06-01 13:37:02 +02:00
Alexander A. Klimov b6a76581b0 Host/show: display host alias if it differs from host_name and display_name
fixes #11348
2016-06-01 13:13:35 +02:00
Alexander A. Klimov 3fed5e920f list/contactgroups: show empty usergroups, too
refs #11744
2016-05-31 17:55:52 +02:00
Alexander A. Klimov ecfc8b0f0a Don't provide the "Add to menu" action for command forms
refs #11850
2016-05-31 14:56:42 +02:00
Johannes Meyer b759ab6f5a DbResourceForm: Don't show SSL form elements by default
Addded additionally a check for PHP 5.4 so that these elements
are not shown for earlier versions.

refs #11115
2016-05-27 15:45:22 +02:00
Lee Clemens 87e774cb88 Add SSL Support to MySQL resources
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-05-27 13:15:48 +02:00
Alexander A. Klimov 1be8e14772 Servicegroups list: show how many services are unknown and handled
fixes #11708
2016-05-20 17:05:51 +02:00
Alexander A. Klimov af2cee0942 Make host and service severities independend of whether the state is soft or hard
refs #11729
2016-05-20 14:41:02 +02:00
Alexander A. Klimov 7cfdbfccdb PluginOutput: fix links only if there is any HTML
refs #11796
2016-05-20 14:07:01 +02:00
Alexander A. Klimov ac96d16af0 PluginOutput: add doc
refs #11796
2016-05-20 14:07:00 +02:00
Alexander A. Klimov 53d8278877 Add regression test for bug #11796 2016-05-20 14:07:00 +02:00