Commit Graph

4158 Commits

Author SHA1 Message Date
Eric Lippmann 47b3019940 Add MonitoringBackend::isIcinga2()
This function is for the many places where we have to distinguish between Icinga 1.x and Icinga 2.x.

refs #11100
2016-02-25 17:45:51 +01:00
Alexander A. Klimov 4751df692d Allow style classes in plugin output
resolves #11062
2016-02-25 17:09:39 +01:00
Eric Lippmann 5a76895105 CSS: Disable :hover transition on tr (WIP)
If any tr is hovered and auto-refresh kicks in, the tr will be hovered again which leads to "flickering".

We should find good a way to use transitions w/o flickering.

refs #11073
2016-02-25 14:52:54 +01:00
Eric Lippmann 43a7ed357a Fix whitespaces in event-history
overview-plugin-output now has white-space: pre-wrap
2016-02-25 11:34:23 +01:00
Eric Lippmann a34f48c990 Fix wrong "Sent out to any contact" notification information 2016-02-25 11:33:43 +01:00
Eric Lippmann f032a670f0 Merge branch 'feature/render-links-in-acknowledgements-comments-and-downtimes-10654'
resolves #10654
2016-02-25 11:31:13 +01:00
Eric Lippmann c834e66b9a Show useful error message if a command transport failed
fixes #10173
2016-02-25 10:36:10 +01:00
Eric Lippmann 102ed40378 Show "Remove problem acknowledgement" in multi-select views
fixes #10469
2016-02-25 10:21:10 +01:00
Eric Lippmann e407f6d116 Merge branch 'bugfix/users-with-no-permissions-can-check-multiple-services-10397'
fixes #10397
2016-02-24 12:42:46 +01:00
Alexander A. Klimov d257c71c54 Respect permission for check now on multiple services
refs #10397
2016-02-24 12:40:00 +01:00
Alexander A. Klimov 23841b635e Respect permission for check now on multiple hosts
refs #10397
2016-02-24 12:39:54 +01:00
Eric Lippmann 35754fbe8e monitoring: Respect whitespace characters in the plugin output in list views
fixes #10786
2016-02-23 16:06:43 +01:00
Eric Lippmann 18e3884b8b monitoring: Fix order of information and actions in the check execution part in the detail area
fixes #10310
2016-02-23 15:41:01 +01:00
Eric Lippmann ff3aa43070 CSS: Set tr background transition only for hover
fixes #11073
2016-02-23 15:40:47 +01:00
Eric Lippmann 7f358ed88d Don't sort a data view on dump when the data view is already sorted 2016-02-23 15:40:40 +01:00
Eric Lippmann bb8478a219 Merge branch 'bugfix/passwords-not-hidden-by-icinga-web-2-10640'
fixes #10640
2016-02-23 15:40:27 +01:00
Eric Lippmann acd2ef709e monitoring: Fix PHPDoc of MonitoredObject::obfuscateCustomVars()
refs #10640
2016-02-23 10:54:47 +01:00
Eric Lippmann 38a752b0ac monitoring: Avoid full stops at the end of comment tooltips
refs #10113
2016-02-22 14:15:35 +01:00
Alexander A. Klimov ce1ed7413d Escape service grid tooltips only once
refs #10277
2016-02-18 11:32:43 +01:00
Alexander A. Klimov c4610ab05d Comments list: display the absolute expire date and time in tooltips
refs #10277
2016-02-18 10:39:52 +01:00
Alexander A. Klimov bd02e5468c PluginOutput helper: use a regex to detect HTML in plugin output
fixes #10366
2016-02-17 11:49:23 +01:00
Alexander A. Klimov af3abb76c8 Render simple HTML links (a[href]) in acknowledgements, comments and downtimes
refs #10654
2016-02-16 14:55:27 +01:00
Alexander A. Klimov b0932d2413 Implement escapeComment helper
refs #10654
2016-02-15 16:26:52 +01:00
Thomas Gelf 601592dbf8 Revert "Fix style issues with long plugin output"
This reverts commit c73ddcff42.

