Commit Graph

906 Commits

Author SHA1 Message Date
Eric Lippmann f1c7f856cd monitoring: Optimize imports in ConfigController 2015-08-27 16:04:56 +02:00
Eric Lippmann 2533ebc8d5 monitoring: Fix mess in CommentsController and the related view script 2015-08-27 16:04:24 +02:00
Eric Lippmann 78701ab2b6 monitoring: Namespace the CommentsController
refs #5786
2015-08-27 15:54:44 +02:00
Eric Lippmann d1f7943ffb monitoring: Optimize imports in CommentsController 2015-08-27 15:54:12 +02:00
Eric Lippmann 6ff7882fc0 monitoring: Reduce complexity of the CommentController 2015-08-27 15:52:27 +02:00
Johannes Meyer cc49a289a2 monitoring: Restore view script for the securityAction 2015-08-27 15:49:59 +02:00
Eric Lippmann 98851236e8 monitoring: Namespace the CommentController
refs #5786
2015-08-27 15:42:27 +02:00
Eric Lippmann be021e6fa1 monitoring: Add fixing TODO to the ChartController
refs #10019
2015-08-27 15:41:15 +02:00
Eric Lippmann f83f56903e monitoring: Namespace the ChartController
refs #5786
2015-08-27 15:40:01 +02:00
Eric Lippmann 3af82547ac monitoring: Optimize imports in the ChartController 2015-08-27 15:37:42 +02:00
Eric Lippmann 9d926fb4c6 monitoring: Don't use absolute alias in the AlertsummaryController 2015-08-27 15:37:01 +02:00
Eric Lippmann 65a7365e1e monitoring: Add missing aliases in the AlertsummaryController after namespacing 2015-08-27 15:35:27 +02:00
Eric Lippmann d60fed23f7 monitoring: Namespace the Alertsummarycontroller
refs #5786
2015-08-27 15:19:43 +02:00
Eric Lippmann 1eed806edf monitoring: Optimize imports in the AlertsummaryController 2015-08-27 15:18:57 +02:00
Eric Lippmann c294283636 Merge branch 'bugfix/service-grid-grouping-postgres-9333'
Conflicts:
	modules/monitoring/application/controllers/ListController.php
	modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php

fixes #9333
fixes #9538
2015-08-27 12:58:49 +02:00
Johannes Meyer 8c887ee450 monitoring: Rename all command transport related classes
refs #9651
2015-08-26 15:52:36 +02:00
Johannes Meyer ec8567cbbf monitoring: It's now a command transport, not an instance anymore
refs #9651
2015-08-26 15:43:30 +02:00
Eric Lippmann c8790fad93 Merge branch 'bugfix/service-grid-display_name-9538' into bugfix/service-grid-grouping-postgres-9333
Conflicts:
	library/Icinga/Data/PivotTable.php
	modules/monitoring/application/controllers/ListController.php
