Commit Graph

3728 Commits

Author SHA1 Message Date
Eric Lippmann 8e63d89204 monitoring: Indent the host detail w/ 4 spaces
refs 
2015-09-25 11:20:01 +02:00
Eric Lippmann 44b2b87547 monitoring: Remove strong and small tags in the host detail
refs 
2015-09-25 11:19:25 +02:00
Eric Lippmann cfee0cc99f monitoring/CSS: Use new state- classes in the host detail
refs 
2015-09-25 11:18:53 +02:00
Eric Lippmann 204cb4c99c monitoring/CSS: Remove class objectheader in the host detail
refs 
2015-09-25 11:18:00 +02:00
Eric Lippmann 713a816a3e monitoring: Rename service/object-header view script to object/service-header
refs 
2015-09-25 11:17:00 +02:00
Eric Lippmann 4eafb1825c monitoring: Wrap td content in p in the service detail header
refs 
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 
2015-09-25 11:10:10 +02:00
Eric Lippmann daa9d8a9ef monitoring: Indent the service detail header w/ 4 spaces
refs 
2015-09-25 11:09:36 +02:00
Eric Lippmann 8aa1dcd4f9 monitoring: Remove strong and small tags in the service detail header
refs 
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 
2015-09-25 11:06:31 +02:00
Eric Lippmann 78c07da9b7 monitoring/CSS: Drop class objectstate in the service detail header
refs 
2015-09-25 11:05:55 +02:00
Eric Lippmann 1e2803ffb7 monitoring/CSS: Use new state- classes in the service detail header
refs 
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 
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 
2015-09-25 10:59:38 +02:00
Eric Lippmann 7b66a61a41 monitoring: Use dl for inline comments in the host and service detail
refs 
2015-09-25 10:58:45 +02:00
Eric Lippmann f5f46b0809 monitoring/CSS: Remove hardcoded style in the list/hosts view script
refs 
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 
2015-09-25 00:17:56 +02:00
Eric Lippmann a9256d5332 monitoring/CSS: Use action-link on reschedule links
refs 
2015-09-24 23:45:20 +02:00
Eric Lippmann 1c7dc8f71f monitoring: Remove class tr.newsection in the components/command view script
refs 
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 
2015-09-24 23:42:12 +02:00
Eric Lippmann 156fc9c85c monitoring/CSS: Use action-link on process check result links
refs 
2015-09-24 23:39:19 +02:00
Eric Lippmann 7b7a791fcc monitoring: Use <br> instead of <br /> in the components/notifications view script
refs 
2015-09-24 23:36:43 +02:00
Eric Lippmann 958ac7217f monitoring/CSS: Use class action link on send notification links
refs 
2015-09-24 23:35:48 +02:00
Eric Lippmann 3f33cd72c6 monitoring/CSS: Use action-link on schedule downtime links
refs 
2015-09-24 18:00:03 +02:00
Eric Lippmann e782fcb859 monitoring/CSS: Use action-link on add comment links
refs 
2015-09-24 17:58:33 +02:00
Eric Lippmann 587b5651eb monitoring/CSS: Use action-link on acknowledge links
refs 
2015-09-24 17:25:41 +02:00
Eric Lippmann 13bf999868 monitoring: Simplify perfdata view script
refs 
2015-09-24 17:19:24 +02:00
Eric Lippmann d71afd30fe monitoring: Use the object/detail-content partial when viewing a service
refs 
2015-09-24 16:11:24 +02:00
Eric Lippmann 85161c4a1e monitoring: Use the object/detail-content partial when viewing a host
refs 
2015-09-24 16:10:56 +02:00
Eric Lippmann 98ed611839 monitoring: Add object/detail-content partial
refs 
2015-09-24 16:10:20 +02:00
Eric Lippmann 523a1cff31 monitoring: Simplify customvars markup
refs 
2015-09-24 16:05:52 +02:00
Eric Lippmann 3cbc8602a4 monitoring: Fix service detail markup
Say no, no to h2 in td.