Sorry, break-all is not a solution and looks terrible. Might be used
as a fallback for browsers with buggy hyphens, but not as a default for
every plugin output. No human being wants to read text formatted that
way.

refs #10820
2016-02-15 12:16:29 +01:00
Florian Strohmaier c73ddcff42 Fix style issues with long plugin output
fixes #10820
2016-02-15 11:59:34 +01:00
Johannes Meyer 67b1309834 LdapDiscoveryPage: Show errors if they occur... 2016-02-12 14:19:45 +01:00
Alexander A. Klimov 7fe71f7472 Integrate the iframe module into the framework
refs #10881
2016-02-09 13:37:53 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann 9bc9b78643 monitoring: Fix Icinga 2 version detection in the toggle object features command form 2016-01-28 14:45:39 +01:00
Eric Lippmann 4df7fdea88 monitoring: Add obsessing to ObjectList::getFeatureStatus() 2016-01-28 14:45:22 +01:00
Eric Lippmann 0a3580cd98 monitoring: Add missing obsessing column in multi-select views 2016-01-28 14:23:27 +01:00
Eric Lippmann 164a61cb84 monitoring: Fix permissions used in the toggle object features command form 2016-01-28 14:23:07 +01:00
Eric Lippmann 32f87284ad PHP7: Fix MySQL and PostgreSQL PDO extension checks
refs #10251
2016-01-28 13:52:31 +01:00
Eric Lippmann 480e357266 monitoring: Fix configuration.php 2016-01-28 12:37:18 +01:00
Eric Lippmann ba9aeada60 monitoring: Introduce granular permissions for toggling object features
No backwards compatibility yet. Will be added if necessary.
2016-01-28 12:29:24 +01:00
Eric Lippmann dee6f4d797 monitoring: Control features for multiple selected hosts
refs #8963
2016-01-27 17:42:51 +01:00
Eric Lippmann e45723c4db monitoring: Control features for multiple selected services
refs #8963
2016-01-27 17:38:31 +01:00
Eric Lippmann 6ad40b5123 monitoring: Introduce ObjectList::getFeatureStatus()
refs #8963
2016-01-27 17:37:34 +01:00
Eric Lippmann 027aaacff8 monitoring: Prepare feature command form for multi-select
refs #8963
2016-01-27 17:37:15 +01:00
Eric Lippmann 16bd78ac30 monitoring: Reduce auto-refresh interval after a command has been submitted 2016-01-27 16:55:34 +01:00
Eric Lippmann 7fd575080e PHP7: Rename String to StringHelper
refs #10251
2016-01-27 16:46:55 +01:00
Eric Lippmann 2e1e0bb89f Setup/Monitoring: Remove obsolete sockets requirement
fixes #10805
2016-01-25 07:32:18 +01:00
Alexander A. Klimov 7bc489ba4d MonitoredObject: obfuscate custom variables recursively
refs #10640
2016-01-22 18:37:27 +01:00
Eric Lippmann bc187d91c5 monitoring: Make inline pie charts accessible 2016-01-22 13:33:22 +01:00
Eric Lippmann bb5017d54d monitoring: Support tab navigation in monitoring health 2016-01-18 12:57:56 +01:00
Eric Lippmann e2ff6b1b5a CSS: Set .action navigation styles in the monitoring module 2016-01-18 12:50:27 +01:00
Eric Lippmann ddae844c2a monitoring: Fix error when listing acks ...
... if the user has no permission to remove acks.
2016-01-18 12:50:27 +01:00
Thomas Gelf e0bec8644f monitoring/actions: adjust action link styling 2016-01-12 12:28:12 +01:00
Thomas Gelf 9f035dd61a Monitoring\Hook: fix service actions 2016-01-12 12:27:21 +01:00
Eric Lippmann 9885d74d24 monitoring: Fix ServiceController::getServiceActions() after changing hook usage 2016-01-12 08:58:32 +01:00
Eric Lippmann 3e543808c1 Doc: Add tabs where missing 2016-01-12 08:52:30 +01:00
Eric Lippmann b61a436495 doc: Remove h1 from toc 2016-01-12 08:52:30 +01:00
Eric Lippmann 3d9b878817 doc: Remove h1 from index 2016-01-12 08:52:30 +01:00
Eric Lippmann 8131046b8d doc: Add missing class .chapter 2016-01-12 08:52:30 +01:00
Eric Lippmann fda7ff902a monitoring: Fix error when listing comments ...
... if the user has no permission to delete comments.
2016-01-12 08:52:30 +01:00
Eric Lippmann 5b38fd7ff8 Doc: Underline links 2016-01-12 08:52:30 +01:00
Eric Lippmann a20e971e38 Doc: Remove hover effects from tables 2016-01-12 08:52:30 +01:00
Eric Lippmann 3c236e820c Doc: Color toc numbers
refs #8487
2016-01-12 08:52:30 +01:00
Eric Lippmann 930f014661 Doc: Simplify CSS gradient mixin 2016-01-12 08:52:30 +01:00
Eric Lippmann 4a002af0b9 Doc: Number headings when displaying chapters
refs #8487
2016-01-12 08:52:30 +01:00
Eric Lippmann 85c477e577 Doc: Add tabs 2016-01-12 08:52:30 +01:00
Eric Lippmann 313a02d9f0 Doc: Number headings in toc
refs #8487
2016-01-12 08:52:30 +01:00
Eric Lippmann a63dd58b6a Doc: Increase readability of search matches 2016-01-12 08:52:30 +01:00
Eric Lippmann c5dba1fd76 Doc: Increase font size 2016-01-12 08:52:30 +01:00
Johannes Meyer 1fe1f23031 monitoring: Use class Navigation for hook actions 2016-01-11 17:03:46 +01:00
Eric Lippmann 8b03a647ba Revert "Eventgrid: Fetch the user's filter directly from the URL"
This reverts commit ad20d35e78.