2015-08-25 15:51:20 +02:00
Eric Lippmann bf7d1ba878 monitoring: Set display names as axis headers for the service grid
refs #9538
2015-08-25 14:54:15 +02:00
Eric Lippmann 96fb3b5d4b Merge branch 'master' into feature/api-9606 2015-08-25 09:25:59 +02:00
Eric Lippmann a0ff09da84 monitoring/API: Require a filter when scheduling host downtimes
refs #9606
2015-08-25 09:24:47 +02:00
Eric Lippmann 04ae298c0c monitoring/API: Require a filter when scheduling service downtimes
refs #9606
2015-08-25 09:23:36 +02:00
Eric Lippmann 146ea971c4 monitoring/API: Require a filter when removing service downtimes
refs #9606
2015-08-25 09:20:42 +02:00
Eric Lippmann 2c393afbeb monitoring/API: Require a filter when removing host downtimes
refs #9606
2015-08-25 09:19:49 +02:00
Eric Lippmann cfad85cce1 monitoring: Collect display names as table headers for the service grid
refs #9538
2015-08-24 09:23:46 +02:00
Eric Lippmann b08715f70e monitoring: Fix typo in ListController
refs #9965
2015-08-21 11:21:52 +02:00
Eric Lippmann de00a1998e monitoring: Apply restriction on the service grid before calling filterQuery which also handles format
refs #9965
2015-08-21 11:20:56 +02:00
Eric Lippmann 4c68b4a017 monitoring: Apply restriction on host groups before calling filterQuery which also handles format
refs #9965
2015-08-21 11:19:56 +02:00
Eric Lippmann 3dc140b125 monitoring: Apply restriction on service groups before calling filterQuery which also handles format
refs #9965
2015-08-21 11:19:31 +02:00
Eric Lippmann 9dd13d2a82 monitoring: Apply restriction on comments before calling filterQuery which also handles format
refs #9965
2015-08-21 11:19:00 +02:00
Eric Lippmann e58c0a8e42 monitoring: Apply restriction on contact groups before calling filterQuery which also handles format
refs #9965
2015-08-21 11:18:30 +02:00
Eric Lippmann 959cff4d10 monitoring: Apply restriction on contacts before calling filterQuery which also handles format
refs #9965
2015-08-21 11:17:44 +02:00
Eric Lippmann d463a86304 monitoring: Apply restriction on notifications before calling filterQuery which also handles format
refs #9965
2015-08-21 11:16:53 +02:00
Eric Lippmann 5d325f3182 monitoring: Apply restriction on downtimes before calling filterQuery which also handles format
refs #9965
2015-08-21 11:16:02 +02:00
Eric Lippmann 4aa0af5dca monitoring: Apply restriction on services before calling filterQuery which also handles format
refs #9965
2015-08-21 11:15:32 +02:00
Eric Lippmann 67bbc3ed6a monitoring: Apply restriction on hosts before calling filterQuery which also handles format
refs #9965
2015-08-21 11:14:43 +02:00
Eric Lippmann fc28088dc0 monitoring: Remove deprecated method ListController::applyRestriction() 2015-08-21 11:09:54 +02:00
Eric Lippmann 8207579e13 monitoring/API: Expose removing service downtimes
refs #9606
2015-08-21 10:28:09 +02:00
Eric Lippmann c35f0976c2 monitoring/API: Expose scheduling service downtimes
refs #9606
2015-08-21 10:19:46 +02:00
Eric Lippmann 62f0281a62 lib: Fix type hint of Controller::getRequest() 2015-08-20 16:00:24 +02:00
Eric Lippmann 1b1223ea2e monitoring/API: Expose scheduling host downtimes
refs #9606
2015-08-20 15:54:33 +02:00
Eric Lippmann 0fb495f541 monitoring/API: Add ActionsController w/ removeHostDowntime action
refs #9606
2015-08-20 14:25:12 +02:00
Eric Lippmann 0c43e4a36b monitoring: Sort by display_names in the service grid
refs #9538
2015-08-19 12:55:55 +02:00
Eric Lippmann d449ff661e monitoring/service grid: Set up the sort control for the pivot table instead of the service status query
refs #9333
2015-08-18 14:23:12 +02:00
Johannes Meyer 1e6c394693 Controller: Create the filter editor in setupFilterControl() ...
...instead of demanding a concrete controller to do so.
We still have to decide how to handle parameter preservation
properly.

