Commit Graph

2119 Commits

Author SHA1 Message Date
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