I'm not sure what was intended to achieve w/ this commit.

fixes #10917
2016-01-05 10:59:32 +01:00
Eric Lippmann 353b9da8a5 Bump version to 2.1.2 2015-12-23 14:21:56 +01:00
Eric Lippmann 23b51e8b52 Re-introduce getValues() override for subform values in wizard pages
Wizard pages don't subclass ConfigForm for which the patch was intended. Sorry for the bug.

refs #10905
2015-12-23 14:07:19 +01:00
Eric Lippmann fd609b7098 monitoring: Fix exception when scheduling a downtime for multiple hosts
Introduced w/ the Icinga 2 related change for disabling child options.

fixes #10902
2015-12-22 14:59:48 +01:00
Eric Lippmann 405b768dc2 Bump version to 2.1.1 2015-12-22 14:50:13 +01:00
Alexander A. Klimov 0c107af1f8 Link only to services' downtimes from multi-service detail view
fixes #10170

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-12-22 14:44:04 +01:00
Eric Lippmann 44dd4653ec monitoring: Remove applying restrictions in the detail area when not necessary 2015-12-22 13:00:25 +01:00
Eric Lippmann 7bafab2c68 Merge branch 'bugfix/disable-downtimes-for-child-hosts-w-icinga2-10774'
refs #10744
2015-12-21 13:06:52 +01:00
Eric Lippmann 9f8ee4fb69 Merge branch 'bugfix/state-colors-in-plugin-output-10670'
fixes #10670
2015-12-21 13:06:43 +01:00
Eric Lippmann f843ef2a47 Autofocus the setup token input
refs #10671
2015-12-21 13:05:57 +01:00
Eric Lippmann 627680d500 monitoring: Disable triggering downtimes for a host's children when using Icinga 2
The commands are missing in Icinga 2. Once implemented, we have to re-evaluate this.

