Commit Graph

4896 Commits

Author SHA1 Message Date
Eric Lippmann 56d28a6c14 Prepare release version 2.5.1 2018-01-22 13:47:41 +01:00
Alexander A. Klimov ff6fbdf5f2 Censor arguments in stack traces
refs #2810
2018-01-22 10:28:47 +01:00
Johannes Meyer e8fa99f913 PluginOutput: Use new PluginOutputPurifier helper instead 2018-01-19 16:16:35 +01:00
Johannes Meyer 42b685d336 Introduce class Icinga\Module\Monitoring\Web\Helper\PluginOutputPurifier 2018-01-19 16:16:35 +01:00
Johannes Meyer 2a959af9c2 ConfigCommand: Add fpm socket commandline switch
Allows to pass a different socket path than the default
when generating a webserver's configuration.

refs #2862
2018-01-19 10:15:22 +01:00
Johannes Meyer 94ea42f30d module/doc: End output buffering before serving module images
refs #3223
2018-01-18 15:23:12 +01:00
lippserd 226cc2c810
Merge pull request #3274 from Icinga/bugfix/inner-donut-labels-firefox-3226
Donut: place HTML tags outside <svg>
2018-01-18 10:15:49 +01:00
Michael Friedrich 4dfc309e12 Fix command transport documentation for inline comments
fixes #3281
2018-01-17 17:02:50 +01:00
lippserd 21d1e0d3cd
Merge pull request #3142 from Icinga/bugfix/icingacli-monitoring-list-host-without-services-3050
Split icingacli monitoring list
2018-01-17 16:03:06 +01:00
Alexander A. Klimov 0ad153a223 Tactical overview: always show the problems amount
refs #3226
2018-01-17 15:01:02 +01:00
lippserd f4c46cde19
Merge pull request #3278 from Icinga/bugfix/drop-obsolete-aggregates-from-event-history-query-2860
EventHistory: Drop obsolete SUM aggregates
2018-01-17 14:07:20 +01:00
Johannes Meyer 0610718930 PluginOutput: Allow ordered and unordered lists in html output
refs #2846
2018-01-17 13:02:11 +01:00
Johannes Meyer dff6c16bf8 PluginOutput: Properly handle whitespace for html output
refs #2846
2018-01-17 13:02:11 +01:00
Johannes Meyer b07e4b409f EventHistory: Drop obsolete SUM aggregates
Not used anywhere and not working for a long time already,
at least as filter columns.

refs #2860
2018-01-17 12:41:10 +01:00
lippserd 375b140c48
Merge pull request #3126 from mapa82/master
Monitoring: add setting acknowledge_expire_time
2018-01-17 12:18:00 +01:00
mapa82 9b81492e8b Monitoring: add setting acknowledge_expire_time
Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>
2018-01-17 12:07:03 +01:00
Alexander A. Klimov 4e57fa1dd7 Split icingacli monitoring list
refs #3050
2018-01-16 11:02:19 +01:00
lippserd 2fb9ce9f93
Merge pull request #3145 from Icinga/bugfix/history-eventgrid-format-2678
Accept /monitoring/list/eventgrid?format=*
2018-01-16 10:43:09 +01:00
lippserd 30e5ee9d79
Merge pull request #3227 from Icinga/feature/separate-reachability-and-check-source-2953
Separate reachability and check source info in detail views
2018-01-16 10:24:14 +01:00
lippserd e529b9b2ba
Merge pull request #3218 from Icinga/bugfix/remove-leading-and-trailing-blank-from-ip-address-2494
Remove leading and trailing blanks from ip addresses
2018-01-16 09:20:37 +01:00
lippserd 5b069bace4
Merge pull request #3138 from Icinga/bugfix/typo-existance-3062
Fix typo "existance"
2018-01-16 09:03:48 +01:00
lippserd 6abb91421a
Merge pull request #3220 from Icinga/fix/filter-by-custom-variables
Fix filter by host custom variables
2018-01-11 11:40:22 +01:00
Alexander A. Klimov 196cdbe4af Implement event history detail view
refs #3191
2018-01-09 13:04:06 +01:00
Alexander A. Klimov 0b6336c623 Separate reachability and check source info in detail views
refs #2953
2017-12-19 17:57:04 +01:00
Eric Lippmann 93ec798c6b Ido: Map h.host_object_id to s.host_object_id in the ServicegroupQuery
This is required to make filters work which filter by host custom variables without using any host related table.
2017-12-18 10:35:16 +01:00
Eric Lippmann b1f7923711 Ido: Allow custom variables to be mapped
If you filter by host custom variables and the query does not have the services table joined,
our query implementation calls the joinHosts method. Then, the column for the JOIN ON condition is
automatically set to h.host_object_id.
But it may be required by the query to call joinServices and use s.host_object_id instead of
h.host_object_id because the query does not use any host related table at all.