refs 
2015-09-24 16:04:09 +02:00
Eric Lippmann 53a5ed2173 monitoring: Remove CSS class newsection in the service/show view script
refs 
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 
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 
2015-09-24 15:52:08 +02:00
Eric Lippmann 8dbf33d4dd monitoring: Fix thead markup in the list/hostgroups view script
refs 
2015-09-24 15:12:19 +02:00
Eric Lippmann e197907323 monitoring: Fix stupid thead creation in the lit/hostgroups view script
Drunk?

refs 
2015-09-24 15:11:20 +02:00
Eric Lippmann da50ade2fb monitoring: Use $hostgroup instead of $h in the list/hostgroups view script
refs 
2015-09-24 15:07:36 +02:00
Eric Lippmann 1b46348a1a monitoring: Fix typo in the list/hosts view script
refs 
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 
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 
2015-09-24 15:00:00 +02:00
Eric Lippmann f391114fc8 monitoring: Fix h2 tag in the list/hosts view script
refs 
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 
2015-09-24 14:59:11 +02:00
Eric Lippmann 55cc3eae78 monitoring: Wrap state information in p in the list/hosts view script
refs 
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 
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 
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 
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 
2015-09-24 14:23:01 +02:00
Eric Lippmann 4a0e3c8341 monitoring/CSS: Include tables.less in our stylesheet
refs 
2015-09-24 14:22:32 +02:00
Eric Lippmann e114227c37 monitoring/CSS: Add tables.less
refs 
2015-09-24 14:21:57 +02:00
Eric Lippmann 103daf1a7b CSS: Don't render soft state bold in the list/hosts view script
refs 
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 
2015-09-24 12:02:53 +02:00
Eric Lippmann 5a6deae2c5 CSS: Use new state- classes in the list/hosts view script
refs 
2015-09-24 12:02:25 +02:00
Eric Lippmann dd0c81e344 CSS: Use <br> instead of <br /> in the list/hosts view script
refs 
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 
2015-09-24 12:00:10 +02:00
Eric Lippmann e948e63aa5 CSS: Wrap show more services in a text-right container
refs 
2015-09-24 11:59:27 +02:00
Eric Lippmann f6efa85079 CSS: Wrap show more hosts link in a text-right container
refs 
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 
2015-09-24 11:56:58 +02:00
Eric Lippmann 3580de6c6e monitoring: Indent the list/hosts view script w/ 4 spaces
refs 
2015-09-24 10:44:26 +02:00
Eric Lippmann 142fc8a21d monitoring: Remove comments from the list/hosts view script
refs 
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 
2015-09-24 10:31:28 +02:00
Eric Lippmann 895316b927 monitoring/CSS: Fix color usage in colors.less
refs 
2015-09-24 10:24:51 +02:00
Eric Lippmann 8ea30a2933 monitoring: Use CSS class action-link instead of show-more in the list/services view script
refs 
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 
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 
2015-09-23 14:03:08 +02:00
Eric Lippmann 59599916b0 monitoring: Re-indent the list/services view script
refs 
2015-09-23 14:02:39 +02:00
Johannes Meyer 6aecfe6959 Introduce base form class ActionForm
refs 
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 
2015-09-23 13:18:44 +02:00
Eric Lippmann 4c12a692a3 monitoring: Remove unused variable form the services view script
refs 
2015-09-23 13:18:15 +02:00
Eric Lippmann 596bb08e5e monitoring: Don't render the state label bold when listing services
refs 
2015-09-23 13:17:36 +02:00
Johannes Meyer 40c2cb2d12 MonitoredObject: Support host- and servicegroup filters in method matches()
refs 
2015-09-23 13:03:41 +02:00
Johannes Meyer e42548fc80 MonitoredObject: Allow to fetch servicegroups for host objects
refs 
2015-09-23 13:02:43 +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 
refs 
2015-09-22 14:12:08 +02:00
Alexander A. Klimov 8bfc7b8805 Repair "Show More" links in the Alert Summary
fixes 
2015-09-21 13:26:42 +02:00
Alexander A. Klimov dd0e924e8d Do not validate section names in forms
fixes 
2015-09-18 16:11:51 +02:00
Matthias Jentsch 3b135c6b6f Fix PostgreSQL queries that use GROUP BY
Add missing instance_id to getGroup query functions to avoid query errors in PostgreSQL.