refs #10744
2015-12-21 13:01:11 +01:00
Eric Lippmann b49cefa45d monitoring: Highlight state in plugin output in the detail area
refs #10670
2015-12-21 12:25:24 +01:00
Eric Lippmann ed5c2c4190 Merge branch 'bugfix/setup-config-directory-config-should-use-mkdir-p-instead-of-mkdir-10126'
fixes #10126
2015-12-21 11:13:13 +01:00
Eric Lippmann a14481a96b CLI: Use a more restrict mode when creating the config directory resursively
refs #10126
2015-12-21 11:12:06 +01:00
Eric Lippmann 594eb366f2 setup: Remove MakeDirStep
Not in use.
2015-12-21 11:10:28 +01:00
Eric Lippmann dad9538496 Doc: Fix detection whether documentation is empty 2015-12-21 11:09:20 +01:00
Eric Lippmann 720e022bea Merge branch 'feature/use-_env-variables-with-built-in-php-webserver-10488'
resolves #10488
2015-12-21 10:46:05 +01:00
Eric Lippmann c5804eebb7 Merge branch 'bugfix/sort-hosts-and-services-by-last-state-change-9957'
fixes #9957
2015-12-21 10:34:20 +01:00
Eric Lippmann d7eaa41ab4 Move sort services by last state change up in the sort by list
refs #9957
2015-12-21 10:33:21 +01:00
Eric Lippmann 11e7d1050f Merge branch 'bugfix/line-breaks-in-comments-10603'
fixes #10603
2015-12-21 09:39:12 +01:00
Eric Lippmann 2766b1ba0c monitoring: Fix table class in downtimes-header.phtml 2015-12-21 09:29:52 +01:00
Alexander A. Klimov fd2901c4cc Setup: create config directory recursively like mkdir -p
refs #10126
2015-12-18 16:45:39 +01:00
Alexander A. Klimov 2624c7f328 Sort hosts and services descending by last state change
refs #9957
2015-12-18 15:50:57 +01:00
Alexander A. Klimov 3e36563a81 Make hosts and services sortable by last state change
refs #9957
2015-12-18 15:48:55 +01:00
Alexander A. Klimov fc8873ec0a Use getenv() instead of $_SERVER to get REMOTE_USER
refs #10488
2015-12-18 13:46:34 +01:00
Alexander A. Klimov 7d5c15469e Revert "Servicegroup listing: preserve URL params in links to services lists"
This reverts commit 0f7707e8a1.
2015-12-16 13:57:44 +01:00
Alexander A. Klimov 9e6ec12a10 Revert "Hostgroup listing: preserve URL params in links to hosts and services lists"
This reverts commit a63bc649f7.
2015-12-16 13:57:41 +01:00
Alexander A. Klimov a63bc649f7 Hostgroup listing: preserve URL params in links to hosts and services lists 2015-12-16 13:31:50 +01:00
Alexander A. Klimov 0f7707e8a1 Servicegroup listing: preserve URL params in links to services lists
fixes #10778
2015-12-16 13:23:09 +01:00
Eric Lippmann d6431119e9 monitoring: Use View::nl2br() for the downtime detail view
refs #10603
2015-12-16 13:05:32 +01:00
Eric Lippmann 8006090108 Merge branch 'feature/theming-10705'
resolves #10705
2015-12-16 12:49:11 +01:00
Alexander A. Klimov aad7baa5c4 Perfdata::getPercentage(): prevent division by integer 0
fixes #10331
2015-12-15 17:32:45 +01:00
Eric Lippmann 8800decc69 Use icinga-blue like background colors for active and hovered table rows 2015-12-15 13:32:56 +01:00
Eric Lippmann 707b954534 CSS: Add smooth transition on tr hover 2015-12-15 13:31:14 +01:00
Alexander A. Klimov 7983a87f52 Setup wizard: don't display the OS' default webserver user if the actual one is available 2015-12-14 11:29:03 +01:00