refs #9029
2015-08-13 17:05:13 +02:00
Johannes Meyer ad20d35e78 Eventgrid: Fetch the user's filter directly from the URL
refs #9029
2015-08-13 12:11:01 +02:00
Johannes Meyer fc35f3e46b FilterEditor: Apply the filter on the query internally
refs #9029
2015-08-13 11:33:25 +02:00
Johannes Meyer e1cec6a849 Drop everything related to join last comments in list views
refs #8616
2015-08-11 15:07:03 +02:00
Johannes Meyer 00d143cb14 Fetch the service problem summary of a host with less redundant code
refs #9864
2015-08-11 13:52:21 +02:00
Johannes Meyer a4fdb30067 Host Overview: Use a dedicated query to fetch service summaries
refs #9864
2015-08-07 15:37:35 +02:00
Johannes Meyer 6560975fe2 Host overview: Do not select `host_unhandled_services'
It's implemented as horribly slow subquery.

refs #9864
2015-08-07 15:35:13 +02:00
Johannes Meyer 8cf3b99335 Eventhistory Overview: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 10:23:44 +02:00
Eric Lippmann cdd13bc389 monitoring: Apply restrictions before filtering for multiple services
refs #9574
2015-08-04 15:30:07 +02:00
Eric Lippmann 10e50842b2 monitoring: Apply restrictions before filtering for multiple hosts
refs #9574
2015-08-04 15:28:51 +02:00
Alexander Fuhr 1c5bf36538 Host(s)-/Service(s)Controller: Set the form backend
refs #9672
2015-08-04 13:25:17 +02:00
Johannes Meyer f03b9e5769 Eventgrid: Use $query->hasResult() instead of $query->count()
* and do not use fetchAll()
* and do not use <? short tags
* and do not use curly braces if not absolutely necessary..

refs #9632
2015-08-03 16:06:21 +02:00
Eric Lippmann 63c51c01e0 monitoring: Auto-refresh tactical overview every 15 seconds
fixes #9626
2015-07-22 13:40:50 +02:00
Johannes Meyer db20f2d05a BackendConfigForm: Adjust how to process requests
refs #9516
2015-06-29 14:00:34 +02:00
Johannes Meyer 766ff8ed83 InstanceConfigForm: Adjust how to process requests
fixes #7486
fixes #7488
fixes #7489
fixes #7490
refs #9516
2015-06-29 12:01:43 +02:00
Johannes Meyer 20fd3d6758 Fix multiselect views of hosts and services
I've broke this with #9472.
2015-06-24 15:11:33 +02:00
Johannes Meyer 98b01207cf Show intersecting ok-states as well in the default servicegrid view
fixes #9360
2015-06-24 14:37:07 +02:00
Johannes Meyer 67e31c730a Fetch host and service statistics not until they are required
fixes #9472
2015-06-23 08:49:11 +02:00
Johannes Meyer e8058c09c5 Merge branch 'master' into feature/monitoring-restrictions-9009
Conflicts:
	modules/monitoring/application/controllers/ShowController.php
	modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php
2015-06-16 17:12:51 +02:00
Johannes Meyer 71e932bcf9 ShowController: Deprecate historyAction 2015-06-16 17:05:41 +02:00
Johannes Meyer 4a2a17aba1 HostController: Do not permit to filter the servicesAction 2015-06-16 16:34:45 +02:00
Johannes Meyer d81e637ae9 HostController: Add action to show a host's services 2015-06-16 16:04:45 +02:00
Johannes Meyer c05594b124 ShowController: Fix link to show a host's services 2015-06-16 16:03:17 +02:00
Johannes Meyer c316e5ce8f Revert "monitoring: Remove the services tab when showing an object's history"
This reverts commit b3e0851b62.
2015-06-16 13:48:56 +02:00
Johannes Meyer 4db9629268 AlertsummaryController: Apply object restrictions
refs #9009
2015-06-15 16:26:07 +02:00
Johannes Meyer 5545b4a605 AlertsummaryController: Fix filter columns 2015-06-15 16:25:48 +02:00
Johannes Meyer bd41839a19 ServicesController: Restrict the display of multiple services
refs #9009
2015-06-15 16:06:13 +02:00
Johannes Meyer ce48f63ac6 HostsController: Restrict the display of multiple hosts
refs #9009
2015-06-15 16:05:56 +02:00
Johannes Meyer ede8cc5e83 TimelineController: Restrict the displayed entries
refs #9009
2015-06-15 16:04:43 +02:00
Johannes Meyer efc52e3342 ShowController: Restrict the display of single contacts
refs #9009
2015-06-15 16:04:14 +02:00
Johannes Meyer 32c5d5a1ee ShowController: Restrict the servicestatus summary
I doubt that this is necessary, since showing hosts and services by using
this controller is deprecated, but I've added it nonetheless..

refs #9009
2015-06-15 16:03:46 +02:00
Johannes Meyer 8b749521ba DowntimesController: Restrict display of downtimes
refs #9009
2015-06-15 16:00:19 +02:00
Johannes Meyer 9a6e3a7042 DowntimeController: Restrict display of single comments
refs #9009
2015-06-15 15:59:50 +02:00
Johannes Meyer 8187135564 CommentsController: Restrict display of comments
refs #9009
2015-06-15 15:58:54 +02:00
Johannes Meyer b83abc4dbc CommentController: Restrict display of single comments
refs #9009
2015-06-15 15:58:15 +02:00
Johannes Meyer 1a08102531 ListController: Apply contactgroup restrictions after the filter editor 2015-06-15 15:14:09 +02:00
Johannes Meyer 53e6d4cadc ListController: Restrict the contactgroups view
refs #9009
2015-06-15 15:08:25 +02:00
Johannes Meyer 2fceac9771 ListController: Fix contactgroup sorting 2015-06-15 14:15:51 +02:00
Johannes Meyer aabdfec03a ListController: Restrict the contacts view
refs #9009
2015-06-15 13:48:13 +02:00
Johannes Meyer d5ade9ae74 ListController: Restrict the eventgridAction
refs #9009
2015-06-12 16:27:34 +02:00
Johannes Meyer eb93886cc7 ListController: Do not apply restrictions before the filter editor is being set up
Might cause the restrictions being shown to the user..

refs #9009
2015-06-12 14:58:20 +02:00
Johannes Meyer 4996f569fe monitoring: Ensure that views and queries are all named using the same scheme
That's "SomesuperQuery" and not "SomeSuperQuery", according to most
of the existing queries.
2015-06-12 14:42:49 +02:00
Johannes Meyer 76b17462f9 ListController: Restrict eventhistoryAction
refs 9009
2015-06-12 12:52:29 +02:00
Johannes Meyer 41ee39d48f EventHistoryQuery: Do not fetch columns which only exist in one subquery
Uses the same technique as the NotificationhistoryQuery for the output.
2015-06-10 13:08:57 +02:00
Johannes Meyer 2669d0e478 monitoring: Restrict the notification overview
refs #9009
2015-06-08 17:10:16 +02:00
Eric Lippmann 6c07a4842b monitoring: Fix controller function fetchHostStats()
refs #9009
2015-06-05 15:50:11 +02:00
Eric Lippmann 8cbb83d630 Merge branch 'master' into feature/monitoring-restrictions-9009 2015-06-05 15:29:16 +02:00
Eric Lippmann 11a006681b Merge branch 'master' into bugfix/monitoring-remove-services-tab-7998
Conflicts:
	application/controllers/ConfigController.php
	library/Icinga/Web/Widget/FilterEditor.php
	modules/monitoring/application/controllers/HostsController.php
2015-06-05 15:27:42 +02:00
Eric Lippmann 1d775842f9 monitoring: Restrict the service grid
refs #9009
2015-06-05 15:06:34 +02:00
Eric Lippmann 5bc611f772 monitoring: Use new restriction when viewing a service
refs #9009
2015-06-05 14:44:35 +02:00
Eric Lippmann 5745790cdd monitoring: Use new restriction when viewing a host
refs #9009
2015-06-05 14:44:03 +02:00
Eric Lippmann b7afec8f3c monitoring: Restrict the tactical overview
refs #9009
2015-06-05 12:43:24 +02:00
Eric Lippmann f8b49864bb monitoring: Restrict the services overview
refs #9009
2015-06-03 14:59:20 +02:00
Eric Lippmann f479ea1da8 monitoring: Restrict the service status summary
refs #9009
2015-06-03 14:44:36 +02:00
Eric Lippmann 8f111406f3 monitoring: Restrict the host overview and the host status summary
refs #9009
2015-06-03 14:16:22 +02:00
Eric Lippmann fe488c7b77 monitoring: Restrict the service group overview
refs #9009
2015-06-03 12:54:25 +02:00