Commit Graph

2323 Commits

Author SHA1 Message Date
Johannes Meyer 62d96a154e monitoring: Normalize custom variable names not until they're displayed 2015-09-30 13:23:54 +02:00
Johannes Meyer 13575eb962 monitoring: Disable loading host- and service-notes 2015-09-30 13:10:29 +02:00
Eric Lippmann 1c074c9807 monitoring: Style config overview
refs #5543
2015-09-30 12:49:46 +02:00
Eric Lippmann 95f55a22e3 monitoring/detail: Show reachable next to check source
refs #5543
2015-09-30 11:50:34 +02:00
Eric Lippmann a874b1ef3c monitoring: Remove h3 from object-command-form
refs #5543
2015-09-30 10:45:17 +02:00
Eric Lippmann 4b8bab5e8e monitoring: Remove h2 from objects-command-form
refs #5543
2015-09-30 10:44:30 +02:00
Eric Lippmann b4e5443b24 monitoring: Remove h2 from services/show
refs #5543
2015-09-30 10:43:43 +02:00
Eric Lippmann 9ac1e78f5c monitoring: Remove h2 from hosts/show
refs #5543
2015-09-30 10:43:14 +02:00
Eric Lippmann 895d340562 monitoring: Remove h3 form host/show
refs #5543
2015-09-30 10:37:06 +02:00
Matthias Jentsch 18b6409557 Add new layout for comment view
refs #5543
2015-09-29 19:29:43 +02:00
Bernd Erk 36790edd85 CSS: monitoring health 2015-09-29 18:37:53 +02:00
Eric Lippmann d7efa55889 monitoring: Style services overview header (WIP)
refs #5543
2015-09-29 17:12:45 +02:00
Eric Lippmann 4218bc4104 monitoring: Style hosts overview header (WIP)
refs #5543
2015-09-29 17:12:27 +02:00
Eric Lippmann 2f4e939d35 monitoring/CSS: Make selection info small
refs #5543
2015-09-29 17:08:38 +02:00
Eric Lippmann 9277113a35 monitoring: Quick fix host/services partial
refs #5543
2015-09-29 17:07:40 +02:00
Eric Lippmann 7704c9578c monitoring: Use state badges widget in the service summary (WIP)
- Lacks baseFilter handling