This is now possible when h.host_object_id is mapped to s.host_object_id:

class ServicesRelatedQuery
{
    protected $columnMap = array(
        'hosts' => array(
            'h.host_object_id' => 's.host_object_id'
        )
    );

    protected function joinHosts()
    {
        $this->requireVirtualTable('services');
    }
}
2017-12-18 10:23:45 +01:00
Alexander A. Klimov ba9d286567 Remove leading and trailing blanks from ip addresses
refs #2494
2017-12-15 13:08:14 +01:00
lippserd 644cf0f1c3
Merge pull request #3183 from Icinga/doc/apache-fpm
Support basic auth on PHP-FPM
2017-12-15 09:59:50 +01:00
Alexander A. Klimov b3535481ff Don't interpret shell comments inside fenced code blocks as MD headers
refs #3200
2017-12-13 13:27:15 +01:00
Markus Frosch 93464f5cd0 apache: Make sure to forward authentication credentials to FPM
This is needed for basic authentication against the Icinga Web 2 API.
2017-12-04 14:16:34 +01:00
Markus Frosch eff3b7758c apache: Include FPM comments in regular Apache config 2017-12-04 14:14:34 +01:00
Eric Lippmann 754963ac11 Support FPM config for Apache < 2.4 generated via icingacli 2017-11-29 14:31:47 +01:00
Eric Lippmann e376b137c7 Prepare release version 2.5.0 2017-11-27 16:18:13 +01:00
lippserd a5bf9e0175
Merge pull request #3029 from Icinga/bugfix/empty-host-and-service-groups-not-shown-2796
Bugfix/empty host and service groups not shown 2796
2017-11-27 14:24:11 +01:00
Alexander A. Klimov 5f443af14d Accept /monitoring/list/eventgrid?format=*
refs #2678
2017-11-24 17:16:33 +01:00
Alexander A. Klimov 667f3cca01 Fix typo "existance"
refs #3062
2017-11-23 16:28:19 +01:00
Eric Lippmann ca803e8f05 Fix monitoring health badge if programstatus has never been set 2017-11-22 11:12:24 +01:00
Eric Lippmann 3db9a1d77f Fix TacticalController if/else complexity 2017-11-22 11:12:24 +01:00
Jennifer Mourek d34ea588b1 Tactical overview: Add donut graphs 2017-11-21 23:38:04 +01:00
Eric Lippmann fd0fe9a403 Monitoring: Add icons and descriptions for second level menu items 2017-11-21 22:55:46 +01:00
Thomas Gelf c786cb9b7e doc/configuration: use late translation 2017-11-21 17:42:21 +01:00
Markus Frosch 762b4eeed2 de_DE: Extend and improve translation
refs #3067
2017-11-21 15:47:46 +01:00
Markus Frosch 2493cb8d63 Fix incorrect uses of translation around sprintf 2017-11-21 15:47:46 +01:00
Markus Frosch 67e207f781 Add translation TestCommand for DateFormatter
To get examples for formatted dates and times
2017-11-21 15:47:46 +01:00
lippserd 29364be810
Merge pull request #3118 from Icinga/fix/strip-doc-img-trailing-ws-3117
DocSectionRenderer: trim trailing image url space
2017-11-21 14:08:32 +01:00
Johannes Meyer e4fd8d5124 Setup: Only allow to validate the API transport configuration
refs #3101
2017-11-21 13:48:29 +01:00
Markus Frosch 22c6bf75e7 Setup: Fix that the API transport validation does not work
refs #3101
2017-11-21 13:48:17 +01:00
Thomas Gelf e32023bd71 DocSectionRenderer: trim trailing image url space
fixes #3117
2017-11-21 12:36:53 +01:00
lippserd 5aed51b1a2
Merge pull request #3094 from Icinga/feature/requirements
Support and documentation changes for 2.5.0
2017-11-17 11:44:34 +01:00
Markus Frosch 0a3ab14ca4 Fix ErrorDocument prefix for the Apache webserver 2017-11-17 11:41:04 +01:00
Markus Frosch 032622a4dc php-fpm: Add config file examples and templates 2017-11-17 11:37:36 +01:00
Eric Lippmann d11519ac49 pogsql: Group by custom variables when querying them
Custom variables added via the URL parameters addColumns or sort must be added to the GROUP BY list when using PostgreSQL.