fixes 
2015-09-17 16:29:00 +02:00
Eric Lippmann 8cea292745 monitoring: Fix grouping of host and service status when filtering for group columns
refs 
2015-09-17 16:22:24 +02:00
Johannes Meyer 4f5a5c83bc Navigation: Add method hasRenderableItems()
refs 
2015-09-17 11:01:06 +02:00
Johannes Meyer bf4e492fa1 Action: Accept and apply option "filter"
refs 
2015-09-17 11:00:40 +02:00
Johannes Meyer f4032988bf MonitoredObject: Add method matches()
refs 
2015-09-17 10:40:00 +02:00
Johannes Meyer ade0c605a9 Introduce form class ServiceActionForm
refs 
2015-09-17 09:21:43 +02:00
Johannes Meyer 25307fc1a0 Introduce form class HostActionForm
refs 
2015-09-17 09:21:33 +02:00
Johannes Meyer 0e60b81729 monitoring: Give the "Stats" dashboard pane a priority of 99, instead of 100
refs 
2015-09-16 16:29:30 +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 
2015-09-16 15:31:53 +02:00
Johannes Meyer 1e39ec668a monitoring: Disable custom host- and service-notes
refs 
2015-09-16 15:31:19 +02:00
Johannes Meyer 8c17364780 Late translate a module's menu section labels
refs 
2015-09-16 14:36:35 +02:00
Johannes Meyer 8b7a1ce28f Late translate a module's dashboard-pane/dashlet labels
refs 
2015-09-16 14:29:33 +02:00
Johannes Meyer bbadb0b75c Add support for no-op translations
refs 
2015-09-16 14:16:40 +02:00
Johannes Meyer c815a2b486 monitoring: Provide a label for all custom navigation item types
refs 
2015-09-16 14:05:34 +02:00
Johannes Meyer ffb54e0ecb monitoring: Do not show bullet points for actions and notes
refs 
2015-09-16 13:32:20 +02:00
Johannes Meyer bc57f9b613 monitoring: Provide a priority of 50 to 100 for the default dashboards
refs 
2015-09-15 13:55:24 +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 
2015-09-14 17:33:57 +02:00
Eric Lippmann fe083c2f19 monitoring/css: Fix colors of command links 2015-09-14 15:56:47 +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 
2015-09-11 16:39:13 +02:00
Matthias Jentsch b2c486bf80 Add Backend queries for host and service time periods
refs 
2015-09-11 16:31:19 +02:00
Matthias Jentsch f42476213e Provide limit control in service grid
refs 
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 
2015-09-07 14:40:50 +02:00
Eric Lippmann 757c0727c9 monitoring/detail: Show acknowledgement expire time if any
resolves 
2015-09-07 14:25:14 +02:00
Eric Lippmann 91b9a83be5 monitoring/api: Use JsonResponse in the ActionsController
refs 
2015-09-07 13:37:18 +02:00
Eric Lippmann 1615ed94b2 Revert "monitoring: Add DataView::handleRequest() (WIP)"
This reverts commit 4c1375834c.

refs 
2015-09-07 13:21:26 +02:00
Eric Lippmann f12c740046 Revert "monitoring: Fix call for getting the URL parameters in DataView::handleRequest()"
This reverts commit 432abb1d33.