refs #5543
2015-09-29 17:05:42 +02:00
Eric Lippmann 4ffd09f1be monitoring: Fix CSS class for handled in the service header partial
refs #5543
2015-09-29 17:02:31 +02:00
Eric Lippmann 29e66c3f55 monitoring: Use the state badges widget for the host summary
refs #5543
2015-09-29 15:26:34 +02:00
Bernd Erk 09e32b63f8 CSS and Parts: Tactical Overview redesin 2015-09-29 14:23:32 +02:00
Matthias Jentsch 77f5203bbf Do not display table when there are no results and fix code style
refs #5543
2015-09-29 12:01:31 +02:00
Eric Lippmann a0b9a06461 monitoring/CSS: Fix action-table class in the service groups overview
refs #5543
2015-09-29 12:01:31 +02:00
Matthias Jentsch b7121c5384 Do not display the wrong amount of users for empty groups
refs #5543
2015-09-29 12:01:31 +02:00
Matthias Jentsch f23aebaf95 Turn contact and contactgroup view into list
refs #5543
2015-09-29 12:01:31 +02:00
Eric Lippmann 8eb5554ba2 monitoring: Fix CSS classes in the service groups overview
refs #5543
2015-09-28 18:11:09 +02:00
Eric Lippmann 489b49a8a9 monitoring: Fix hasResult check in the service groups overview
refs #5543
2015-09-28 17:57:13 +02:00
Eric Lippmann 22fb507a2e monitoring: Indent the service groups overview w/ 4 spaces
refs #5543
2015-09-28 17:55:57 +02:00
Eric Lippmann 2e611bfd03 monitoring: Use the state badges widget in the service groups overview
refs #5543
2015-09-28 17:52:30 +02:00
Eric Lippmann 56df5e1f8b monitoring: Rename $s to $serviceGroup in the service groups overview
refs #5543
2015-09-28 17:46:15 +02:00
Eric Lippmann 04d852d2ed monitoring: Don't select unncessary columns in the service groups overview
refs #5543
2015-09-28 17:43:07 +02:00
Eric Lippmann 53ac939e8c monitoring: Don't select unncessary columns in the host groups overview
refs #5543
2015-09-28 17:42:34 +02:00
Eric Lippmann 8fe508536e monitoring: Remove last problem column from the service group overview
refs #5543
2015-09-28 17:40:44 +02:00
Eric Lippmann 73d674f6d9 monitoring: Fix thead creation in the service groups overview
refs #5543
2015-09-28 17:40:08 +02:00
Eric Lippmann 8a6df11bf2 monitoring: Remove trailing semicolons from inline echo tags in the service groups overview
refs #5543
2015-09-28 17:37:26 +02:00
Eric Lippmann 5d95229d5b monitoring: Re-add click action in the host and service overview
refs #5543
2015-09-28 17:30:19 +02:00
Eric Lippmann 344dafe253 monitoring: Display host and service count as badge in the hostgroups overview
refs #5543
2015-09-28 17:06:36 +02:00
Eric Lippmann f3b928de6b CSS: Use handled as separate class again
refs #5543
2015-09-28 17:03:20 +02:00
Eric Lippmann d03647f2e6 JS: Rename dblclickselect to selectable
refs #9826
2015-09-28 15:44:25 +02:00
Eric Lippmann 2c73d9fad7 monitoring: Don't select unncessary columns in the services overview 2015-09-28 14:56:36 +02:00
Eric Lippmann 82914cf9a3 monitoring: Don't select unncessary columns in the hosts overview 2015-09-28 14:54:49 +02:00
Eric Lippmann 2ff822c2ac Merge branch 'master' into feature/ipv6-addresses-9645-9826 2015-09-28 13:09:30 +02:00
Johannes Meyer d627f419ef Fix that an object's notes and action url label is escaped twice
fixes #10218
2015-09-28 09:05:17 +02:00
Eric Lippmann 705432b5fb monitoring/lib: Change StateBadges::add() signature
refs #5543
2015-09-27 15:43:17 +02:00
Eric Lippmann d8f45fc9b1 monitoring: Use StateBadges::STATE_UP in the host groups overview
refs #5543
2015-09-27 14:43:52 +02:00
Eric Lippmann 56fff33cb2 monitoring: Add StateBadges::STATE_DOWN*
refs #5543
2015-09-27 14:29:31 +02:00
Eric Lippmann 2576754958 monitoring: Indent host groups overview w/ 4 spaces
refs #5543
2015-09-27 14:23:48 +02:00
Eric Lippmann a3d3ba229d monitoring: Use state badge widget for service states in the host group overview
refs #5543
2015-09-27 14:18:41 +02:00
Eric Lippmann d3ac1b16ee Merge branch 'master' into feature/dope-layout-5543 2015-09-27 13:11:11 +02:00
Eric Lippmann 8ead6c73df monitoring: Use StateBadges widget for host states in the hostgroups overview
refs #5543
2015-09-27 12:26:58 +02:00
Johannes Meyer a55cced039 Merge branch 'master' into feature/custom-menu-items-5600
Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-09-25 14:12:43 +02:00
Eric Lippmann 1014cdfa3c monitoring/CSS: Use action-table instead of action in the hostgroup overview
refs #5543
2015-09-25 12:43:06 +02:00
Eric Lippmann 4a24065916 monitoring/CSS: Add listing-table to the hostgroup overview
refs #5543
2015-09-25 12:42:37 +02:00
Eric Lippmann 2d4ea43a87 monitoring/CSS: Rename pre.pluginoutput to pre.plugin-output
refs #5543
2015-09-25 11:41:51 +02:00
Eric Lippmann e71da8b646 monitoring/CSS: Use icon-bell-alt for send custom notification links
refs #5543
2015-09-25 11:41:18 +02:00
Eric Lippmann 2820c1ed64 monitoring: Fix handled color in the host and service detail
refs #5543
2015-09-25 11:37:31 +02:00
Eric Lippmann e7497f3ac7 monitoring/CSS: Use icon-cancel for the delete comment button
refs #5543
2015-09-25 11:34:55 +02:00
Eric Lippmann af41a9c981 monitoring/CSS: Fix classes used in the delete comment command form (WIP)
Spinner is missing for the moment.

refs #5543
2015-09-25 11:33:07 +02:00
Eric Lippmann fef50e9584 monitoring/CSS: Fix css classes used in the check now command form (WIP)
Spinner is missing for the moment.

