Commit Graph

2173 Commits

Author SHA1 Message Date
Eric Lippmann a8de3c093a monitoring/host: Add tooltip for the unhandled services link to the link
refs #8110
2015-02-02 17:27:59 +01:00
Eric Lippmann 2722463372 Prefix tooltips in the host groups overview with "List ..."
refs #8110
2015-02-02 17:06:32 +01:00
Johannes Meyer c4c6d36b00 setup: Clarify that the db user's credentials may be insufficient as well 2015-02-02 16:55:31 +01:00
Eric Lippmann 4fc8850e25 Use transplatePlural for hosts in downtime and hosts having comments tooltips
refs #8110
2015-02-02 16:48:13 +01:00
Eric Lippmann 942d55c0d4 Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110 2015-02-02 16:37:03 +01:00
Johannes Meyer a5fe9a1fe1 Revert "Introduce link target "_right" to keep a column with tabs rightmost"
This reverts commit 618ab4f4b9.
2015-02-02 16:34:29 +01:00
Johannes Meyer 9df2430cbe Remove redundant help message when scheduling host/service checks 2015-02-02 16:31:57 +01:00
Johannes Meyer 5382f73c53 Drop all old object- and command-view scripts 2015-02-02 16:31:25 +01:00
Johannes Meyer 8b377cd651 Use the new command-view scripts 2015-02-02 16:30:52 +01:00
Johannes Meyer 2e99e476fe Use the new object-view scripts 2015-02-02 16:28:35 +01:00
Johannes Meyer afa3431aed Introduce new object- and command-view scripts
Represents how we plan to handle view scripts that are re-usable. Should
supersede all <action>/component/* view scripts in the upcoming future.
2015-02-02 16:26:55 +01:00
Eric Lippmann bfb2f710a1 monitoring: Fix exception in the alert summary report when using the "One month" interval
fixes #8220
2015-02-02 14:28:47 +01:00
Eric Lippmann f9047e85c5 monitoring: Fix wrong unhandled service problems count in the hosts overview
The query was missing the is_active = 1 condition. I'll open an issue for the other
affected queries.

fixes #8013
2015-02-02 11:12:27 +01:00
Eric Lippmann cf944a7daf monitoring: Show close button when removing a backend 2015-02-02 11:07:01 +01:00
Eric Lippmann a62acb4a82 monitoring: Show close button when updating a backend 2015-02-02 11:06:40 +01:00
Eric Lippmann 42fe7079ee monitoring: Show close button when creating an instance 2015-02-02 11:06:20 +01:00
Eric Lippmann cbc1a0313a monitoring: Show close button when creating a backend 2015-02-02 11:05:50 +01:00
Eric Lippmann d7cbfebbd0 monitoring: Show close button when removing an instance 2015-02-02 11:05:32 +01:00
Eric Lippmann 734c7b3546 monitoring: Show close button when updating an instance 2015-02-02 11:04:41 +01:00
Eric Lippmann f2d639108f monitoring: Move "Service Grid" beneath "Problems"
The service grid is filtered by problems by default. Thus it makes sense
to move it beneath the problems section.
2015-02-02 00:08:25 +01:00
Eric Lippmann ad4ebf8fa5 monitoring: Fix that selecting a hostgroup displays its services instead of its hosts
fixes #8273
2015-02-01 23:30:48 +01:00
Johannes Meyer bf470125c3 Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
Conflicts:
	modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
Johannes Meyer f5a651664c Create the enabledModules directory when necessary only as well
refs #8219
2015-01-30 16:16:12 +01:00
Johannes Meyer a95fd561cd Revert "setup: Convert octal directory mode to decimal notation"
This reverts commit e93e8f6330.
2015-01-30 15:47:21 +01:00
Johannes Meyer d2dd66c9fd Revert "setup: Fix octdec for directory modes"
This reverts commit c0444a81b2.
2015-01-30 15:47:11 +01:00
Johannes Meyer 6416fc421c Do not create directories which are created automatically if necessary
refs #8219
2015-01-30 15:43:39 +01:00
Johannes Meyer e8619686ae Add the sockets module as optional requirement of the monitoring module 2015-01-30 13:01:51 +01:00
Eric Lippmann 127ce7abfe monitoring/security: Fix that toggling instance features is always disabled
In HTML5 the presence of a boolean attribute on an element represents the true value,
and the absence of the attribute represents the false value.

In Zend we have to set null for the absence of the attribute and the empty string for the
presence of the attribute.
2015-01-30 10:47:02 +01:00
Eric Lippmann 1681f746c1 monitoring/security: Disable toggling object features if user lacks the permission monitoring/command/feature/object 2015-01-30 10:46:24 +01:00
Eric Lippmann bdc637ff67 monitoring/security: Guard toggling object features
Toggling object features will only be possible if the user has the permission monitoring/command/feature/object.
2015-01-30 10:31:49 +01:00
Alexander Klimov 868295110a Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
Conflicts:
	modules/monitoring/application/views/scripts/hosts/show.phtml
2015-01-30 10:26:47 +01:00
Eric Lippmann 35b33647cf monitoring/security: Guard the link for disabling notifications on an instance-wide basis
The link in the monitoring health view will only be shown if the user has the permission monitoring/command/feature/instance.
2015-01-30 10:26:43 +01:00
Eric Lippmann 3716be4a48 monitoring/security: Disable toggling instance features if user lacks the permission monitoring/command/feature/instance 2015-01-30 10:01:03 +01:00
Eric Lippmann 26613a0106 monitoring/security: Rename permission monitoring/command/feature/program to monitoring/command/feature/instance 2015-01-30 09:58:30 +01:00
Eric Lippmann 7dbb8c6841 monitoring/security: Require monitoring/command/feature/instance permission for toggling instance features 2015-01-30 09:58:10 +01:00
Eric Lippmann d19e36d937 monitoring/security: Require monitoring/command/feature/instance permission for disabling notifications 2015-01-30 09:57:31 +01:00
Johannes Meyer 63305fdf9a Add Icinga\Application\Config::saveIni()
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.

refs #8219
2015-01-30 09:32:08 +01:00
Johannes Meyer 3a983e8859 Merge branch 'master' into feature/improve-autologin-setup-8274 2015-01-28 18:01:15 +01:00
Johannes Meyer 78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer 618ab4f4b9 Introduce link target "_right" to keep a column with tabs rightmost
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..

refs #6436
2015-01-28 14:21:06 +01:00
Johannes Meyer c19ff289bf Open command forms in the same column where their link is located
refs #8279
2015-01-28 13:02:37 +01:00
Johannes Meyer 6fde4eec30 Show all tabs except "Add to Dashboard" when issuing a command
refs #8279
2015-01-28 12:50:29 +01:00
Eric Lippmann 49b82af704 monitoring/security: Apply services/filter restriction in the service detail view 2015-01-27 14:57:54 +01:00
Eric Lippmann 49d4d74dbb monitoring/security: Apply hosts/filter restriction in the host detail view 2015-01-27 14:57:22 +01:00
Eric Lippmann 7bf6bd39e9 monitoring: Implement Filterable in MonitoredObject 2015-01-27 14:54:21 +01:00
Eric Lippmann e086905384 monitoring: Deprecate DataView::addFilter() and DataView::setFilter()
The from now on deprecated interface Filterable has proven that it sucks in the DataView.
Because of requiring us to implement trillion stupid methods, only DataView::applyFilter()
does not forget to handle column validation. Thus only DataView::applyFilter() must be used in order
to apply filters.
For setFilter() a wrapping Filter::matchAny() for the IdoQuery (or the DbQuery or the SimpleQuery I didn't have a look)
is required for the filter to work properly.
The deprecation is just for the records. I guess we do not use the other methods.
2015-01-27 14:52:13 +01:00
Eric Lippmann b2f93abb12 monitoring/security: Require a Filterable instead of a DataView in applyRestriction() 2015-01-27 14:24:56 +01:00
Eric Lippmann 3cbafe16f6 monitoring/security: Move applyRestriction() to the module's base controller 2015-01-27 14:22:37 +01:00
Johannes Meyer 23c36898da Rename css class "info" to "info-box" and add it as generic box
refs #8274
2015-01-27 14:05:41 +01:00
Eric Lippmann f37cd0cb95 monitoring/security: Apply hosts restriction in the hosts overview 2015-01-27 13:51:15 +01:00
Eric Lippmann c8084dde92 monitoring/security: Apply services restriction in the services overview 2015-01-27 13:49:51 +01:00
Eric Lippmann f8aa9eb05c monitoring/security: Replace 'monitoring/filter' restrictions with filter for the hosts and the services view 2015-01-27 13:48:33 +01:00
Eric Lippmann 405e18a46f monitoring: Fix PHPDoc for MonitoringBackend::from() 2015-01-27 13:37:28 +01:00
Eric Lippmann 08795e7cf4 monitoring/security: Expect restriction name in ListController::applyRestriction()
Before, the restriction was hard coded to 'monitoring/filter'.
This restriction will be removed because we can not use the very same filter for all views.
2015-01-27 13:33:52 +01:00
Johannes Meyer afd4a9a134 There will be '.. users create' instead of '.. setup config webserver --with..'
refs #8274
2015-01-27 10:54:33 +01:00
Johannes Meyer 50fc85d7ff Rename authentication type "autologin" to "external"
refs #8274
2015-01-27 09:49:36 +01:00
Johannes Meyer 0fa133abfb setup: Display a note in case autologin is chosen while not being logged in
In case the user chooses to use autologin as authentication while not being
externally authenticated a note is displayed indicating that it is necessary
to set up the webserver's authentication to be able to login once the wizard
is complete.

refs #8274
2015-01-26 16:58:40 +01:00
Johannes Meyer 45408e45af Relax database permission checks in the setup wizard
The wizard considered all permissions being exclusively associated to their
most important context, which is, in the most common case, incorrect.
Permissions assigned on database level do not need to be assigned on
table level as well.

refs #8267
2015-01-26 15:51:47 +01:00
Alexander Klimov fccc2ffbcf Hosts list: use $this->translatePlural() 2015-01-26 14:17:48 +01:00
Johannes Meyer 7006bbf8b2 Suggest "icingaweb2" as group instead of the webserver's user
..and note that it is necessary to create this group.
2015-01-26 14:13:10 +01:00
Alexander Klimov f0784caaad Hosts view: show object amounts in titles 2015-01-26 14:09:39 +01:00
Eric Lippmann 555ab77c3d Fix "Undefined property: stdClass::$service_display_name" in the alert summary
fixes #8284
2015-01-26 13:42:05 +01:00
Johannes Meyer 0b73dbdd6d Fix exception "Undefined index: type" in the WebWizard's page logic
refs #8275
2015-01-26 10:32:33 +01:00
Johannes Meyer fb97e74453 Use the correct element identifier for the preference storage type selection
Used to be `type' but has changed to `store'
to get a more clear INI structure.

fixes #8275
2015-01-26 07:39:31 +01:00
Johannes Meyer 359336243c Save "none" instead of "null" when choosing to not to store preferences
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer 2a543bb5ae Rename the preference setting `type' to `store'
refs #8234
2015-01-23 16:25:23 +01:00
Eric Lippmann 5fe5e22395 doc: Support any link having a fragment except http(s) links for linking between headings 2015-01-23 16:00:15 +01:00
Eric Lippmann 53a4f10253 monitoring: Sort host groups and service groups by their alias
refs #7843
2015-01-23 15:47:18 +01:00
Eric Lippmann 910065436b monitoring: Support hostgroup_alias and servicegroup_alias filter 2015-01-23 15:47:18 +01:00
Eric Lippmann a1fbb3d937 monitoring: Fix host and service groups overviews when using PostgreSQL
fixes #8268
2015-01-23 15:47:18 +01:00
Johannes Meyer a07bff490f Fix that the monitoring module's config directory is not being created
Forgot to re-add this when reverting a temporary change while adjusting
the module installation as part of #8191.
2015-01-23 15:31:45 +01:00
Eric Lippmann 7500dd9c68 Revert "GroupSummary/Postgres: Fix group by in initial join query"
This reverts commit f47bc46654.

Conflicts:
	modules/monitoring/library/Monitoring/Backend/Ido/Query/GroupsummaryQuery.php

No need to reintroduce group columns.
2015-01-23 15:27:52 +01:00
Johannes Meyer 14a4aaeb77 Revert "Fix that when chosing to not to store preferences an invalid config is created"
This reverts commit 6284da451e.
2015-01-23 15:23:43 +01:00
Johannes Meyer 6284da451e Fix that when chosing to not to store preferences an invalid config is created
fixes #8234
2015-01-23 14:42:09 +01:00
Eric Lippmann c78d4aa0bd monitoring/security: Provide permissions for the feature commands 2015-01-23 13:29:47 +01:00
Eric Lippmann 86ac09d7b1 monitoring: Use the service group alias for displaying service group names in the servicegroups overview
refs #8266
2015-01-23 11:24:39 +01:00
Eric Lippmann 7e05de1255 monitoring: Select the service group alias in the servicegroups ovweview
refs #8266
2015-01-23 11:23:59 +01:00
Eric Lippmann 9fe720e715 monitoring: Escape the service group name in the servicegroups overview 2015-01-23 11:23:42 +01:00
Eric Lippmann 257186fb92 monitoring: Use hostgroup alias for displaying the host group's name in the hostgroups overview
refs #8266
2015-01-23 11:22:35 +01:00
Eric Lippmann 42071118af monitoring: Select hostgroup_alias in the hostgroups overview
refs #8266
2015-01-23 11:22:20 +01:00
Eric Lippmann 30eed015ba monitoring: Support selecting host group and service group alias in the GroupsummaryQuery
refs #8266
2015-01-23 11:21:29 +01:00
Eric Lippmann 74a0c1e274 monitoring: Support selecting host group and service group alias in the HoststatusQuery
refs #8266
2015-01-23 11:21:10 +01:00
Eric Lippmann e15c085f19 monitoring: Support selecting host group and service group alias in the StatusQuery
refs #8266
2015-01-23 11:20:35 +01:00
Eric Lippmann b54564eb5c monitoring: Escape the host group's name in the hostgroups overview 2015-01-23 11:20:00 +01:00
Eric Lippmann 5ac1eaa513 monitoring: Fix indents in the GroupsummaryQuery 2015-01-23 11:11:34 +01:00
Eric Lippmann 3cb2dd0e8b monitoring/security: Hide 'Acknowledge' link if user lacks the respective permission 2015-01-23 11:01:47 +01:00
Eric Lippmann 08e8d5d742 monitoring/security: Hide 'Process check result' link if user lacks the respective permission 2015-01-23 10:48:21 +01:00
Eric Lippmann 2535d802b1 monitoring: Add missing td closing tag 2015-01-23 10:45:10 +01:00
Eric Lippmann 27c1500295 monitoring: Do not translate brackets 2015-01-23 10:41:42 +01:00
Eric Lippmann a166234e6d monitoring/security: Hide 'Reschedule check' link if user lacks the respective permission 2015-01-23 10:40:48 +01:00
Eric Lippmann af2698b075 monitoring: Do not generate 'Schedule downtime' and 'Add comment' links if user lacks the respective permissions 2015-01-23 10:15:55 +01:00
Eric Lippmann d07e1329e8 monitoring: Use nl2br instead of str_replace for downtime comment and comment text 2015-01-23 09:45:43 +01:00
Eric Lippmann f47dae1092 monitoring/security: Hide 'Schedule downtime' link if user lacks the respective permission 2015-01-23 09:43:16 +01:00
Eric Lippmann 67be1b329b monitoring/security: Hide 'Add comment' link if user lacks the respective permission 2015-01-23 09:41:06 +01:00
Eric Lippmann bd65f4d50a monitoring/security: Hide delete comment action in the comments overview if user lacks the respective permission 2015-01-23 09:18:29 +01:00
Eric Lippmann ac5ac10feb monitoring/security: Hide delete downtime action in the downtimes overview if user lacks the respective permission 2015-01-23 09:16:30 +01:00
Eric Lippmann 5967d5fe04 monitoring/security: Hide delete downtime action if user lacks the respective permission 2015-01-22 17:35:34 +01:00
Eric Lippmann a19c155d9f monitoring/security: Hide delete comment action if user lacks the respective permission 2015-01-22 17:33:20 +01:00
Eric Lippmann 4226f06d5d monitoring: Remove unused variable in the MonitoredObjectController 2015-01-22 17:28:33 +01:00
Eric Lippmann f46a587266 monitoring/security: Hide 'Remove Problem Acknowledgement' action if user lacks the respective permission 2015-01-22 17:25:30 +01:00
Eric Lippmann a09ba15859 monitoring/security: Hide 'Check Now' action if user lacks the respective permission 2015-01-22 17:13:35 +01:00
Eric Lippmann 9a59f3529c monitoring: Group permissions by topic where it makes sense, i.e. downtime and comment 2015-01-22 16:56:00 +01:00
Eric Lippmann 251030e1d8 monitoring: Rename remove-downtime to delete-downtime 2015-01-22 16:03:22 +01:00
Eric Lippmann ba7818db5f monitoring: Restrict delete downtime and delete comment to HTTP POST 2015-01-22 15:49:40 +01:00
Eric Lippmann 3d7b375ab4 Security: Require permissions for executing common service commands 2015-01-22 15:23:02 +01:00
Eric Lippmann 44718e5012 Security: Require permissions for executing common host commands 2015-01-22 15:22:20 +01:00
Johannes Meyer 6845480b5f Fix that strtoupper can't handle non ascii chars
Fixed by not using strtoupper or by using it prior
to the translation of the corresponding string.

fixes #8163
2015-01-22 14:37:07 +01:00
Johannes Meyer 78a6937c22 Drop Zend_View_Helper_MonitoringState
It's not required anymore... finally.
2015-01-22 14:37:07 +01:00
Eric Lippmann f4f50fde3c monitoring: Remove _RenderServicePerfdata view helper
This helper is not used anywhere.
2015-01-22 14:12:02 +01:00
Eric Lippmann fecdab9463 monitoring: Provide permission for processing host and service check results 2015-01-22 13:50:55 +01:00
Eric Lippmann 9c47b2d949 monitoring: Fix permission description for 'monitoring/command/schedule' 2015-01-22 13:46:32 +01:00
Johannes Meyer afd58d52bf Merge branch 'master' into feature/more-intuitive-module-installation-8191 2015-01-22 13:33:45 +01:00
Johannes Meyer 3040116c12 Combine duplicate requirements
refs #8191
2015-01-22 12:47:18 +01:00
Eric Lippmann 8bd56f4387 monitoring: Use the Link helper in the eventhistory overview 2015-01-22 10:58:16 +01:00
Eric Lippmann 4589621f58 monitoring: Use host and service display_name for displaying host and service names for an object's history
refs #7843
2015-01-22 10:57:44 +01:00
Johannes Meyer c4c248cbb7 Make the ModulePage's design more appealing
refs #8191
2015-01-22 10:57:41 +01:00
Eric Lippmann 1aa91f0228 monitoring: Select host and service display_name for an object's history
refs #7843
2015-01-22 10:57:15 +01:00
Eric Lippmann d1715c8ec6 monitoring: Escape event message in an object's event history 2015-01-22 10:45:14 +01:00
Eric Lippmann a1f4d124b4 monitoring: Prefer <br> over <br /> in components/header.phtml 2015-01-22 10:36:44 +01:00
Eric Lippmann 9e5d7f43ff monitoring: Show host_name in the detail area too if it's different from the display_name
refs #7843
2015-01-22 10:36:02 +01:00
Eric Lippmann 3d306c0a06 monitoring: Use display_name for displaying the host name in the detail area
refs #7843
2015-01-22 10:35:06 +01:00
Eric Lippmann 4539462bc7 monitoring: Select host_display_name in the host and service object
refs #7843
2015-01-22 10:34:35 +01:00
Eric Lippmann e61edaaffb monitoring: Show service_description in the detail area too if it's different from the display_name
refs #7843
2015-01-22 10:30:55 +01:00
Eric Lippmann ed7dc1beb6 monitoring: Use display_name when displaying the service name in the detail area
refs #7843
2015-01-22 10:29:57 +01:00
Eric Lippmann 98acc9166a monitoring: Fix coding style in components/header.phtml 2015-01-22 10:24:44 +01:00
Eric Lippmann d064b0ac79 monitoring: Rename $showService to $isService in the header view script
Most views use $isService to set whether we are about to show a service.
2015-01-21 17:29:31 +01:00
Johannes Meyer 1ee873adfc Remove the "old" ModulePage view script
refs #8191
2015-01-21 17:00:30 +01:00
Johannes Meyer 71fd1036de Pre-select the monitoring module in the setup wizard
It's TEH module!!1

refs #8191
2015-01-21 16:57:08 +01:00
Johannes Meyer 913143f3a8 Update the SummaryPage's description
A summary page isn't an indicator anymore for a complete wizard as
there are multiple summary pages now.

refs #8191
2015-01-21 16:52:38 +01:00
Eric Lippmann 6be0224d9d monitoring: Add sort by 'Host' and 'Service' in the comments overview
refs #7843
2015-01-21 16:15:38 +01:00
Eric Lippmann 3055531e2d monitoring: Support sorting by host and service display name in the Comment data view
refs #7843
2015-01-21 16:15:09 +01:00
Eric Lippmann cf391b056c monitoring: Use display_name for displaying the host and service names in the comments overview
refs #7843
2015-01-21 16:12:37 +01:00
Eric Lippmann e933b9174c monitoring: Select the host and service display_name columns in the comments overview
refs #7843
2015-01-21 16:10:02 +01:00
Eric Lippmann 94be58e121 monitoring: Support host and service display_name columns in the Comment data view
refs #7843
2015-01-21 16:09:36 +01:00
Eric Lippmann a91a2eba68 monitoring: Support host and service display_name columns in the CommentQuery
refs #7843
2015-01-21 16:09:13 +01:00
Eric Lippmann 9b7e67919f monitoring: Use host and service icons in the notifications overview 2015-01-21 15:59:20 +01:00
Eric Lippmann 439052ad97 monitoring: Use the link helper in the downtimes overview 2015-01-21 15:56:58 +01:00
Eric Lippmann 423e4c55a8 monitoring: Use the ellipsis view helper in the notifications overview 2015-01-21 15:52:24 +01:00
Eric Lippmann cbbd811adb monitoring: Do not strip_tags in the notifications overview 2015-01-21 15:51:14 +01:00
Eric Lippmann b6f87df90e monitoring: Select the host and service display_name column when viewing notifications for a contact
refs #7843
2015-01-21 15:50:32 +01:00
Eric Lippmann 0ceec816c6 monitoring: Use notifications default ordering when showing a contact 2015-01-21 15:49:36 +01:00
Eric Lippmann ece6bfe6bb monitoring: Use display_name for displaying the host and service name in the notifications overview
refs #7843
2015-01-21 15:48:45 +01:00
Eric Lippmann 846f391080 monitoring: Select the host and service display_name columns in the notifications overview
refs #7843
2015-01-21 15:48:04 +01:00
Eric Lippmann ad879b1ee6 monitoring: Select the host and service display_name columns in the Notification data view
refs #7843
2015-01-21 15:47:36 +01:00
Eric Lippmann d8b1e63231 monitoring: Support host and service display_name in the NotificationQuery
refs #7843
2015-01-21 15:47:10 +01:00
Eric Lippmann b05316340c monitoring: Add Link view helper
Most of the monitoring overviews link to detail information, e.g. the full information of the involved monitored
object. Instead of reintroducing link generation and translation in those views, this helper contains most
frequently used jump links.
2015-01-21 15:46:41 +01:00
Johannes Meyer 96390d34bf Enable modules as part of the main installation routine
refs #8191
2015-01-21 15:03:34 +01:00
Johannes Meyer 817e4e937c Run module wizards as part of the main application's wizard
A user now chooses right after the start which modules to install and
configures them as part of the main routine.

refs #8191
2015-01-21 14:00:57 +01:00
Johannes Meyer 08e600a376 Re-introduce the ModulePage
Now with pretty checkboxes :)

refs #8191
2015-01-21 13:57:59 +01:00
Eric Lippmann 0bcca651b2 monitoring: Remove useless PHPDoc in the NotificationQuery 2015-01-21 13:12:26 +01:00
Johannes Meyer 1f6a81aefb Add Wizard::skipPage()
Required to not to duplicate code in custom wizards and to avoid errors
when detecting the direction.

refs #8191
2015-01-21 13:07:08 +01:00
Eric Lippmann 7621de8ec0 monitoring: Add sort by 'Host' and 'Service' to the downtimes overview
refs #7843
2015-01-21 13:06:32 +01:00
Eric Lippmann 91b7c31cda monitoring: Support sorting downtimes by host and service display_name
refs #7843
2015-01-21 13:06:03 +01:00
Eric Lippmann 5862fc98a5 monitoring: Sort by 'downtime_scheduled_start' too when sorting by 'Is In Effect' 2015-01-21 12:58:46 +01:00
Eric Lippmann d340b0d49d monitoring: Let the data view handle the default ordering in the downtime overview
refs #7843
2015-01-21 12:55:41 +01:00
Eric Lippmann 86cc56afe6 monitoring: Display host and service names using the display_name column in the downtimes overview
refs #7843
2015-01-21 12:53:47 +01:00
Eric Lippmann ab6eed03e5 monitoring: Select the host and service display_name in the downtimes overview
refs #7843
2015-01-21 12:53:26 +01:00
Eric Lippmann 5f0b809619 monitoring: Support host and service display_name columns in the Downtime data view
refs #7843
2015-01-21 12:52:58 +01:00
Eric Lippmann 85aa447516 monitoring: Support host and service display_name in the DowntimeQuery
refs #7843
2015-01-21 12:52:29 +01:00
Eric Lippmann d528ddc641 monitoring: Fix that host_display_name is NULL when the object is a service in the evenhistory overview
refs #7843
2015-01-21 12:51:47 +01:00
Johannes Meyer 573c1046bb Ensure that the SummaryPage has a unique name when being utilized
refs #8191
2015-01-21 11:44:44 +01:00
Johannes Meyer fdb3988efd Fix float formatting in the progress bar's css
refs #8191
2015-01-21 11:15:38 +01:00
Eric Lippmann 2fdeabd398 monitoring: Escape host and service name, author and comment in the downtimes overview 2015-01-21 10:47:20 +01:00
Eric Lippmann e881a0de33 monitoring: Remove useless PHPDoc in the DowntimeQuery 2015-01-21 10:35:10 +01:00
Eric Lippmann cd03c2164a monitoring: Fix sorting by 'End Time' in the downtimes overview 2015-01-21 10:33:05 +01:00
Eric Lippmann 7ff1948c1a monitoring: Use host and service display_name for displaying host and service names in the eventhistory overview
refs #7843
2015-01-21 10:29:22 +01:00
Eric Lippmann 3e702ac255 monitoring: Support host and service display_name in the EventHistory data view
refs #7843
2015-01-21 10:28:21 +01:00
Eric Lippmann 25c2e99122 monitoring: Fix duplicate array key 'service_description' in the EventHistoryQuery 2015-01-21 10:26:12 +01:00
Eric Lippmann aa976c4198 monitoring: Support host and service display_name in the EventHistoryQuery
This adds two left joins to the query when selecting host_display_name and service_display_name.
If performance suffers badly, we have to evaluate whether to support the display_name column for displaying
the host and service name in the eventhistory overview.

refs #7843
2015-01-21 10:24:24 +01:00
Eric Lippmann 1bba0b3d0f monitoring: Fix coding style in the EventHistoryQuery 2015-01-21 10:15:58 +01:00
Eric Lippmann 7d967d25b3 monitoring: Fix code style in the StatehistoryQuery 2015-01-21 10:12:14 +01:00
Eric Lippmann 10571c3178 monitoring: Fix duplicate array key 'service_description' in the StatehistoryQuery 2015-01-21 10:10:07 +01:00
Eric Lippmann d49c950aac monitoring: Escape host_display_name in the hosts overview 2015-01-21 10:04:59 +01:00
Eric Lippmann bfd1332891 monitoring: Escape host and service display_name in the services overview 2015-01-21 10:04:14 +01:00
Eric Lippmann 9018b36d7a monitoring: Escape hostname, service name and event message in the eventhistory overview 2015-01-21 10:03:14 +01:00
Johannes Meyer b468be2813 Drop the ModulePage
refs #8191
2015-01-21 09:59:48 +01:00
Eric Lippmann e55cf73f34 monitoring: Select the host and service display_name columns in the eventhistory overview
refs #7843
2015-01-21 09:55:41 +01:00
Eric Lippmann 23243d40e3 monitoring: Use host_display_name for displaying the host name in the services overview
refs #7843
2015-01-21 09:42:10 +01:00
Eric Lippmann 3bb5a9c702 monitoring: Select the host_display_name column in the services overview
refs #7843
2015-01-21 09:41:52 +01:00
Eric Lippmann c77996d5b9 monitoring: Sort the services overview by service severity by default 2015-01-21 09:37:45 +01:00
Eric Lippmann eb6591c176 Merge branch 'master' into bugfix/prefer-display_name-over-name1-name2-7843 2015-01-21 09:36:41 +01:00
Eric Lippmann f661713bbb monitoring: Reorder the sort by combobox in the services overview 2015-01-21 09:35:33 +01:00
Eric Lippmann 5df6828889 monitoring: Remove ununsed sort rule in the ServiceStatus 2015-01-21 09:31:38 +01:00
Eric Lippmann a6ad5ad865 monitoring: Reorder sort column combo box in the hosts overview 2015-01-21 09:30:33 +01:00
Eric Lippmann 9d5dccc484 monitoring: Sort by display_name when sorting by 'Hostname' or 'Service Name' in the services overview
refs #7843
2015-01-21 09:22:44 +01:00
Eric Lippmann e602717bd9 monitoring: Sort by display_names instead of name1 and name2 by default in the services overview
refs #7843
2015-01-21 09:15:07 +01:00
Eric Lippmann 9e8c897d6f monitoring: Order a data view before dumping 2015-01-21 09:13:10 +01:00
Johannes Meyer 99699a14ad Replace all mt() calls with translate() in the setup module's view scripts 2015-01-20 17:39:47 +01:00
Johannes Meyer 095d9437b8 Adjust the wizard's progress bar
Moved the "Modules" step to the left and removed the "Summary" step.

refs #8191
2015-01-20 17:33:29 +01:00
Eric Lippmann fe3bbb712d monitoring: Use host_display_name for displaying the host name in the hosts overview
refs #7843
2015-01-20 16:25:35 +01:00
Eric Lippmann f1ada110f8 monitoring: Select the host_display_name in the hosts overview
refs #7843
2015-01-20 16:23:12 +01:00
Eric Lippmann 9fd90c90cc monitoring: Sort by host_display_name when sorting by 'Hostname' in the hosts overview
refs #7843
2015-01-20 16:22:36 +01:00
Eric Lippmann ab7a5763a6 monitoring: Sort by host_display_name instead of name1 by default
refs #7843
2015-01-20 16:21:56 +01:00
Eric Lippmann 0b557b7b29 monitoring: Fix unused local variable 'stateType' in the ListController 2015-01-20 16:14:56 +01:00
Eric Lippmann f5acd0c7b5 monitoring: Remove unused use ... in the ListController 2015-01-20 16:13:05 +01:00
Eric Lippmann ab0910e09b monitoring: Prefer 'Hostname' over 'Host name' 2015-01-20 16:12:10 +01:00
Eric Lippmann 680b7e4eba monitoring: Prever 'Hostname' over 'Host name' in PHPDoc 2015-01-20 16:11:41 +01:00
Eric Lippmann 0300a90d14 monitoring: Remove duplicate array key 'host_state' in the ListController 2015-01-20 16:08:47 +01:00
Eric Lippmann b0e27c4fe6 monitoring: Remove duplicate array key 'host_check_command' in the StatusQuery 2015-01-20 13:43:53 +01:00
Matthias Jentsch 4dfad963e9 Merge branch 'master' into feature/improve-chart-implementation-7841 2015-01-19 15:15:24 +01:00
Matthias Jentsch 80fc2a32db Improve layout in AlertSummary
Use brighter color for notifications, render hours more readable.
2015-01-19 15:14:09 +01:00
Eric Lippmann 7580d57c1d monitoring: Use the ellipsis string helper when viewing plugin output in host and service list 2015-01-19 14:21:55 +01:00
Matthias Jentsch ab4cbc855f Fix order of setAxisMin calls 2015-01-19 14:20:46 +01:00
Eric Lippmann f56ffd3426 monitoring: Do not strip_tags when viewing service output in the service list
refs #8248
2015-01-19 14:18:46 +01:00
Eric Lippmann 10ebc3432c monitoring: Do not strip_tags when viewing host output in the host list
refs #8248
2015-01-19 14:17:59 +01:00
Matthias Jentsch a456c0434c Add better axis labels to the alert summary chart 2015-01-19 13:58:04 +01:00
Eric Lippmann 0c35607e37 Merge branch 'bugfix/postgres-wrong-default-timestamps-7919'
fixes #7919
2015-01-19 13:51:19 +01:00
Eric Lippmann 56640fa64f postgres: Use timestamp comparison instead of timezone offset comparison for detecting the default timestamp
refs #7919
2015-01-19 13:50:03 +01:00
Johannes Meyer 7082ebaf7b Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 13:47:01 +01:00
Johannes Meyer 23bbf63b73 Revert "Replace t() and mt() with translate() in the monitoring module's forms"
This reverts commit 970006838c.
2015-01-19 13:44:16 +01:00
Eric Lippmann 64d4bb089c monitoring/setup: Remove function for getting the configuration directory
Getting the config directory is not a task for module wizards.
2015-01-19 11:43:39 +01:00
Eric Lippmann c0444a81b2 setup: Fix octdec for directory modes
Modes prefixed w/ zero, e.g. 0775 require a string conversion before calling octdec.
2015-01-19 11:43:38 +01:00
Eric Lippmann abc74c7fb5 monitoring/setup: Fix directory mode of the monitoring configuration directory
We should introduce a CreateConfigDirectoryStep because module developers must not
provide a directory mode but use our default.
2015-01-19 11:43:38 +01:00
Eric Lippmann 70f080313d setup: Use schema path from setup's config or default
refs #8232
2015-01-19 11:43:38 +01:00
Eric Lippmann ef412688e9 setup: Require to set a path to the schema files
refs #8232
2015-01-19 11:43:38 +01:00
Johannes Meyer 8c87a9df13 Replace t() and mt() with translate() in setup module's forms
refs #7551
2015-01-19 11:07:39 +01:00
Johannes Meyer 970006838c Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 10:49:02 +01:00
Eric Lippmann 09d5ec6b7a postgres: Return 0 if a timestamp looks like the default timestamp
The PostgreSQL IDO schema sets the default value for timestamps with time zone
to the epoch time w/o giving the time zone +00. Thus default timestamps are always
wrong when using a time zone other than 'UTC'.

refs #7919
2015-01-16 17:05:50 +01:00
Eric Lippmann dae3ccd90c monitoring: Take status_update_time into account when is_currently_running is 1
fixes #8210
2015-01-16 17:02:35 +01:00
Eric Lippmann a6861789bb lib: Remove superfluous return false from IdoQuery 2015-01-16 17:01:52 +01:00
Eric Lippmann e93e8f6330 setup: Convert octal directory mode to decimal notation
PHP's chmod sets wrong permissions when using 2770 as directory mode for example.

fixes #8233
2015-01-16 17:01:41 +01:00
Eric Lippmann 35e090c17e monitoring: Support format query parameters for process/info 2015-01-16 13:12:10 +01:00
Thomas Gelf b5cddc0a4f components/actions: show links if available
Now we show links regardless of whether we have host actions, there
might be hook-provided links only. Renamed "Foreign URLs" to "Actions"
and made it translatable.
2015-01-14 11:50:03 +01:00
Thomas Gelf 0fa31acf5f components/actions: show host action urls if given 2015-01-14 11:02:43 +01:00
Thomas Gelf 0d3131fbd0 host/show: show action urls above perfdata 2015-01-14 11:02:06 +01:00
Thomas Gelf 5e94d65a6c HostController: use host actions hook
refs #8208
2015-01-14 11:01:39 +01:00
Thomas Gelf 5e4b611860 HostActionsHook: initial very simple implementation
refs #8208
2015-01-14 11:00:26 +01:00
Matthias Jentsch be7e3f98e9 Improve testAction
Add charts to test logarithmic scale, use less annoying colors
2015-01-13 18:26:39 +01:00
Matthias Jentsch 1732fa90e8 Fix axisMin in alert summary 2015-01-13 18:24:04 +01:00
Matthias Jentsch debc305789 Add logarithmic AxisUnit
resolves #7845
2015-01-13 17:56:50 +01:00
Rene Moser 3961a44769 setup-welcome: fix cli doc
* `createDirectory` does not exist, this should be `direcotory`.
* For changing the group option `--group` must be used.
* Default config directory is `/etc/icingaweb2` not `/etc/icingaweb`.

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-01-13 13:04:04 +01:00
Matthias Jentsch 5e2594d250 Parse perfdata thresholds provisionary
Use a heuristic to determine whether thresholds should be inverted, to support plugins with non-standard perfdata output while still being able to parse standard-compliant perfdata input.
2015-01-13 10:59:33 +01:00
Matthias Jentsch ec38c0c817 Fix pies in multi views 2015-01-05 11:33:19 +01:00
Eric Lippmann 80730e0bb2 cli/setup: Remove is_string checks for switches of the webserver generation 2014-12-30 18:49:47 +01:00
Matthias Jentsch b5747797b7 Fix perfdata output
Display all perfdata key-value pairs in a formatted table, add padding to table css
improve piechart label.
2014-12-30 16:35:42 +01:00
Eric Lippmann 9f545535a0 cli/setup: Issue nice error messages when creating the config directory fails 2014-12-30 16:03:05 +01:00
Eric Lippmann 865b5c126a cli/setup: Do not exit setup config directory when the directory already exists
mkdir may succeed but chmod or chgrp may fail. The next time the command is called
it will ll exit before trying to chmod or chgrp again because the directory already exists.
2014-12-30 15:56:42 +01:00
Eric Lippmann 90fb44122b cli/setup: Do not translate \n again 2014-12-30 15:55:14 +01:00
Eric Lippmann f9ca0296a4 cli/setup: Do not return false; after $this->fail()
$this-fail() throws an exception.
2014-12-30 15:54:07 +01:00
Eric Lippmann 9de1b20d3c cli/setup: Issue an error if chmod fails when setting up the configuration directory 2014-12-30 15:51:00 +01:00
Eric Lippmann 9c40372b61 cli/setup: Do not translate \n 2014-12-30 15:49:11 +01:00
Eric Lippmann 672500029c cli/setup: Add sanity check for the --mode switch when creating the config directory 2014-12-30 15:46:22 +01:00
Eric Lippmann d3dcf152fb setup: Do not use umask(0)
chmod is not affected in any way by the umask.
2014-12-30 15:40:06 +01:00
Eric Lippmann f84a9a6529 cli/setup: Do not use umask(0)
chmod is not affected in any way by the umask.
2014-12-30 15:33:01 +01:00
Eric Lippmann 082cdd6dd2 cli/setup: Rename --path switch to --config for the directory action
All other actions use --config too.
2014-12-30 15:24:31 +01:00
Eric Lippmann bad7aad05e cli/setup: Do not use the webserver user's group but 'icingaweb2' 2014-12-30 15:22:53 +01:00
Eric Lippmann 861252b1e7 setup: Rename createDirectory to diretory
'icingacli setup config directory' does not suffer from camel case notation and explains
pretty much what it does.
2014-12-30 14:59:23 +01:00
Eric Lippmann 4b6ea55cbb setup: Add --config switch to TokenCommand::createAction()
refs #7906
2014-12-30 14:55:44 +01:00
Eric Lippmann aea7b068da setup: Add --config switch to TokenCommand::showAction()
refs #7906
2014-12-30 14:43:19 +01:00
Eric Lippmann 2d69e44846 setup: Set default URL path to /icingaweb2 2014-12-30 14:42:42 +01:00
Eric Lippmann 60b74ddcec Cli: Fix parameter documentation for ConfigCommand::webserverAction()
We speak of icingaweb2 not icingaweb now.
2014-12-30 14:41:35 +01:00
Eric Lippmann 5e812c72f1 cli/webserver config: Fix --config sanity check 2014-12-30 14:37:34 +01:00
Eric Lippmann ac56cc02ac monitoring: Fix the notifications view script 2014-12-30 11:14:30 +01:00
Eric Lippmann a5122f540d monitoring: Add 'Notifications' to the 'Overview' menu section 2014-12-30 11:14:13 +01:00
Eric Lippmann 358efe06de Merge branch 'master' into feature/untranslated-strings-7988 2014-12-30 10:55:42 +01:00
Eric Lippmann a781b8c607 monitoring: Remove the top bar hook
No longer in use.
2014-12-30 10:52:57 +01:00
Eric Lippmann c59c0e6cdb monitoring: Remove top bar hook layout
No longer in use.
2014-12-30 10:52:12 +01:00
Eric Lippmann a37d68b235 monitoring: Remove run.php
The monitoring module still registered the obsolete top bar hook.
2014-12-30 10:51:33 +01:00
Eric Lippmann 9c989306d9 monitoring: Count services having comments once in services/show.phtml 2014-12-30 10:48:30 +01:00
Eric Lippmann 2e4e04551d monitoring: Count services in downtime once in services/show.phtml 2014-12-30 10:47:10 +01:00
Eric Lippmann 128f6822f1 monitoring: Count acknowledged services once in services/show.phtml 2014-12-30 10:46:08 +01:00
Eric Lippmann df3d7d2034 monitoring: Count unhandled services once in services/show.phtml 2014-12-30 10:45:24 +01:00
Eric Lippmann a7a99b5856 monitoring: Count hosts once in services/show.phtml 2014-12-30 10:44:22 +01:00
Eric Lippmann 3d95e37b7f monitoring: Count services once in services/show.phtml 2014-12-30 10:43:39 +01:00
Eric Lippmann c28f4284e4 monitoring: Remove the command/* view scripts
They are no longer used.
2014-12-30 10:40:56 +01:00
Eric Lippmann 41ef926fd6 monitoring: Remove the CommandController
The controller is no longer used.
2014-12-30 10:39:33 +01:00
Eric Lippmann b7d6ee75f2 monitoring: Remove the MultiController
The controller is no longer used.
2014-12-30 10:38:43 +01:00
Eric Lippmann 8594ff6843 monitoring: Remove multi/* view scripts
They are no longer used.
2014-12-30 10:38:02 +01:00
Eric Lippmann 56102a1e39 monitoring: Count hosts having comments once in hosts/show.phtml 2014-12-30 10:35:18 +01:00
Eric Lippmann b82f4e5356 monitoring: Count hosts in downtime once in hosts/show.phtml 2014-12-30 10:33:32 +01:00
Eric Lippmann 3745d3ebef monitoring: Count acknowledged hosts once in hosts/show.phtml 2014-12-30 10:31:23 +01:00
Eric Lippmann 507aefa9dd monitoring: Count unhandled hosts once in hosts/show.phtml 2014-12-30 10:30:31 +01:00
Eric Lippmann c87733debc monitoring: Count hosts once in hosts/show.phtml 2014-12-30 10:26:19 +01:00
Eric Lippmann 973a56c984 Merge branch 'master' into feature/translation-plural-8092 2014-12-30 10:22:44 +01:00
Eric Lippmann 59c39e94db Merge branch 'bugfix/hostgroup-link-7259'
fixes #7259
2014-12-30 10:20:44 +01:00
Eric Lippmann d6e331018b monitoring: Use Form::translate() in the backend configuration form
refs #7551
2014-12-30 10:02:31 +01:00
Eric Lippmann e05e04bb74 monitoring: Uppercasse the first word of comments in the backend configuration form 2014-12-30 09:47:45 +01:00
Eric Lippmann e72361c2cb monitoring: Fix missing return argument in the backend configuration form 2014-12-30 09:47:19 +01:00
Eric Lippmann 24b2369adb monitoring: Fix PHPDoc of BackendConfigForm::setResourceConfig() 2014-12-30 09:45:24 +01:00
Eric Lippmann 27110ce594 monitoring: use @type instead of @var in the backend configuration form 2014-12-30 09:44:33 +01:00
Eric Lippmann 6a67b7fee3 monitoring: add description to @see tags in the backend configuration form 2014-12-30 09:43:35 +01:00
Eric Lippmann 2a1f12354e monitoring: Use '@return $this' when documenting fluent interfaces in the backend configuration form 2014-12-30 09:41:22 +01:00
Eric Lippmann d595541d42 monitoring: optimize imports in the backend configuration form 2014-12-30 09:40:09 +01:00
Eric Lippmann c1aff80f7b monitoring: Fix "Show resource configuration" link 2014-12-30 09:39:11 +01:00
Eric Lippmann fc05f4d53e setup: Fix the mode of created directories 2014-12-29 17:55:34 +01:00
Eric Lippmann 3bd24c48ff monitoring: Do not provide export when viewing a monitored object
This is simply not possible at the moment.
2014-12-29 17:54:39 +01:00
Eric Lippmann e376bd6285 monitoring: Fix that exporting a object's history throws an exception
fixes #6586
2014-12-29 17:54:09 +01:00
Eric Lippmann ff17c3729c setup: Use 'icingaweb2' as default authentication backend name 2014-12-29 16:06:34 +01:00
Eric Lippmann 2bd9d27e05 Do not validate the mode of the setup.token
Relying on the mode of the configuration directory must be sufficient.
2014-12-29 14:33:37 +01:00
Eric Lippmann daaf242145 Fix the default configuration path in our web wizard 2014-12-29 14:33:07 +01:00
Eric Lippmann 19387b24ab Do not use a new function for getting the configuration directory in our web wizard 2014-12-29 14:32:20 +01:00
Eric Lippmann 4ea52161a9 Merge branch 'master' into feature/packages-4075 2014-12-29 12:31:38 +01:00
Eric Lippmann bf92f9fa85 monitoring: Fix the link to services in downtime when multiple services are selected 2014-12-29 12:25:41 +01:00
Eric Lippmann 26bc56e9df monitoring: Fix the link to hosts in downtime when multiple hosts are selected 2014-12-29 12:19:37 +01:00
Eric Lippmann f1f808b7a3 Do not use array_map for generating the unhandled objects filter in HostsController.php 2014-12-29 12:17:17 +01:00
Eric Lippmann 2db2865433 Do not use an extra loop for generating the unhandled objects filter in ServicesController.php 2014-12-29 12:11:49 +01:00
Matthias Jentsch 41c101d99f Use neutral default color in perfdata piecharts
If nothing is known about the state of the monitoring object, the piecharts should neither indicate OK nor Critical.
2014-12-23 16:12:25 +01:00
Matthias Jentsch c93b13b138 Rework behavior of perfdata visualization
Determine perfdata pie color from host or service state, display zero percent piecharts, only render displayabl PieCharts with min and max values, move perfdata to piechart conversion functions into the Perfdata object.

fixes #6423
fixes #6200
fixes #7170
fixes #7304
2014-12-23 15:54:27 +01:00
Matthias Jentsch cda5a6a903 Streamline chart implementation
Define sparkline layout through CSS class and remove label/tooltip formatting.

fixes #7077
2014-12-23 15:26:45 +01:00
Matthias Jentsch 64a2acd12e Do not display labels for single data sets in perfdata piecharts
Display generic chart titles for the whole piechart that only contain title and percentage and don't style perfdata piecharts using HTML properties.

refs #7077
refs #6200
refs #7304
2014-12-23 15:14:17 +01:00
Johannes Meyer f513e7959e Consider also the host's state when counting its service problems
refs #8013
2014-12-22 16:20:12 +01:00
Johannes Meyer 5b0c876362 Use the service_handled column instead of acknowledged and in_downtime
Only service_handled takes the host's state into consideration.

refs #8013
2014-12-22 16:18:39 +01:00
Johannes Meyer c5915f24cc Make it easier to distinguish host and service downtimes
Added an icon to the left of a host's or service's label and an additional
textual indicator.

refs #8008
2014-12-22 14:44:09 +01:00
Johannes Meyer 086334c861 Properly build the unhandled action links when showing multiple objects
The links designated to acknowledge unhandled problems or to schedule
a downtime for them were generated based on the full list of objects and
limited by non-supported filter parameters. As we are already aware of the
exact "unhandled" objects this list is now used to generate proper links.
(Btw applying filters to URLs is a mess...)

fixes #8017
2014-12-22 13:59:03 +01:00
Johannes Meyer 4c4c0c97a5 Fix incorrect token generation example on the wizard's welcome page
fixes #8135
2014-12-22 08:30:08 +01:00
Alexander Klimov bdbca6a774 Servicegroups list: improve tooltips
refs #8110
2014-12-19 15:22:21 +01:00
Alexander Klimov 8e6c8c3e0e Hostgroups list: improve tooltips
refs #8110
2014-12-19 15:18:59 +01:00
Eric Lippmann fa226f261e monitoring: Remove css class 'control-group' from date and time elements in the schedule downtime command form
This CSS class does no longer exist.
2014-12-19 10:45:23 +01:00
Eric Lippmann b0ab6c3a76 monitoring: Remove css class 'control-group' from the expire time element
This CSS class does no longer exist.
2014-12-19 10:43:14 +01:00
Johannes Meyer cc9ee93311 Clarify that php-gd is mandatory to export views to PDF
refs #8112
2014-12-18 16:21:25 +01:00
Johannes Meyer 5b1e9be316 Make command parameters with multiple lines work, again
fixes #6088
2014-12-18 15:41:35 +01:00
Eric Lippmann 8ec0740005 Merge branch 'master' into feature/packages-4075 2014-12-18 14:02:17 +01:00
Carlos Cesario 2f3667aa3d Use hosts link instead services link
Use hosts link instead services link to show hosts group.

refs #7259
2014-12-17 10:00:15 -02:00
Carlos Cesario d4bbd3a323 Add more support to plural strings translation
Add more support to plural strings translation

refs #8092
2014-12-16 09:31:20 -02:00
Johannes Meyer 3fde78f2b3 Enable the dompdf float support and fix our list's layout 2014-12-15 13:56:19 +01:00
Johannes Meyer bca28a5ae2 Display inline pie-charts also in views exported to PDF
fixes #6463
2014-12-15 13:55:20 +01:00
Johannes Meyer b307fe2791 Reorder use statements to be in alphabetical order 2014-12-12 12:44:31 +01:00
Johannes Meyer 7987fb3f5a Use the Host and Service object class helpers instead of the Util view helper
This also ensures that all state names that are shown to the user are
properly translated.

refs #7996
2014-12-12 12:22:20 +01:00
Johannes Meyer 87664ffef9 Use the Host and Service object class helpers instead of MonitoringState
This also ensures that all state names that are shown to the user are
properly translated.

refs #7996
2014-12-12 10:38:21 +01:00
Johannes Meyer e63252cb04 Fix that the RuntimeVariables helper cant handle missing information
fixes #7905
2014-12-11 18:00:36 +01:00
Johannes Meyer cee68877a9 ProcessCheckResultCommand: Indicate a incompatibility with icinga2
Should be solved by checking the backend's version on runtime
2014-12-11 15:56:23 +01:00
Johannes Meyer abfef2cc11 Fix wrong command being rendered for passive service check results
refs #6854
2014-12-11 15:53:12 +01:00
Johannes Meyer ddc121d1cc Add ProcessCheckResultCommandForm
refs #6854
2014-12-11 15:52:23 +01:00
Johannes Meyer 8779e80291 Add a link to a service's event when showing the host's history 2014-12-11 10:56:47 +01:00
ayoubabid e0bec56d23 Update RemoteInstanceForm.php
Wrong path to icinga2 command.

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-10 15:42:01 +01:00
ayoubabid 429b16b74e Update LocalInstanceForm.php
Wrong path to icinga2 command

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-10 15:41:51 +01:00
Carlos Cesario eca176f191 Fix wrong change
Fix wrong change host->host_display_name to host->host_name.

refs #7988
2014-12-10 11:30:59 -02:00
Carlos Cesario 311ebfbcba Add support to untranslated strings
Add support to untranslated strings

refs #7988
2014-12-10 10:45:57 -02:00
Eric Lippmann 916868a051 Revert "Add support for "core" modules and make the setup module such a module"
This reverts commit 8af13f564b.

The setup module must only be loaded when necessary not always.
2014-12-09 16:28:05 +01:00
Johannes Meyer 196b6a4875 Ensure that Zend is loaded when showing status information in the CLI
fixes #7869
2014-12-09 15:38:13 +01:00
Eric Lippmann bca2335aa3 doc: Add module documentation 2014-12-09 14:58:18 +01:00
Eric Lippmann d2a7254a37 doc: Prefer "root" doc path over configured path
If the "root" doc path, i.e. application/doc exists, it is preferred over the configured
one.

refs #4075
2014-12-09 14:55:24 +01:00
Eric Lippmann 3120a0c090 doc/ModuleController: Do not use 'void' results 2014-12-09 14:30:57 +01:00
Eric Lippmann c7e6252aca doc: Make path to module documentations configureable
refs #7196
2014-12-09 14:30:10 +01:00
Eric Lippmann e901e545c3 doc/IcingawebController: Do not use 'void' results 2014-12-09 14:28:58 +01:00
Eric Lippmann 7605076dc5 doc/IcingawebController: Use sprintf for "Missing parameter x" exceptions 2014-12-09 14:28:10 +01:00
Eric Lippmann 08bbe59679 doc: Throw an exception if Icinga Web 2's documentation is not avaiable
refs #7196
2014-12-09 14:27:02 +01:00
Eric Lippmann 823d338f73 doc/Controller: Do not use 'void' results 2014-12-09 14:24:45 +01:00
Eric Lippmann 40b7098480 doc/parser: Fix PHPDoc indentation 2014-12-09 14:24:11 +01:00
Eric Lippmann 7edb1217c6 doc: Use sprintf for "Missing parameter x" exceptions 2014-12-09 12:57:16 +01:00
Eric Lippmann 51b47df4c5 doc: Set version to 2.0.0 2014-12-09 12:55:29 +01:00
Eric Lippmann 19d89f0a67 monitoring/configuration.php: Prefer @type over @var 2014-12-09 12:55:12 +01:00
Eric Lippmann da575910e6 doc/run.php: Remove superfluous newline 2014-12-09 12:54:41 +01:00
Eric Lippmann cc619e0a7b doc/configuration.php: Prefer @type over @var 2014-12-09 12:53:44 +01:00
Eric Lippmann ca8dbdb938 doc: Make path to Icinga Web 2's doc configureable
refs #7196
2014-12-09 12:50:29 +01:00
Eric Lippmann 001eba73e7 doc: Remove iterators because they are superseded by iterators from Icinga Web 2's library 2014-12-09 12:30:08 +01:00
Eric Lippmann 5f772c3620 doc: Use Icinga Web 2's iterators 2014-12-09 12:29:48 +01:00
Eric Lippmann de0653eaa6 monitoring/tactical: Fix case of the features' links
Use title capitalization for the features' links to be consitent.
2014-12-08 10:33:40 +01:00
Eric Lippmann 550bb7d7d1 monitoring/tactical: Fix case of features' titles 2014-12-08 10:29:41 +01:00
Eric Lippmann f94646eb41 monitoring/tactical: Fix "Host and Service Checks" header 2014-12-08 10:27:36 +01:00