refs 
2015-09-07 13:21:18 +02:00
Eric Lippmann 0abd2afb0e Revert "monitoring: Add DataView::$requiresFilter"
This reverts commit e9c7a5894a.
2015-09-07 13:19:28 +02:00
Johannes Meyer 7d167d0191 Action: Do not fail if no url is set
refs 
2015-09-07 12:00:35 +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 a569b19153 monitoring: Increase time before a check result is marked as late
refs 
2015-09-07 11:12:25 +02:00
Eric Lippmann 9667445e47 monitoring/dashboard: Add late host and service check results dashlets to the Overdue dashboard
refs 
2015-09-07 11:11:07 +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 
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 4487832d5f monitoring: Provide configurable navigation items
refs 
2015-09-07 11:07:22 +02:00
Eric Lippmann 644148e9ac monitoring/css: Add atomic definitions for foreground colors according to states
refs 
2015-09-07 11:07:08 +02:00
Eric Lippmann 30a5f57b7d monitoring: Remove next_update_is_late column from the service status query
refs 
2015-09-07 11:06:02 +02:00
Eric Lippmann 8347e126b8 monitoring: Remove next_update_is_late column from the host status query
refs 
2015-09-07 11:05:36 +02:00
Johannes Meyer a1b219f97d notes.phtml: Load notes from shareables and user preferences
refs 
2015-09-07 10:54:56 +02:00
Johannes Meyer e27aa04c4b actions.phtml: Load actions from shareables and user preferences
refs 
2015-09-07 10:54:43 +02:00
Johannes Meyer 860edb9768 Add class Action
refs 
2015-09-07 10:53:44 +02:00
Johannes Meyer 716e532d16 notes.phtml: Use the new Navigation to load and render notes urls
refs 
2015-09-07 10:34:21 +02:00
Johannes Meyer 4983d46dd7 actions.phtml: Use the new Navigation to load and render action urls
refs 
2015-09-07 09:53:53 +02:00
Eric Lippmann c9c5762320 monitoring/detail: Don't fail if a macro does not exist on the host or service 2015-09-04 18:10:28 +02:00
Eric Lippmann 20fd99944b monitoring/detail: Add $activeChecksEnabled variable in the checkstatistics view script
refs 
2015-09-04 18:09:25 +02:00
Matthias Jentsch f73e6d9225 Fix typo in activity stream dashlet names
refs 
2015-09-04 17:18:07 +02:00
Eric Lippmann 7464742afe monitoring/detail: Hide Reschedule link if the host or service is not actively checked
refs 
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 
2015-09-04 17:14:16 +02:00
Matthias Jentsch 14565dad34 Remove obsolete alert summary from stats
refs 
2015-09-04 17:10:18 +02:00
Matthias Jentsch 78d679b597 Fix typos and limit activity stream to 3 days
refs 
2015-09-04 17:09:24 +02:00
Matthias Jentsch 0738a37fdf Display sticky comments in "Muted" tab
refs 
2015-09-04 16:35:41 +02:00
Eric Lippmann 24f3d42d96 monitoring/host: Select next_update
refs 
2015-09-04 16:22:31 +02:00
Eric Lippmann a10652abfc monitoring/service: Select next_update
refs 
2015-09-04 16:22:16 +02:00
Eric Lippmann e5ff81aa84 monitoring/hoststatus: Add columns host_next_update and host_next_update_is_late
refs 
2015-09-04 16:20:23 +02:00
Eric Lippmann 562fec68cf monitoring/servicestatus: Add columns service_next_update and service_next_update_is_late
refs 
2015-09-04 16:18:41 +02:00
Eric Lippmann a7cf3d0eb2 monitoring/detail: Read "Next update" instead of "Next check" if the host or service is not active checked
refs 
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 
2015-09-04 15:43:13 +02:00
Matthias Jentsch afc7e6fba9 Merge branch 'master' into feature/provide-additional-dashboard-panes-6144 2015-09-04 15:43:03 +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 7a7214d626 monitoring/host: Select host_attempt 2015-09-04 15:35:52 +02:00
Matthias Jentsch 354bd0dd78 Fix badge link color in avp tables 2015-09-04 15:35:50 +02:00
Eric Lippmann 90e6ea77c5 monitoring/lib: Reorder query columns in Host 2015-09-04 15:35:32 +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 
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 
2015-09-04 15:24:26 +02:00
Matthias Jentsch a630869bcf Provide stats for unhandled problems and improve layout
refs 
2015-09-04 15:17:28 +02:00
Matthias Jentsch fff9bf7b2b Implement view to display stats about checks and monitored objects
refs 
2015-09-04 14:22:57 +02:00
Johannes Meyer 0c3c38a2ef monitoring: Provide a explicit priority for the history menu section
refs 
2015-09-04 14:06:44 +02:00
Johannes Meyer 7a5dceac7b monitoring: Adjust custom navigation renderer for DataView badges
refs 
2015-09-04 13:50:53 +02:00