refs #5543
2015-09-25 11:33:06 +02:00
Eric Lippmann 1c01025162 monitoring: Rename host/object-header partial to object/host-header
refs #5543
2015-09-25 11:33:06 +02:00
Eric Lippmann f74293b5ba monitoring: Wrap td content in p in the host detail
refs #5543
2015-09-25 11:22:18 +02:00
Eric Lippmann cf36d288a3 monitoring: Remove trailing semicolons from inline echo tags in the host detail
refs #5543
2015-09-25 11:20:22 +02:00
Eric Lippmann 8e63d89204 monitoring: Indent the host detail w/ 4 spaces
refs #5543
2015-09-25 11:20:01 +02:00
Eric Lippmann 44b2b87547 monitoring: Remove strong and small tags in the host detail
refs #5543
2015-09-25 11:19:25 +02:00
Eric Lippmann cfee0cc99f monitoring/CSS: Use new state- classes in the host detail
refs #5543
2015-09-25 11:18:53 +02:00
Eric Lippmann 204cb4c99c monitoring/CSS: Remove class objectheader in the host detail
refs #5543
2015-09-25 11:18:00 +02:00
Eric Lippmann 713a816a3e monitoring: Rename service/object-header view script to object/service-header
refs #5543
2015-09-25 11:17:00 +02:00
Eric Lippmann 4eafb1825c monitoring: Wrap td content in p in the service detail header
refs #5543
2015-09-25 11:14:42 +02:00
Eric Lippmann 4912b30b1b monitoring/CSS: Use new state- classes for the host in the service detail header too
refs #5543
2015-09-25 11:10:10 +02:00
Eric Lippmann daa9d8a9ef monitoring: Indent the service detail header w/ 4 spaces
refs #5543
2015-09-25 11:09:36 +02:00
Eric Lippmann 8aa1dcd4f9 monitoring: Remove strong and small tags in the service detail header
refs #5543
2015-09-25 11:08:18 +02:00
Eric Lippmann 3f821ac284 monitoring: Remove trailing semicolon from inline echo tags in the service detail header
refs #5543
2015-09-25 11:06:31 +02:00
Eric Lippmann 78c07da9b7 monitoring/CSS: Drop class objectstate in the service detail header
refs #5543
2015-09-25 11:05:55 +02:00
Eric Lippmann 1e2803ffb7 monitoring/CSS: Use new state- classes in the service detail header
refs #5543
2015-09-25 11:05:32 +02:00
Eric Lippmann 1a4c1a5d94 monitoring: No longer render last problem column in the host groups overview
I doubt that this column had any real value. If there's a "problem" on a host group, the state badges help you.

refs #5543
2015-09-25 11:01:47 +02:00
Eric Lippmann 231bee086a monitoring: Don't render performance data in a td in the host and service detail
refs #5543
2015-09-25 10:59:38 +02:00
Eric Lippmann 7b66a61a41 monitoring: Use dl for inline comments in the host and service detail
refs #5543
2015-09-25 10:58:45 +02:00
Eric Lippmann f5f46b0809 monitoring/CSS: Remove hardcoded style in the list/hosts view script
refs #5543
2015-09-25 00:18:23 +02:00
Eric Lippmann 69b83696c0 monitoring/CSS: Use text-small for unhandled services links in the hosts overview
refs #5543
2015-09-25 00:17:56 +02:00
Eric Lippmann a9256d5332 monitoring/CSS: Use action-link on reschedule links
refs #5543
2015-09-24 23:45:20 +02:00
Eric Lippmann 1c7dc8f71f monitoring: Remove class tr.newsection in the components/command view script
refs #5543
2015-09-24 23:43:03 +02:00
Eric Lippmann 84ecce3e7c monitoring: Remove trailing semicolons from inline echo tags in the components/command view script
refs #5543
2015-09-24 23:42:12 +02:00
Eric Lippmann 156fc9c85c monitoring/CSS: Use action-link on process check result links
refs #5543
2015-09-24 23:39:19 +02:00
Eric Lippmann 7b7a791fcc monitoring: Use <br> instead of <br /> in the components/notifications view script
refs #5543
2015-09-24 23:36:43 +02:00
Eric Lippmann 958ac7217f monitoring/CSS: Use class action link on send notification links
refs #5543
2015-09-24 23:35:48 +02:00
Eric Lippmann 3f33cd72c6 monitoring/CSS: Use action-link on schedule downtime links
refs #5543
2015-09-24 18:00:03 +02:00
Eric Lippmann e782fcb859 monitoring/CSS: Use action-link on add comment links
refs #5543
2015-09-24 17:58:33 +02:00
Eric Lippmann 587b5651eb monitoring/CSS: Use action-link on acknowledge links
refs #5543
2015-09-24 17:25:41 +02:00
Eric Lippmann 13bf999868 monitoring: Simplify perfdata view script
refs #5543
2015-09-24 17:19:24 +02:00
Eric Lippmann d71afd30fe monitoring: Use the object/detail-content partial when viewing a service
refs #5543
2015-09-24 16:11:24 +02:00
Eric Lippmann 85161c4a1e monitoring: Use the object/detail-content partial when viewing a host
refs #5543
2015-09-24 16:10:56 +02:00
Eric Lippmann 98ed611839 monitoring: Add object/detail-content partial
refs #5543
2015-09-24 16:10:20 +02:00
Eric Lippmann 523a1cff31 monitoring: Simplify customvars markup
refs #5543
2015-09-24 16:05:52 +02:00
Eric Lippmann 3cbc8602a4 monitoring: Fix service detail markup
Say no, no to h2 in td.

refs #5543
2015-09-24 16:04:09 +02:00
Eric Lippmann 53a5ed2173 monitoring: Remove CSS class newsection in the service/show view script
refs #5543
2015-09-24 15:54:33 +02:00
Eric Lippmann 419638518f monitoring: Use name-value-table instead of avp in the service/show view script
refs #5543
2015-09-24 15:54:00 +02:00
Eric Lippmann 11cfdb2f15 monitoring: Remove trailing semicolon from inline echo tag in the service/show view script
refs #5543
2015-09-24 15:52:08 +02:00
Eric Lippmann 8dbf33d4dd monitoring: Fix thead markup in the list/hostgroups view script
refs #5543
2015-09-24 15:12:19 +02:00
Eric Lippmann e197907323 monitoring: Fix stupid thead creation in the lit/hostgroups view script
Drunk?