Credits to @nbuchwitz who came up with the initial fix for this.

refs #1873
2017-11-16 09:20:22 +01:00
Florian Strohmaier 166f27b947 CSS: Optimize monitoring status bar spacing 2017-11-13 15:02:06 +01:00
cstegm bb794d6993 Detect UP and DOWN in plugin output to colorize output
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-10 11:33:52 +01:00
Klaus Jrgensen fa9b2981d7 Fix PHP fatal error on monitoring/health/info when asking for JSON
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-10 11:16:33 +01:00
Eric Lippmann 928185a144 Fix wrong unhandled services count in host views when restrictions are used
The query for fetching the unhandled services count utilises the hosts query as subquery.
Restrictions are applied to both the hosts query and the query for the unhandled services count.
This leads to wrong results since the restrictions are already in place for the unhandled services count because we're using the hosts query as subquery.

refs #2822
2017-11-10 10:17:32 +01:00
Johannes Meyer 23066d2cc4 ServicegroupQuery: Use left joins instead of inner joins
refs #2796
2017-11-09 09:42:46 +01:00
Johannes Meyer 4ef085bdcd HostgroupQuery: Use left joins instead of inner joins
refs #2796
2017-11-09 09:42:46 +01:00
Eric Lippmann 121fdaadb0 Allow to search for host and servicegroups by their case insensitive names too
refs #2971
2017-11-08 15:40:43 +01:00
Eric Lippmann f4ce2a5d82 Fix code style issues 2017-11-08 11:29:33 +01:00
Eric Lippmann 73a6750489 Make phpcs and PhpStorm happy w/ intentional switch, case fall-throughs
Unfortunately, PhpStorm does not regonise PSR2 fall-through comments.
On the other hand, phpcs does not support the @noinspection phpdoc comment (/**).
The fix is a mix of PSR2 comments and @noinspection tags in code comments.
2017-11-08 10:25:28 +01:00
Markus Frosch 9921ebc2f8 test: Align icingacli test commands with default settings
We cleaned the default settings for travis, the CLI commands now
use the same default.

The following issue should be fixed for issues:
https://github.com/Icinga/icinga-packaging/issues/50
2017-11-08 10:07:37 +01:00
Markus Frosch c3ef50978a style: Fix minor styleguide issues for PHPCS 2017-11-08 10:06:45 +01:00
Markus Frosch 389b23af81 GettextTranslationHelper: Avoid descending into symlinks
This basically avoids loops...

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-08 09:53:19 +01:00
Markus Frosch 43423f9453 GetTextTranslationHelper: Make sure we ignore any dotfile or vendor dir
If you are using composer, or ship any other code in dotfile or vendor
directories, we should not parse that for translation.

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-08 09:53:19 +01:00
lippserd 37275ee799
Merge pull request #3034 from Icinga/bugfix/doc-module-sends-wrong-content-type-for-images-2918
ModulesController: use setter for headers and response code
2017-11-07 09:05:11 +01:00
lippserd 2caa07ce9b
Merge pull request #3027 from Icinga/bugfix/respect-limits-and-sort-order-for-format-requests-2967
Respect limits and sort orders for format requests
2017-11-06 09:51:19 +01:00
lippserd 28bd928678
Merge pull request #3052 from Icinga/fix/cli-monitoring-update-help
Fix help for icingacli monitoring list (--unhandled is --problems, etc.)
2017-11-06 09:49:52 +01:00
Alexander A. Klimov ee7fa2c48c Merge branch 'bugfix/wizard-ldap-connection-settings-discovery-failure-reasons-are-silented-2865'
fixes #2865
2017-10-26 11:14:51 +02:00
Alexander A. Klimov d13856eb39 Wizard: show LDAP connection settings discovery failure reasons
refs #2865
2017-10-26 10:25:37 +02:00
Jennifer Mourek 12a694787b ModuleController: Rename ETag to etag and change Response headers (imageAction) 2017-10-25 14:36:41 +02:00
Michael Friedrich 1748b3df9d Fix help for icingacli monitoring list (--unhandled is --problems, etc.)
The help text still showed the wrong paramter, while it was not documented
as possible parameter either. In addition to that #562 unveils that a
custom --format parameter requires selected columns to do so.

This patch adds that into the documentation which is rendered as CLI command
help text then.

refs #562
2017-10-24 21:05:39 +02:00
Johannes Meyer 37aeff7791 Respect limits and sort orders for format requests
fixes #2967
2017-10-23 15:49:12 +02:00
Nicolai 1cbaff76d9 Doc: Fix module name in translation example
Changed module name from module to yourmodule according to the example description.

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-23 11:26:38 +02:00
tfylling 46a82c2739 Monitoring: Make downtime for all services checkbox configurable
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-23 11:17:25 +02:00
Nicolai Buchwitz bd5de0949d Remove array syntax from default comment filter
Added comment types 'comment' and 'ack' as separate fields and removed
the array syntax due to problems with the filter editor.

refs #2925

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-23 10:45:21 +02:00
Jennifer Mourek 48742e1333 ModulesController: use setter for headers and response code
refs #2918
2017-10-20 10:35:23 +02:00
Mikesch-mp c17c1b876c Export JSON with .json extension
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-18 13:47:08 +02:00
lippserd 91948a5a37 Merge pull request #2983 from Mikesch-mp/csv-export
Export CSV files with .csv extension
2017-10-18 13:21:59 +02:00
Mikesch-mp d76a18dd91 Export CSV files with .csv extension
refs #2808

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-18 13:21:19 +02:00
Michael Friedrich bbf95497d0 Merge pull request #3006 from bobapple/fix/docs-broken-links
Fix broken links in docs of monitoring and translation module
2017-10-13 14:01:24 +02:00
Alexander Aleksandrovič Klimov 29df5464cb Fix error "Undefined index: logging_file" (#3013)
fixes #3007
2017-10-11 15:09:22 +02:00
Blerim Sheqa 3b7147af16 Fix broken links in docs of monitoring and translation module 2017-10-09 15:52:10 +02:00
Alexander A. Klimov 4b9a30755f Suggest LDAP backend type based on the discovery (if any)
refs #3004
2017-10-09 13:00:05 +02:00
Alexander A. Klimov 5ef8be2031 LdapBackendForm: move discovery from createElements() to isValidPartial()
refs #2997
2017-10-06 16:16:12 +02:00
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
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
Noah Hilverling 9578c9f489 Setup-Wizard-Viewscript: Fix that progress bar is not shown correctly
fixes #13735
2017-01-13 12:35:50 +01:00
Eric Lippmann cde55b5764 Support failover API command transport configuration
fixes #13957
2017-01-12 10:39:36 +01:00
Noah Hilverling a230fd4aa8 WebWizard: Add removeToken option to method clearSession
refs #9658
2017-01-09 11:01:36 +01:00
Noah Hilverling 19f2c813f1 Wizard: Add restart button
refs #9658
2017-01-09 11:01:15 +01:00
Noah Hilverling e9eeb030a6 DbTool: Do not replace '%' with '%%' in method grantPrivileges
fixes #13615
2016-12-15 15:12:19 +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 e10384770d DbResourceForm: make the encryption selection a checkbox
refs #11115
2016-12-08 17:52:07 +01:00
Alexander A. Klimov 0bafc944d3 Conform to code style guidelines
refs #11115
2016-12-08 17:09:00 +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
Eric Lippmann 65f0a4683f Doc: Allow to view documentation of disabled modules
fixes #13387
2016-12-02 15:21:58 +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
Florian Strohmaier de7d409377 Replace icinga header logos with pixel optimized SVGs
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-22 15:12:18 +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 875d42c0a6 Revert "Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'"
This reverts commit f517c62fde, reversing
changes made to d1fd7e4be7.

refs #10704
2016-11-21 14:34:58 +01:00
Eric Lippmann f517c62fde Merge branch 'bugfix/always-use-the-jquery-find-method-w/-node-context-10704'
fixes #10704
2016-11-21 14:33:43 +01:00
Alexander A. Klimov 3363e6795f JS: use $(parent).find(child) instead of $(child, parent)
refs #10704

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-21 10:46:31 +01:00
Eric Lippmann 429405be0c Fix inconsistent host and service flags
fixes #13243
2016-11-21 10:26:35 +01:00
Johannes Meyer 78be71bc92 Merge branch 'bugfix/evaluate-redirect_remote_user-12164'
fixes #12164
2016-11-21 08:53: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 2c817215cb ExternalBackendForm: Remove option to configure where to fetch a remote user
refs #12164
2016-11-16 12:06:58 +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
Alexander A. Klimov 14363e52f4 Revert "Merge branch 'feature/emit-log-messages-in-the-webserver-s-log-11652'"
This reverts commit f27e8c059d.

refs #11652
2016-11-09 11:48:17 +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
Alexander A. Klimov d9330486e9 Replace ExternalBackend::getRemoteUserEnvvars() with an attribute
refs #12164
2016-11-04 17:27:36 +01:00
Alexander A. Klimov f27e8c059d Merge branch 'feature/emit-log-messages-in-the-webserver-s-log-11652'
resolves #11652
2016-11-04 17:15:06 +01:00
Alexander A. Klimov 3189b5b12d Make GeneralConfigStep::getSummary() working with all logging types
refs #11652
2016-11-04 10:30:36 +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 f8501aa80d setup/AdminAccountPage: respect previously configured envvar when suggesting admin username
refs #12164
2016-10-18 15:38:03 +02:00
Alexander A. Klimov d6ac6c8374 setup/AuthenticationPage: don't show the warning about external backend configuration if REDIRECT_REMOTE_USER is set
refs #12164
2016-10-18 15:19:13 +02: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 29c221418b External authentication: respect REDIRECT_REMOTE_USER as well
refs #12164
2016-10-17 16:19:26 +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 f05d22a39d Fix image in the documentation of the monitoring module 2016-09-01 11:30:58 +02:00
Eric Lippmann ddd42e044a Fix images in the documentation of the translation module 2016-09-01 11:30:17 +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 1feeef1020 ResourceStep: Show encryption settings
refs #11115
2016-05-27 15:46:17 +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
Alexander A. Klimov 10d2b9c51d Don't destroy links by adding zero width space characters to plugin output
refs #11796
2016-05-20 14:07:00 +02:00
Alexander A. Klimov 06755ba778 Add regression test for bug #11728
refs #11728
2016-05-19 13:45:15 +02:00
Alexander A. Klimov c94228308a PluginOutput: preserve character after comma
refs #11728
2016-05-19 11:37:12 +02:00
Alexander A. Klimov 21e4ba5680 Icinga Web 2.3.2 2016-04-28 14:56:31 +02:00
Alexander A. Klimov f75d268c3e monitoring/config: honor permissions
fixes #11691
2016-04-28 11:43:01 +02:00
Alexander A. Klimov 8461cfafd8 Merge branch 'bugfix/can-t-configure-monitoring-backend-when-none-were-configured-11392'
fixes #11392
2016-04-26 12:56:11 +02:00
Alexander A. Klimov dda44bf7ba ConfigController: ignore URL parameter `backend'
refs #11392
2016-04-26 12:54:02 +02:00
Alexander A. Klimov 809c2d0e02 Event history: display a heading above each group of events (by day)
refs #11629
2016-04-26 12:09:40 +02:00
Alexander A. Klimov 531d999129 Event history: show the absolute time of events
refs #11629
2016-04-26 11:38:24 +02:00
Alexander A. Klimov 098eff9050 Event history: preserve translation domain
refs #11629
2016-04-26 11:34:10 +02:00
Alexander A. Klimov 4b9a20f239 ConfigController: inherit from Icinga\Web\Controller directly
refs #11392
2016-04-25 17:22:13 +02:00
Alexander A. Klimov aa57981b3e ConfigController: don't use Monitoring\Controller::$backend
refs #11392
2016-04-25 17:19:57 +02:00
Johannes Meyer d0cd03f324 ScheduleHostDowntimeCommandForm: Add missing use statement for DateTime 2016-04-21 15:35:29 +02:00
Alexander A. Klimov 66bdae81ac Don't let the user schedule illogical host or service downtimes
refs #10847
2016-04-18 17:55:29 +02:00
Eric Lippmann fdbcc6af8e Bump version to 2.3.1 2016-04-18 01:10:20 +02:00
Eric Lippmann f66daa622c Fix unwanted change of ContactgroupQuery::$groupBase
Oops!

fixes #11598
2016-04-18 01:01:26 +02:00
Eric Lippmann 773c3cc88e Bump version to 2.3.0 2016-04-13 16:23:38 +02:00
Eric Lippmann 5f8611ffe5 doc: Support fragment-less file links 2016-04-13 16:18:27 +02:00
Eric Lippmann 4d488ab354 Merge branch 'master' into feature/restrict-custom-variables-10965 2016-04-13 15:44:12 +02:00
Alexander A. Klimov 589da9bcd1 monitoring: Apply custom variable restrictions
refs #10965
2016-04-13 15:43:42 +02:00
Eric Lippmann 0461b060f8 Fix typo in doc/module.less 2016-04-13 15:33:19 +02:00
Eric Lippmann 0a162008a2 Increase font-weight of links in docs 2016-04-13 15:28:08 +02:00
Eric Lippmann 04a3d3e90d Fix issue w/ duplicate section IDs
fixes #11580
2016-04-13 14:49:34 +02:00
Eric Lippmann 42112b28c5 Revert "doc: Replace whitespaces with - for section IDs"
This reverts commit 82d36e11cc.
2016-04-13 14:41:27 +02:00
Eric Lippmann 855e7f7120 Fix icingacli monitoring list --problems
fixes #11245
2016-04-13 13:51:43 +02:00
Florian Strohmaier 8034e9de23 Accessibility: Increase focus visibility in tactical overview
fixes #11516
2016-04-13 13:48:32 +02:00
Florian Strohmaier 7e15f68a7a CSS: Beautify state-badges 2016-04-13 12:42:52 +02:00
Eric Lippmann 275d9bd411 Add CSS class for state badge groups 2016-04-13 12:28:38 +02:00
Eric Lippmann 5afc54d973 monitoring: Select instance_name in multi-select views
Before, if all command transports are configured to filter for a specific instance, no command would have been sent to Icinga.
2016-04-12 13:23:13 +02:00
Eric Lippmann b0e3dd438f Doc: Fix too greedy regex for matching blockquotes 2016-04-12 11:11:41 +02:00
Eric Lippmann 7ea9ae8305 CSS: Remove redundant hover styles for a 2016-04-11 14:12:32 +02:00
Eric Lippmann 05f752ecd8 Don't offer disable notifications w/ expire time if backend is Icinga 2
resolves #11529
2016-04-11 10:51:37 +02:00
Eric Lippmann b783b0c44c monitoring: Use icon view helper instead for icon images
fixes #11299
2016-04-11 10:41:22 +02:00
Eric Lippmann 4cc4657ee9 Add host_is_reachable column to the host status data view
refs #11404
2016-04-11 10:29:26 +02:00
Eric Lippmann 750b8950b2 lib: Reorder columns in Hoststatus 2016-04-11 10:29:08 +02:00
Eric Lippmann a824637c0e Add service_is_reachable column to the service status data view
refs #11404
2016-04-11 10:28:12 +02:00
Eric Lippmann aced4f3b6e lib: Reorder columns in Servicestatus 2016-04-11 10:27:28 +02:00
Eric Lippmann e23672e483 Merge branch 'bugfix/word-break-in-plugin-output-10820'
refs #10820
2016-04-11 10:00:20 +02:00
Eric Lippmann 48cd99aba3 doc: Render chapter tab titles human readable 2016-04-01 14:38:23 +02:00
Eric Lippmann 3ecf390a4b doc: Use module name for tab and window title 2016-04-01 14:36:11 +02:00
Eric Lippmann 38892a971f doc: Support loading images beneath doc/ directories 2016-04-01 14:32:33 +02:00
Alexander A. Klimov dc4bcdabb6 Gettext: respect context while parsing mt(...) 2016-04-01 14:19:40 +02:00
Eric Lippmann f9b7c302fc doc: Update bullets in toc 2016-03-31 17:38:34 +02:00
Eric Lippmann 793acd8475 CSS: Move styles related to controls to controls.less
refs #11145
2016-03-31 12:38:25 +02:00
Florian Strohmaier 6267001053 monitoring: float state-summaries left
refs #11145
2016-03-31 10:30:01 +02:00
Eric Lippmann ad6d8dca2e monitoring: Update controls markup in services
refs #11145
2016-03-31 10:27:02 +02:00
Eric Lippmann f50906dade monitoring: Use descriptive variable names in servicesAction() 2016-03-31 10:27:01 +02:00
Eric Lippmann ad8cffcbbd monitoring: Update content markup in servicegroups 2016-03-31 10:27:01 +02:00
Eric Lippmann 913c024e46 monitoring: Use descriptive variable names in servicegroupsAction() 2016-03-31 10:27:01 +02:00
Eric Lippmann b3d382a3d4 monitoring: Update controls markup in service groups
refs #11145
2016-03-31 10:26:56 +02:00
Eric Lippmann 09892d5490 monitoring: Update controls markup in notifications
refs #11145
2016-03-31 10:26:40 +02:00
Eric Lippmann 9e4d5387ab monitoring: Use descriptive variable names in notificatiosnAction() 2016-03-31 10:26:40 +02:00