refs #5543
2015-09-24 15:11:20 +02:00
Eric Lippmann da50ade2fb monitoring: Use $hostgroup instead of $h in the list/hostgroups view script
refs #5543
2015-09-24 15:07:36 +02:00
Eric Lippmann 1b46348a1a monitoring: Fix typo in the list/hosts view script
refs #5543
2015-09-24 15:05:55 +02:00
Eric Lippmann e284ecf3b0 monitoring: Don't peekAhead in the list/hostgroups view script
Should be in the controller.

refs #5543
2015-09-24 15:05:28 +02:00
Eric Lippmann 7beabd9744 monitoring: Don't peekAhead in the list/hosts view script
This should be in the controller.

refs #5543
2015-09-24 15:00:00 +02:00
Eric Lippmann f391114fc8 monitoring: Fix h2 tag in the list/hosts view script
refs #5543
2015-09-24 14:59:28 +02:00
Eric Lippmann d107d18a3d monitoring: Don't render an empty table if there are no hosts to list
refs #5543
2015-09-24 14:59:11 +02:00
Eric Lippmann 55cc3eae78 monitoring: Wrap state information in p in the list/hosts view script
refs #5543
2015-09-24 14:57:52 +02:00
Eric Lippmann 5b3ba5ab6b monitoring: Don't peekAhead in the list/services view script
This should be in the controller.

refs #5543
2015-09-24 14:57:01 +02:00
Eric Lippmann 64b7315379 monitoring: Don't render an empty table if there are no services to list
refs #5543
2015-09-24 14:56:22 +02:00
Eric Lippmann a053c3a6e3 monitoring: Remove trailing semicolon from inline echo tags in the list/hostgroups view script
refs #5543
2015-09-24 14:25:52 +02:00
Eric Lippmann 538c1bb42b monitoring/CSS: Use action-table instead of action in the list/hosts view script
refs #5543
2015-09-24 14:23:01 +02:00
Eric Lippmann 103daf1a7b CSS: Don't render soft state bold in the list/hosts view script
refs #5543
2015-09-24 12:03:31 +02:00
Eric Lippmann 47c96066d7 CSS: Don't render the state label bold in the list/hosts view script
refs #5543
2015-09-24 12:02:53 +02:00
Eric Lippmann 5a6deae2c5 CSS: Use new state- classes in the list/hosts view script
refs #5543
2015-09-24 12:02:25 +02:00
Eric Lippmann dd0c81e344 CSS: Use <br> instead of <br /> in the list/hosts view script
refs #5543
2015-09-24 12:00:53 +02:00
Eric Lippmann 93c05c4297 CSS: Use plugin-output instead of pluginoutput in the list/hosts view script
refs #5543
2015-09-24 12:00:10 +02:00
Eric Lippmann e948e63aa5 CSS: Wrap show more services in a text-right container
refs #5543
2015-09-24 11:59:27 +02:00
Eric Lippmann f6efa85079 CSS: Wrap show more hosts link in a text-right container
refs #5543
2015-09-24 11:58:52 +02:00
Eric Lippmann ae2889c65f CSS: Use action-link instead of show-more in the list/hosts view script
refs #5543
2015-09-24 11:56:58 +02:00
Eric Lippmann 3580de6c6e monitoring: Indent the list/hosts view script w/ 4 spaces
refs #5543
2015-09-24 10:44:26 +02:00
Eric Lippmann 142fc8a21d monitoring: Remove comments from the list/hosts view script
refs #5543
2015-09-24 10:33:23 +02:00
Eric Lippmann a87dde9e03 monitoring: Remove trailing semicolon from inline echo tags in the list/hosts view script
refs #5543
2015-09-24 10:31:28 +02:00
Eric Lippmann 8ea30a2933 monitoring: Use CSS class action-link instead of show-more in the list/services view script
refs #5543
2015-09-23 14:04:44 +02:00
Eric Lippmann 485a19ec9f monitoring: Use CSS class action-table instead of action in the list/services view script
refs #5543
2015-09-23 14:03:40 +02:00
Eric Lippmann 6a5cefdc92 monitoring: Don't use hard-coded style in the list/services view script
refs #5543
2015-09-23 14:03:08 +02:00
Eric Lippmann 59599916b0 monitoring: Re-indent the list/services view script
refs #5543
2015-09-23 14:02:39 +02:00
Johannes Meyer 6aecfe6959 Introduce base form class ActionForm
refs #5600
2015-09-23 13:45:33 +02:00
Eric Lippmann 87973314e6 monitoring: Rename CSS class pluginoutput to plugin-output in the services view script
refs #5543
2015-09-23 13:18:44 +02:00
Eric Lippmann 4c12a692a3 monitoring: Remove unused variable form the services view script
refs #5543
2015-09-23 13:18:15 +02:00
Eric Lippmann 596bb08e5e monitoring: Don't render the state label bold when listing services
refs #5543
2015-09-23 13:17:36 +02:00
Bernd Erk 2242f6192c Redesign draft and implementation 2015-09-22 17:33:02 +02:00
Johannes Meyer 57e08e92d4 Do not mark relative urls as absolute
refs #5600
refs #10169
2015-09-22 14:12:08 +02:00
Alexander A. Klimov 8bfc7b8805 Repair "Show More" links in the Alert Summary
fixes #9995
2015-09-21 13:26:42 +02:00
Alexander A. Klimov dd0e924e8d Do not validate section names in forms
fixes #10151
2015-09-18 16:11:51 +02:00
Johannes Meyer 4f5a5c83bc Navigation: Add method hasRenderableItems()
refs #5600
2015-09-17 11:01:06 +02:00
Johannes Meyer ade0c605a9 Introduce form class ServiceActionForm
refs #5600
2015-09-17 09:21:43 +02:00
Johannes Meyer 25307fc1a0 Introduce form class HostActionForm
refs #5600
2015-09-17 09:21:33 +02:00
Matthias Jentsch a34c108da5 Allow mixed selection of host and service comments 2015-09-16 15:46:07 +02:00
Matthias Jentsch 1b6f5861b7 Highlight selected table rows in related actions
Allow declaring related controllers for action tables and highlight table rows based on the queries in links pointing to those actions.

fixes #10155
2015-09-16 15:31:53 +02:00
Johannes Meyer ffb54e0ecb monitoring: Do not show bullet points for actions and notes
refs #5600
2015-09-16 13:32:20 +02:00
Johannes Meyer 1d6ad6df21 Merge branch 'master' into feature/custom-menu-items-5600
Conflicts:
	modules/monitoring/configuration.php
2015-09-15 13:31:30 +02:00
Matthias Jentsch ed668dd2c9 Revert "HostController: Open a host's service in the current column"
This reverts commit 0d32b94eaa.

fixes #10104
2015-09-14 17:33:57 +02:00
Matthias Jentsch 32b4715130 Remove unused joins and conform to coding guidelines 2015-09-14 12:05:15 +02:00
Matthias Jentsch 9110153ab8 Display check timeperiod in host and service detail view
refs #9888
2015-09-11 16:39:13 +02:00
Matthias Jentsch f42476213e Provide limit control in service grid
refs #9030
2015-09-07 18:14:16 +02:00
Eric Lippmann a52b008a74 monitoring/detail: Show the icon for late check results next to 'Next update'
refs #8378
2015-09-07 14:40:50 +02:00
Eric Lippmann 757c0727c9 monitoring/detail: Show acknowledgement expire time if any
resolves #8642
2015-09-07 14:25:14 +02:00
Eric Lippmann 91b9a83be5 monitoring/api: Use JsonResponse in the ActionsController
refs #9606
2015-09-07 13:37:18 +02:00
Eric Lippmann 0f8c28d749 Merge branch 'master' into feature/api-9606 2015-09-07 11:33:44 +02:00
Eric Lippmann d7aca56c43 monitoring/detail: Use an icon for displaying reachability 2015-09-07 11:28:15 +02:00
Eric Lippmann 1fccf9c721 Merge branch 'master' into feature/monitoring-indicate-late-check-results-8378 2015-09-07 11:09:11 +02:00
Eric Lippmann d21f635819 monitoring/detail: Show an icon if the check result is late
refs #8378
2015-09-07 11:08:37 +02:00
Eric Lippmann e155e1514a monitoring/css: Rename prefix for background colors from bg-state to bg-color 2015-09-07 11:07:55 +02:00
Johannes Meyer a1b219f97d notes.phtml: Load notes from shareables and user preferences
refs #5600
2015-09-07 10:54:56 +02:00
Johannes Meyer e27aa04c4b actions.phtml: Load actions from shareables and user preferences
refs #5600
2015-09-07 10:54:43 +02:00
Johannes Meyer 716e532d16 notes.phtml: Use the new Navigation to load and render notes urls
refs #5600
2015-09-07 10:34:21 +02:00
Johannes Meyer 4983d46dd7 actions.phtml: Use the new Navigation to load and render action urls
refs #5600
2015-09-07 09:53:53 +02:00
Eric Lippmann 20fd99944b monitoring/detail: Add $activeChecksEnabled variable in the checkstatistics view script
refs #8378
2015-09-04 18:09:25 +02:00
Eric Lippmann 7464742afe monitoring/detail: Hide Reschedule link if the host or service is not actively checked
refs #8378
2015-09-04 17:18:07 +02:00
Eric Lippmann 363f6271d9 monitoring/detail: Show the expected next update if the host or service is not actively checked
refs #8378
2015-09-04 17:14:16 +02:00
Eric Lippmann a7cf3d0eb2 monitoring/detail: Read "Next update" instead of "Next check" if the host or service is not active checked
refs #8378
2015-09-04 15:48:45 +02:00
Eric Lippmann bef84ad394 monitoring/detail: Read "Last update" instead of "Last check" if the host or service is not active checked
refs #8378
2015-09-04 15:43:13 +02:00
Eric Lippmann e64c2947ea monitoring: Reduce complexity of the checkstatistics view script 2015-09-04 15:42:02 +02:00
Eric Lippmann 3401d09b59 monitoring/detail: Hide last check counter if the service is pending 2015-09-04 15:37:07 +02:00
Eric Lippmann bb67642d4b monitoring/detail: Hide next check counter if the service is pending 2015-09-04 15:33:55 +02:00
Matthias Jentsch 29a2ee1a02 Merge branch 'feature/provide-counter-view-10033'
resolves #10033
2015-09-04 15:27:35 +02:00
Matthias Jentsch 8837004fca Fix base target in problem badges
The stats view is always a main pane, so it makes sense to open the badge links in col2.

refs #10033
2015-09-04 15:24:26 +02:00
Matthias Jentsch a630869bcf Provide stats for unhandled problems and improve layout
refs #10033
2015-09-04 15:17:28 +02:00
Matthias Jentsch fff9bf7b2b Implement view to display stats about checks and monitored objects
refs #10033
2015-09-04 14:22:57 +02:00
Matthias Jentsch daa23a4edd Use correct filters in multi-object command views 2015-09-04 13:07:23 +02:00
Eric Lippmann b28f1c4038 Merge branch 'bugfix/monitoring-ack-comments-display-9674'
fixes #9674
2015-09-04 13:04:39 +02:00
Eric Lippmann 56e495049c monitoring/detail: Indicate whether an ack is sticky
refs #9674
2015-09-04 13:04:14 +02:00
Eric Lippmann 90f606fbd4 monitoring: Fix tooltip of the sticky flag for acks 2015-09-04 13:03:28 +02:00
Matthias Jentsch ca33e71f2d Deduplicate and clean up service summary component
Remove redundant component view script and streamline subFilter handling in all views that render it. Remove
heading from component to allow embedding in different types of views.

refs #10033
2015-09-04 13:02:57 +02:00
Eric Lippmann 5651392ce7 monitoring/config: Rename URL paramter backend to backend-name
Else the parameter conflicts w/ the module-wide paramter backend for choosing the data source.
2015-09-03 17:03:33 +02:00
Eric Lippmann 2da49ad697 monitoring/detail: Display the comment of the ack next to the ack
refs #9674
2015-09-03 16:39:56 +02:00
Matthias Jentsch ddde37e225 Remove acknowledgement view temporarily
Implementation of acknowledgement view temporarily delayed until v2.1.0.

refs #10032
2015-09-03 16:08:55 +02:00
Matthias Jentsch 1b7b0c7232 Merge branch 'feature/provide-acknowledgement-view-10032' 2015-09-02 11:31:15 +02:00
Matthias Jentsch fde51fe27b Display message on empty result sets
refs #10032
2015-09-02 11:30:12 +02:00
Matthias Jentsch 8f545dd0d6 Fix acknowledgement query for PGSQL
refs #10032
2015-09-02 11:25:52 +02:00
Davide Demuru 41ab03accb Update locale it_IT
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-01 23:02:52 +02:00
Matthias Jentsch fd8824e157 Cleanup 2015-09-01 17:42:33 +02:00
Matthias Jentsch bcdbf413a6 Add acknowledgement view and query
Add backend queries and the controller to inspect active acknowledgements.

refs #10032
2015-09-01 16:39:08 +02:00
Eric Lippmann 5da88d0767 monitoring: Fix deprecated links
fixes #10056
2015-09-01 09:33:20 +02:00
Eric Lippmann 6007cc7f7b monitoring: Read "List all services" rather than "show all services" 2015-09-01 09:13:08 +02:00
Johannes Meyer 1c51735629 Merge branch 'master' into feature/rename-monitoring-instances-to-command-transports-and-allow-to-link-them-with-a-monitoring-instance-9651
Conflicts:
	modules/monitoring/application/controllers/ConfigController.php
2015-08-31 13:05:10 +02:00
Johannes Meyer ff54284401 TransportConfigForm: Use a select input for setting the instance
refs #9651
2015-08-31 12:17:57 +02:00
Johannes Meyer 6f6e991fd0 monitoring: Use the module's base controller in the ConfigController
refs #9651
2015-08-31 11:04:34 +02:00
Johannes Meyer e04c19a819 CommandForm: Use the CommandTransport class directly
Provides a fallback mechanism now and will check the instance's
name soon.

refs #8981
refs #9651
2015-08-31 09:28:42 +02:00
Eric Lippmann 6c067d49b7 monitoring: Add missing alias in the ListController after namespacing 2015-08-28 09:41:13 +02:00
Eric Lippmann 70554e766f monitoring: Namespace the ListController
refs #5786
2015-08-28 09:40:28 +02:00
Eric Lippmann 610675d3e9 monitoring: Optimize imports in the ListController
refs #5786
2015-08-28 09:39:48 +02:00
Eric Lippmann 9e83512dc6 monitoring: Add missing aliases in the TimelineController after namespacing 2015-08-28 09:39:12 +02:00
Eric Lippmann 0707d3f2a1 monitoring: Namespace the TimelineController
refs #5786
2015-08-28 09:37:56 +02:00
Eric Lippmann 45644fbde1 monitoring: Optimize imports in the TimelineController 2015-08-28 09:37:18 +02:00
Eric Lippmann e9f9073d90 monitoring: Namespace the TacticalController
refs #5786
2015-08-28 09:36:34 +02:00
Eric Lippmann acd5b9123c monitoring: Optimize imports in the TacticalController 2015-08-28 09:36:10 +02:00
Eric Lippmann cfab9d99ff monitoring: Don't use Monitoring\Controller as MonitoringController in the TacticalController 2015-08-28 09:35:25 +02:00
Eric Lippmann 411ad407b1 monitoring: Remove deprecated actions from the ShowController
Removed:

* show/service
* show/host
* show/history
2015-08-28 09:34:23 +02:00
Eric Lippmann 3c9e67eb46 monitoring: Don't throw exception manually in ShowController::contactAction() 2015-08-28 09:32:52 +02:00
Eric Lippmann 4cd0259eb2 monitoring: Namespace the ShowController
refs #5786
2015-08-28 09:32:04 +02:00
Eric Lippmann 54ad809bf1 monitoring: Optimize imports in the ShowController 2015-08-28 09:25:16 +02:00
Eric Lippmann 62d3eed989 monitoring: Remove ServicesController::deleteCommentAction()
Not in use.
2015-08-28 09:23:48 +02:00
Eric Lippmann dc5fddcbfe monitoring: Namespace the ServicesController
refs #5786
2015-08-28 09:22:13 +02:00
Eric Lippmann 48c625d54d monitoring: Optimize imports in the ServicesController 2015-08-28 09:21:23 +02:00
Eric Lippmann 33e64d9dc0 monitoring: Use @inheritdoc for ServiceController::$commandRedirectUrl 2015-08-28 09:20:33 +02:00
Eric Lippmann 67b22a56d2 monitoring: Namespace the ServiceController
refs #5786
2015-08-28 09:19:43 +02:00
Eric Lippmann 46f9256c82 monitoring: Remove ProcessController::performanceAction()
Not used.
2015-08-27 23:31:12 +02:00
Eric Lippmann b465bb000c monitoring: Namespace the ProcessController
refs #5786
2015-08-27 23:30:32 +02:00
Eric Lippmann 5ec338877c monitoring: Optimize impoerts in the ProcessController 2015-08-27 23:28:37 +02:00
Eric Lippmann acef9ce095 monitoring: Remove HostsController::deleteCommentAction()
Not used.
2015-08-27 23:27:29 +02:00
Eric Lippmann 6e2afe5d57 monitoring: Namespace the HostsController
refs #5786
2015-08-27 23:22:55 +02:00
Eric Lippmann 6931ad9411 monitoring: Optimize imports in the HostsController 2015-08-27 23:22:23 +02:00
Eric Lippmann c8927a36dc monitoring: Use @inheritdoc for HostController::$commandRedirectUrl 2015-08-27 23:21:48 +02:00
Eric Lippmann 1f922a7da6 monitoring: Namespace the HostController
refs #5786
2015-08-27 23:18:48 +02:00
Eric Lippmann 568c0f0955 monitoring: Fix mess in the downtimes-header view script 2015-08-27 23:17:57 +02:00
Eric Lippmann 2f47791a70 monitoring: Fix coding style in the comment-detail view script 2015-08-27 23:17:34 +02:00
Eric Lippmann 9ffe151628 monitoring: Omit full stop for tooltips in the comment-description view script 2015-08-27 23:17:11 +02:00
Eric Lippmann f72c8e30fe monitoring: Don't loop more than 5 comments in the comments-header view script
What the ...
2015-08-27 23:16:25 +02:00
Eric Lippmann d92f2cca0e monitoring: Fix coding style in the comments/show view script 2015-08-27 23:15:56 +02:00
Eric Lippmann aceae4cb6e monitoring: Fix coding style in the downtimes/show view script 2015-08-27 23:15:28 +02:00
Eric Lippmann 0f2a4ceac3 monitoring: Don't loop downtimes in the DowntimesController 2015-08-27 23:14:48 +02:00
Johannes Meyer 660540ee1a TransportConfigForm: Add `instance' form field
refs #9651
2015-08-27 16:33:10 +02:00
Eric Lippmann d68edc5149 Monitoring: Namespace the DowntimesController
refs #5786
2015-08-27 16:23:16 +02:00
Eric Lippmann e9380d2016 monitoring: Optimize imports in the DowntimesController
refs #5786
2015-08-27 16:21:59 +02:00
Eric Lippmann e2a4b51429 monitoring: Don't call getQuery() on the comment data view in the CommentController 2015-08-27 16:20:28 +02:00
Eric Lippmann b82306e2bb monitoring: Reduce DowntimeController complexity 2015-08-27 16:19:18 +02:00
Eric Lippmann a50d2110be monitoring: Namespace the DowntimeController
refs #5786
2015-08-27 16:08:09 +02:00
Eric Lippmann dce8afd5bd monitoring: Optimize imports in the DowntimeController
refs #5786
2015-08-27 16:07:30 +02:00
Eric Lippmann c3e6e47560 monitoring: Add missing alias in the ConfigController 2015-08-27 16:07:03 +02:00
Eric Lippmann 06c215f9a9 monitoring: Add missing alias in the ConfigController after namespacing 2015-08-27 16:06:26 +02:00
Eric Lippmann 15be844d76 monitoring: Namespace the ConfigController
refs #5786
2015-08-27 16:05:57 +02:00
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
Johannes Meyer 1317a6eaf8 Show an object's instance only if there are multiple instances
refs #9945
2015-08-26 10:55:18 +02:00
Johannes Meyer 241f73f229 Show the instance's name of a host or service in the detail view
refs #9945
2015-08-26 10:54:01 +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 c5fe641c43 monitoring: Rewrite service-grid view script
refs #9538
2015-08-25 14:55:02 +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 6ab61ba8e0 Merge branch 'bugfix/format-lacks-restriction-9965'
fixes #9965
2015-08-25 09:19:00 +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
Johannes Meyer 9ca278d7b2 Merge branch 'master' into feature/activity-indicators-for-form-submits-8369 2015-08-21 13:37:54 +02:00
Eric Lippmann b629115ba7 monitoring: Use empty() for is empty check in the servicegrid view script
refs #9538
2015-08-21 11:37:46 +02:00
Eric Lippmann 5ae541db25 monitoring: Drop unnecessary call to array_values in the servicegrid view script
refs #9538
2015-08-21 11:35:30 +02:00
Eric Lippmann 71b89ea51a monitoring: Rename $serviceStates to $services in the servicegrid view script
refs #9538
2015-08-21 11:35:03 +02:00
Eric Lippmann 1ab8fc0012 monitoring: Use View::ellipsis() in the servicegrid view script
refs #9538
2015-08-21 11:32:33 +02:00
Eric Lippmann 9d40013b21 monitoring: Rename $service_description to $serviceDescription in the servicegrid view script
refs #9538
2015-08-21 11:30:18 +02:00
Eric Lippmann d461270bf8 monitoring: Rename $host_name to $hostName in the servicegrid view script
refs #9538
2015-08-21 11:29:29 +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 f7630b98a9 monitoring: Optimize method order in the DeleteCommentsCommandForm 2015-08-21 10:32:16 +02:00
Eric Lippmann 15cf5a9724 monitoring: Fix submit label of the DeleteCommentsCommandForm 2015-08-21 10:31:21 +02:00
Eric Lippmann 5b143ce205 monitoring: Optimize method order in the DeleteDowntimesCommandForm 2015-08-21 10:30:55 +02:00
Eric Lippmann b092d081b9 monitoring: Use translatePlural for the success message in the DeleteCommentsCommandForm 2015-08-21 10:28:52 +02:00
Eric Lippmann ed25488cff monitoring: Use translatePlural for the success message in the DeleteDowntimesCommandForm 2015-08-21 10:28:28 +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 f27f1097ca monitoring: Don't require the child_hosts parameter when scheduling host downtimes
refs #9606
2015-08-20 15:54:03 +02:00
Johannes Meyer 4edf122364 Show a spinner when deleting comments or downtimes
refs #8369
2015-08-20 15:49:25 +02:00
Eric Lippmann 0fb495f541 monitoring/API: Add ActionsController w/ removeHostDowntime action
refs #9606
2015-08-20 14:25:12 +02:00
Matthias Jentsch 41d68f6a74 Fix delete comments and downtimes button
Fix faulty target names and add additional error checking in case the target DOM Element is not present.

fixes #9330
2015-08-19 16:36:47 +02:00
Johannes Meyer b7a389601d IdoResourcePage: Validate the version of a PostgreSQL server
refs #9460
2015-08-19 14:42:18 +02:00
Eric Lippmann 1741a4f10b monitoring: Use display names for the aria-label in the service grid
refs #9538
2015-08-19 12:56:19 +02:00
Eric Lippmann 0c43e4a36b monitoring: Sort by display_names in the service grid
refs #9538
2015-08-19 12:55:55 +02:00
Alexander Fuhr 038fa29da8 notifications(view): Fix the wrong url for the service row
fixes #9597
2015-08-18 16:06:57 +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
Alexander Fuhr 4848e36f1a IconImage: Fix the icon_image icon nfont usage
fixes #9582
2015-08-18 13:29:18 +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 9b25ffa566 Perfdata: Do not show "xx more..." if there is nothing to show 2015-08-11 15:28:37 +02:00