Commit Graph

2022 Commits

Author SHA1 Message Date
Johannes Meyer 44b1255bbc Do not open a new column when removing an acknowledgement 2015-03-13 14:13:09 +01:00
Marius Hein e90200160f Monitoring permission: Fixing typo in configuration.php
refs #8644
2015-03-13 11:47:49 +01:00
Johannes Meyer f4e5a7f666 Do not try to set a title on a set of tabs
That's not working anymore since the title related changes were reverted
2015-03-13 11:31:24 +01:00
Thomas Gelf edf55728cb monitoring/list: fix addcolumns VS addColumns
refs #8641
2015-03-13 09:07:02 +01:00
Johannes Meyer 99610bc1bd Avoid sub-tables when showing comments or downtimes in the detail view
fixes #8625
2015-03-13 08:32:50 +01:00
Eric Lippmann 32487e4e21 Ignore settings from instances.ini that don't have a setter on the transport class used
fixes #8543
2015-03-13 03:41:33 +01:00
Eric Lippmann ce3c2507ef Show reachability in the host and service detail view
refs #6875
2015-03-13 00:26:45 +01:00
Eric Lippmann 1c8c49e732 Select service_is_reachable in the service detail view
refs #6875
2015-03-13 00:26:02 +01:00
Eric Lippmann 37823f0415 Select host_is_reachable in the host detail view
refs #6875
2015-03-13 00:25:44 +01:00
Eric Lippmann a4731ebbb3 Select is_reachable from host and service status
refs #6875
2015-03-13 00:25:08 +01:00
Eric Lippmann 2e2dd7cd00 Raise priorities of the monitoring search URLs
refs #8668
2015-03-12 18:51:32 +01:00
Eric Lippmann 5749ff72b1 Fix typo in configuration.php 2015-03-12 16:48:29 +01:00
Eric Lippmann be041435d3 Merge branch 'bugfix/unnecessary-joins-8614'
fixes #8614
2015-03-12 16:47:10 +01:00
Marius Hein cb28f00c4d Merge branch 'master' into feature/custom-notification-command-8644 2015-03-12 16:45:57 +01:00
Marius Hein ddd280d57b Fix permission send-custom-notification
refs #8644
2015-03-12 16:40:32 +01:00
Eric Lippmann 53626ccfeb Merge branch 'master' into bugfix/unnecessary-joins-8614 2015-03-12 16:40:16 +01:00
Eric Lippmann 7156bd7dfb Fetch object comments by host_name and service_description
refs #8614
2015-03-12 16:39:20 +01:00
Eric Lippmann 29b5e4fd43 Add host_name and service_description columns w/o collation to the comment query
refs #8614
2015-03-12 16:38:32 +01:00
Eric Lippmann 112f8eb2f9 Remove COLLATE from host_name and service_description in the Contactgroup query
refs #8614
refs #8613
2015-03-12 16:33:28 +01:00
Eric Lippmann 7212434856 Remove COLLATE from host_name and service_description in the Contact query
refs #8614
refs #8613
2015-03-12 16:32:05 +01:00
Marius Hein df3d81e181 SendCustomNotificationCommand: Update phpdoc strings
refs #8644
2015-03-12 16:30:11 +01:00
Eric Lippmann b74ef2527a CSS: Remove .sort-box ...
... because we don't use it
2015-03-12 16:08:47 +01:00
Eric Lippmann 8563d5ed3f PHPDoc: Use @var instead of @type
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Eric Lippmann 90971f2caf Revert "Merge branch 'feature/organize-headings-7976'"
This reverts commit ea2a17a76c, reversing
changes made to e72de8dfe1.

refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Marius Hein ddc8dd5d4c Add command send custom notification to monitoring module
refs #8644
2015-03-12 16:08:22 +01:00
Thomas Gelf 16ca8d0654 StatusQuery: fix join on wrong alias
Looks like a copy & paste error, resulted in hosts been shown multiple
times.

fixes #8699
2015-03-12 09:46:38 +01:00
Eric Lippmann 361afdcf13 Use ! empty in favor of count > 0 in the MonitoredObjectController
refs #8614
2015-03-11 14:08:43 +01:00
Eric Lippmann 2286ab1846 Merge branch 'master' into bugfix/unnecessary-joins-8614 2015-03-11 13:38:07 +01:00
Eric Lippmann 0286641369 Don't fetch comments and downtimes twice in an object's detail view
The controller counts comments and downtimes on the object, which will automatically fetch comments and downtimes.
After that came a call to MonitoredObject::populate() which again fetched comments and downtimes.
Now the object is populated before counting comments and dowtimes.

refs #8614
2015-03-11 13:32:54 +01:00
Eric Lippmann b501fef62b Rearrange columns in the Host object
refs #8614
2015-03-11 13:10:55 +01:00
Eric Lippmann ef4970c0c1 Don't select host_process_performance_data twice in the host detail view
refs #8614
2015-03-11 13:08:53 +01:00
Eric Lippmann 84f56f4e51 Don't select host_problem in the host detail view
The column host_problem is not used in the host detail view.

refs #8614
2015-03-11 13:08:11 +01:00
Eric Lippmann 37d09511c6 Don't select host_modified_host_attributes in the host detail view
The column host_modified_host_attributes is not used in the host detail view.

refs #8614
2015-03-11 13:07:33 +01:00
Eric Lippmann e72670cb75 Use default sorting for an object's event history
refs #8614
2015-03-11 13:01:14 +01:00
Eric Lippmann ea32d3dfb3 Add PHPDoc to the EventHistory query
refs #8614
2015-03-11 13:01:14 +01:00
Eric Lippmann c69a46d005 Add PHPDoc to the Downtime query
refs #8614
2015-03-11 13:01:14 +01:00
Eric Lippmann 132ae9e44c Use {@inheritdoc} in the Comment data view ...
... instead of duplicating method documentation.

refs #8614
2015-03-11 12:57:43 +01:00
Eric Lippmann 5ed6838f50 Don't select host_display_name twice in the service detail view
refs #8614
2015-03-10 14:18:08 +01:00
Eric Lippmann e6949eaab4 Reorder columns to select in the Service object
refs #8614
2015-03-10 14:17:09 +01:00
Eric Lippmann fcb94af93c Don't select service_process_performance_data twice in the service detail view
refs #8614
2015-03-10 14:11:50 +01:00
Eric Lippmann e0acebf474 Don't select service_host_name in the service detail view
We already select the host_name.

refs #8614
2015-03-10 14:09:53 +01:00
Eric Lippmann 62f0f5b6a4 Don't select service_modified_service_attributes in the service detail view
The column service_modified_service_attributes is not used in the service detail view.

refs #8614
2015-03-10 14:00:17 +01:00
Eric Lippmann 87e5bdfa4c Do not select columns for check attempt twice in the service detail view
The column service_attempt is used in favor of service_current_check_attempt and service_max_check_attempts.

refs #8614
2015-03-10 13:47:20 +01:00
Eric Lippmann 0cc6b5d0c2 Don't select service_last_time_* in the service detail view
The columns service_last_time_ ok, warning, critical and unknown are not used in the service detail view.

refs #8614
2015-03-10 13:46:09 +01:00
Eric Lippmann 70ef6263b2 Don't select service_last_hard_state* in the service detail view
The columns service_last_hard_state and service_last_hard_state_change are not used in the service detail view.

refs #8614
2015-03-10 13:45:20 +01:00
Eric Lippmann 88dce0c1f4 Don't select host and service columns in the service detail view
The columns host and service are not used in the service detail view.

refs #8614
2015-03-10 13:42:53 +01:00
Eric Lippmann 3bbd68dc95 Don't select service_problem in the service detail view
The column service_problem is not used in the service detail view.

refs #8614
2015-03-10 13:38:12 +01:00
Eric Lippmann 4e308016bf Don't select service_hard_state in the service detail view
The column service_hard_state is not used in the service detail view.

refs #8614
2015-03-10 13:37:40 +01:00
Eric Lippmann d65aa39ebd Don't select host_modified_host_attributes in the service detail view
The column host_modified_host_attributes is not used in the service detail view.

refs #8614
2015-03-10 13:33:17 +01:00
Eric Lippmann 34ad174f89 Don't select host_last_time_* in the service detail view
The columns host_last_time_ up, down and unreachable are not used in the service detail view.

refs #8614
2015-03-10 13:32:28 +01:00
Eric Lippmann 2cbeab55da Don't select host_last_hard_state* in the service detail view
The columns host_last_hard_state and host_last_hard_state_change are not used in the service detail view.

refs #8614
2015-03-10 13:31:32 +01:00
Eric Lippmann 232b3d3a9f Don't select host_perfdata in the service detail view
The column host_perfdata is not used in the service detail view.

refs #8614
2015-03-10 13:30:03 +01:00
Eric Lippmann e1dbe0b9a7 Don't select host_severity in the service detail view
The column host_severity is not used in the service detail view.

refs #8614
2015-03-10 13:29:39 +01:00
Eric Lippmann 9146a62573 Don't select host_ipv4 in the service detail view
The column host_ipv4 is not used in the service detail view.

refs #8614
2015-03-10 13:28:44 +01:00
Eric Lippmann 5f57e290c7 Don't select host_notes_url in the service detail view
The column host_notes_url is not used in the service detail view.

refs #8614
2015-03-10 13:27:07 +01:00
Eric Lippmann 0f65f83374 Don't select host_action_url in the service detail view
The column host_action_url is not used in the service detail view.

refs #8614
2015-03-10 13:26:47 +01:00
Eric Lippmann b9ec2844f5 Don't select host_unhandled_services in the service detail view
The column host_unhandled_services is not used in the service detail view.

refs #8614
2015-03-10 13:25:25 +01:00
Eric Lippmann 4102ee290b Don't select host_last_check in the service detail view
The column host_last_check is not used in the service detail view.

refs #8614
2015-03-10 13:22:28 +01:00
Eric Lippmann 151d87f38c Don't select host_is_flapping in the service detail view
The column host_is_flapping is not used in the service detail view.

refs #8614
2015-03-10 13:19:37 +01:00
Eric Lippmann da7f959db5 Don't select host_long_output in the service detail view
The column host_long_output is not used in the service detail view.

refs #8614
2015-03-10 13:09:59 +01:00
Eric Lippmann 9dc6e65e5f Don't select host_output column in the service detail view
The column host_output is not used in the service detail view

refs #8614
2015-03-10 13:05:54 +01:00
Eric Lippmann 6d78ab69ef Don't select service_severity column in the service detail view
The column service_severity is not used in the service detail view.

refs #8614
2015-03-10 13:03:55 +01:00
Eric Lippmann 2ba5e8eb0c Don't select service_unhandled column in the service detail view
The column service_unhandled is not used in the service detail view.

refs #8614
2015-03-10 13:02:57 +01:00
Eric Lippmann b2bb5af0a7 Don't select host_problem in the service detail view
The column host_problem is not used in the service detail view.

refs #8614
2015-03-10 13:01:41 +01:00
Johannes Meyer f4446cbade Add todo to the MonitoringWizard related to the livestatus backend type
The requirement should be added to the OR-set that has currently both
ido requirement sets so that livestatus may the only choice again.

refs #8254
2015-03-10 11:00:51 +01:00
Eric Lippmann af4bce3557 Do not select icon_image columns in the service detail view
The columns host_icon_image and service_icon_image are not used in the service detail view.

refs #8665
refs #8614
2015-03-10 10:00:07 +01:00
Eric Lippmann 330b575c7c Remove duplicate service_last_check column from the service detail view select
refs #8614
2015-03-10 09:58:36 +01:00
Eric Lippmann 2d3fec9a42 Do not select host_state_type in the service detail view
The column host_state_type is not used in the service detail view.

refs #8614
2015-03-10 09:57:51 +01:00
Johannes Meyer bc450c573d Refactor and fix requirement evaluation
refs #8508
2015-03-10 09:12:06 +01:00
Johannes Meyer e80786d63d Rename Requirements to RequirementSet
refs #8508
2015-03-09 09:05:56 +01:00
Johannes Meyer 4badbc660b Merge branch 'master' into feature/conditional-requirements-8508 2015-03-09 08:51:03 +01:00
Eric Lippmann cbf39a2d99 Use host_name and service_description columns in the downtime overview
refs #8614
2015-03-06 13:14:56 +01:00
Eric Lippmann 7317aa7158 Do not join hosts when fetching a service's downtimes
refs #8614
2015-03-06 13:14:20 +01:00
Eric Lippmann db99c323cc Add host and service name columns to the Downtime data view
refs #8614
2015-03-06 13:13:48 +01:00
Eric Lippmann 6d43673754 Do not always join host and service status in the DowntimeQuery
Now the hoststatus and servicestatus tables are only joined if necessary.

refs #8614
2015-03-06 13:13:02 +01:00
Eric Lippmann 64d1d12c73 Do not join icinga_hosts when fetching a service's contact groups
refs #8614
2015-03-06 10:02:20 +01:00
Eric Lippmann 2b91ec7f2c Comment out unused query in the ContactgroupQuery
refs #8614
2015-03-06 09:54:12 +01:00
Eric Lippmann fc403e693b Fix array indentation in the ContactQuery
refs #8614
2015-03-06 09:46:47 +01:00
Eric Lippmann dc223128bb Remove host_- and service_object_id from ContactQuery's columnMap
We do not use these columns.

refs #8614
2015-03-05 17:18:52 +01:00
Johannes Meyer 507e5b43cc Show a form based autosubmit warning when toggling object features
refs #7935
2015-03-03 14:52:45 +01:00
Johannes Meyer d9fdcf036b Show a form based autosubmit warning when toggling instance features
refs #7935
2015-03-03 14:34:08 +01:00
Johannes Meyer 642fa44fce Move a form's title into the markup of its form 2015-03-03 09:53:25 +01:00
Johannes Meyer 53e73161d8 Fix that the AcknowledgeCommandForm is opened in a new column 2015-03-02 18:45:38 +01:00
Johannes Meyer b9ac42b54d Drop CommandForm::getHelp() as being obsolete 2015-03-02 18:40:47 +01:00
Johannes Meyer a2f88dc60f Commands: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer 4ba281e7e8 Config: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer 2af83e7d72 Installation: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer ea7b77eb72 Remove the required cue when disabling notifications globally
refs #7934
2015-03-02 18:40:46 +01:00
Matthias Jentsch 0f3c27f812 Fix event grid for dashboard 2015-03-02 12:27:27 +01:00
Johannes Meyer 7bb78330a9 Replace cancel icon with the trash icon...
...where the link's purpose is to remove something
2015-02-27 14:47:46 +01:00
Johannes Meyer 551207b5b8 Add grouped database dependencies to the monitoring wizard
refs #8508
2015-02-26 10:50:45 +01:00
Matthias Jentsch 89451f3086 Ensure that form ids are unique
Add an unique prefix to each Form- or FormElement id, unless id protection is disabled explicitly, to prevent id collisions between different containers.

fixes #8460
2015-02-25 18:00:28 +01:00
Alexander Fuhr 797d37735d Add .spinner class to CheckNowCommandForm submit button
refs #7968
2015-02-25 14:16:35 +01:00
Johannes Meyer 04630a20be Implement all known requirements as object
refs #8508
2015-02-25 13:39:59 +01:00
Johannes Meyer 8e8bab0795 Do only escape a qlink's label manually if necessary 2015-02-24 11:35:25 +01:00
Johannes Meyer 907134cee2 Ensure that all link-like form buttons got proper titles
refs #8458
2015-02-24 09:03:47 +01:00
Johannes Meyer 956efe5ef9 Merge branch 'master' into feature/link-labels-8458
Conflicts:
	application/views/scripts/config/application.phtml
	application/views/scripts/config/module.phtml
	application/views/scripts/config/modules.phtml
	library/Icinga/Web/Widget/Dashboard/Dashlet.php
	modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Johannes Meyer cebaa47aa9 Hide the css-hidden link to extend the timeline from screen readers as well 2015-02-23 17:32:29 +01:00
Johannes Meyer be293f5e49 Add proper titles to the timeline
refs #8458
2015-02-23 17:31:24 +01:00
Johannes Meyer 52c17805c9 Add proper titles to the history view
refs #8458
2015-02-23 17:30:51 +01:00
Johannes Meyer bb5799434c Add proper titles to the contact view
refs #8458
2015-02-23 17:30:37 +01:00
Johannes Meyer 32e048693a Add proper titles to service multi selection view
refs #8458
2015-02-23 17:29:50 +01:00
Johannes Meyer 8991b7ed83 Add proper titles to the tactical overview
refs #8458
2015-02-23 17:29:22 +01:00
Johannes Meyer 18f6ff8702 Add proper titles to the servicegroups component view
refs #8458
2015-02-23 17:28:20 +01:00
Johannes Meyer 7247ea5191 Add proper titles to the hostgroups component view
refs #8458
2015-02-23 17:28:02 +01:00
Johannes Meyer 0d8bf462f5 Add proper titles to the downtime component view
refs #8458
2015-02-23 17:27:45 +01:00
Johannes Meyer 3a74ec3d09 Add proper titles to the contacts component view
refs #8458
2015-02-23 17:27:27 +01:00
Johannes Meyer 9793bd52c7 Add proper titles to the comments component view
refs #8458
2015-02-23 17:27:13 +01:00
Johannes Meyer 89ed498069 Add proper titles to the command component view
refs #8458
2015-02-23 17:26:56 +01:00
Johannes Meyer 25e2baa566 Add proper titles to the checkstatistics component view
refs #8458
2015-02-23 17:26:42 +01:00
Johannes Meyer 74360ee8e6 Add proper titles to the acknowledgements component view
refs #8458
2015-02-23 17:26:21 +01:00
Johannes Meyer 598294d2a2 Add proper titles to the servicesummary partial
refs #8458
2015-02-23 17:25:55 +01:00
Johannes Meyer f11ad1183a Add proper titles to the service list view
refs #8458
2015-02-23 17:25:23 +01:00
Johannes Meyer ebdf68550b Add proper titles to the servicegroups view
refs #8458
2015-02-23 17:25:02 +01:00
Johannes Meyer c4aa02c3f0 Add proper titles to the service grid
refs #8458
2015-02-23 17:24:46 +01:00
Johannes Meyer a64f546a71 Add proper titles to the host list view
refs #8458
2015-02-23 17:24:22 +01:00
Johannes Meyer 45e1406e2a Add proper titles to the hostgroups view
refs #8458
2015-02-23 17:23:57 +01:00
Johannes Meyer e0164e8bcb Add proper titles to the contacts view
refs #8458
2015-02-23 17:23:39 +01:00
Johannes Meyer 3aa1f7e58e Add proper titles to the contactgroups view
refs #8458
2015-02-23 17:23:26 +01:00
Johannes Meyer 1bcac55778 Add proper titles to the servicesummary component view
refs #8458
2015-02-23 17:23:09 +01:00
Johannes Meyer abcac2917c Add proper titles to the hostsummary component view
refs #8458
2015-02-23 17:22:52 +01:00
Johannes Meyer 96c7b22c16 Add proper titles to the host multi selection view
refs #8458
2015-02-23 17:22:07 +01:00
Johannes Meyer 676f10bb87 Fix week-label of the timeline 2015-02-23 17:11:23 +01:00
Johannes Meyer 77fa2f7c2b Add aria-label to the monitoring health's link to disable notifications
refs #8458
2015-02-23 17:10:52 +01:00
Johannes Meyer 5fd447394c Add proper title to the BackendConfigForms's jump link...
...and move it to the right of the respective form control

refs #8458
2015-02-23 17:09:37 +01:00
Johannes Meyer bd9d06574d Ensure that the link() view helper adds proper titles
refs #8458
2015-02-23 17:07:21 +01:00
Johannes Meyer c6b61617ee Add proper titles to the monitoring module's config tabs
refs #8458
2015-02-23 17:04:40 +01:00
Johannes Meyer 6eb638f6b3 Add proper titles to the list view's tabs
refs #8458
2015-02-23 17:00:30 +01:00
Johannes Meyer f48dbf1640 Add proper title to the timeline's tab
refs #8458
2015-02-23 16:59:47 +01:00
Johannes Meyer 1ef03a76f7 Add proper title to the monitoring health's tab
refs #8458
2015-02-23 16:59:13 +01:00
Johannes Meyer 7aacfcf907 Add proper title to the tactical overview's tab
refs #8458
2015-02-23 16:58:48 +01:00
Johannes Meyer 77b60588bc Add proper titles to the multi selection controller tabs
refs #8458
2015-02-23 16:57:32 +01:00
Johannes Meyer ebf8d183a7 Add proper title to the alert summary's tab
refs #8458
2015-02-23 16:57:06 +01:00
Johannes Meyer f6cbc17ff7 Add proper titles to all host/service tabs
refs #8458
2015-02-23 16:56:49 +01:00
Johannes Meyer 48286e0d59 Use View::translate() instead of mt() and t() ... 2015-02-23 16:42:25 +01:00
Marius Hein 316582c0d3 Header: Change position because of dashboard rendering
refs #7976
2015-02-23 15:35:56 +01:00
Marius Hein 62866e5fb1 Header: Add h1 to service grid
refs #7976
2015-02-23 15:13:47 +01:00
Marius Hein 060d1093e3 Header: Add h1 to host/show component
refs #7976
2015-02-23 15:13:18 +01:00
Marius Hein a037e5c4db Header: Add h1 to objects header
refs #7076
2015-02-23 15:12:19 +01:00
Marius Hein 70e5ccca37 Header: Add h1 to tactical overview
refs #7976
2015-02-23 15:03:11 +01:00
Marius Hein 26ec8bb9ba Header: Add h1 to host list
refs #7976
2015-02-23 15:01:42 +01:00
Marius Hein 3cc3341798 Header: Add h1 to service list
refs #7976
2015-02-23 15:00:28 +01:00
Marius Hein b8dbf9c809 Header: Add h1 to hostgroups
refs #7976
2015-02-23 14:57:26 +01:00
Marius Hein b6c05beaba Header: Add h1 to service groups
refs #7976
2015-02-23 14:54:02 +01:00
Marius Hein 7962c115ae Header: Add h1 to contact groups
refs #7076
2015-02-23 14:42:55 +01:00
Marius Hein 37568a7832 Header: Add h1 to contacts
refs #7976
2015-02-23 14:41:51 +01:00
Marius Hein cef20022b9 Commends: Add h1 to comments
refs #7976
2015-02-23 14:39:26 +01:00
Marius Hein b45897de22 Header: Add h1 to downtimes
refs #7976
2015-02-23 14:35:29 +01:00
Marius Hein 918ac21d6d Header: Add h1 to notifications
refs #7976
2015-02-23 14:30:09 +01:00
Marius Hein 2dda3be87b Merge remote-tracking branch 'origin/master' into feature/organize-headings-7976 2015-02-23 14:28:48 +01:00
Marius Hein 4d4c8b0836 Header: Add header to timeline
refs #7976
2015-02-23 14:28:22 +01:00
Marius Hein 03160ef81a Header: Add header to event history
Add header to the following widgets:

- FilterEditor
- SortBox

refs #7976
2015-02-23 14:23:56 +01:00
Marius Hein 6f2d428254 Event Grid: Add header
refs #7976
2015-02-23 12:24:24 +01:00
Marius Hein 84d1e6b3a3 Header: Add to alert summary
refs #7076
2015-02-23 12:20:45 +01:00
Marius Hein b6124d7371 Header: Remove skiplinks
Skiplinks are to much and confusing for other users. Better is to use
header navigation in screen readers.

refs #7076
2015-02-23 11:18:58 +01:00
Eric Lippmann e72de8dfe1 Disable Livestatus as backend
Livestatus is not feature complete yet. This commit has to be reverted once we've fully implemented Livestatus support.

refs #8254
2015-02-20 11:23:31 +01:00
Matthias Jentsch 2992bf3445 Always display tooltips in all charts
Make information about data types available to colorblind, when hovering
over the displayed data set

fixes #8364
2015-02-18 13:21:42 +01:00
Marius Hein 02777c58ac Header: Add one to Alertsummary report
refs #7976
2015-02-18 12:45:08 +01:00
Matthias Jentsch 28dfbe7e55 Support aria markup in SVG charts
Add "aria-labelled-by", "title" and "desc" to describe the svg charts in screen readers.
2015-02-17 17:41:05 +01:00
Marius Hein 32226418af Header: Add header to process/info
refs #7976
2015-02-17 16:12:41 +01:00
Johannes Meyer e588ea2714 Fix filter expression handling when lowering to achieve case-insensitivity
fixes #8435
2015-02-16 13:05:24 +01:00
Johannes Meyer 2dea398f3b Mute all icons that are part of an anchor and add simple labels to such anchors
The labels I've added are probably just of temporary nature as it's not
defined yet how to handle link labels properly for screen readers. What
is sure is that all icons that are part of a link are not important for the
meaning of it as this is expressed by the link itself.

refs #8360
refs #8358
2015-02-16 11:02:09 +01:00
Johannes Meyer 27cb5e24db Ensure that all standalone icons have proper labels
refs #8358
2015-02-16 10:53:48 +01:00
Johannes Meyer 5321c2f9e5 Mute icons properly using the new automatic mechanisms of our view helpers
refs #8360
2015-02-16 10:52:42 +01:00
Marius Hein fdcad4928e Tinystatesummary: Adjust styles for summaries and headers
refs #7976
2015-02-12 15:07:44 +01:00
Johannes Meyer d37129dfed Remove the old and redundant config/show-configuration view script 2015-02-12 13:49:31 +01:00
Johannes Meyer 9232c5cf22 Add aria-hidden="true" to all icons that exist only for design reasons
refs #8360
2015-02-12 13:49:31 +01:00
Davide Demuru 3dee49a0cd fixed transaltions
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru be27ab4875 added compiled translation file
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru c068ab21af Added new monitoring.po for italian language
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Thomas Gelf 5bf89da6d7 PluginOutput: simplify code, add tab support
refs #8366
2015-02-09 15:38:43 +01:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Matthias Jentsch 8f9e970360 Ignore negative values in reaction time
Negative values for reaction time make no sense in the reaction time chart. When the notification was acknowledged before it startet we assume a reaction time of 0.

fixes #8198
2015-02-04 09:55:39 +01:00
Eric Lippmann 5b5ad0acb9 monitoring/security: Add missing permission checks of command actions 2015-02-03 17:36:53 +01:00
Matthias Jentsch 2f254851e3 Fix pieChart layout and add indicator for truncated piecharts 2015-02-03 17:34:56 +01:00
Eric Lippmann 49e96b7200 Revert "monitoring/security: Guard delete comment action"
This reverts commit 4ef5f0c813.
2015-02-03 16:51:00 +01:00
Matthias Jentsch e8466ec7be Fix inlinePie borders and SVG sizes
Add white border to inline piecharts in the list, to make them more visible on mouse hovering. Set a default image size for the loaded svg charts.
2015-02-03 16:46:12 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Johannes Meyer 04edf0d075 Fix that the search is case-sensitive in case of a PostgreSQL backend
fixes #8083
2015-02-03 16:15:59 +01:00
Eric Lippmann 4ef5f0c813 monitoring/security: Guard delete comment action 2015-02-03 16:11:56 +01:00
Eric Lippmann d701f9a354 monitoring/security: Guard delete downtime action 2015-02-03 16:11:29 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann 946a903a39 Merge branch 'bugfix/Improve-tooltip-descriptions-8110'
fixes #8110
2015-02-03 12:38:59 +01:00
Eric Lippmann dd0638c5d0 monitoring: Improve tooltips for services command links
refs #8110
2015-02-03 12:35:06 +01:00
Eric Lippmann 31728fd024 monitoring: Improve tooltips for hosts command links
refs #8110
2015-02-03 12:34:22 +01:00
Thomas Gelf a705e03aff HostController: fix merge BS 2015-02-02 18:21:01 +01:00
Thomas Gelf b54a12c2d5 HostActionsHook: document the new hook 2015-02-02 18:17:30 +01:00
Thomas Gelf ac7ffc757f Merge branch 'feature/hostactions-hook-8208' of git.icinga.org:icingaweb2 into feature/hostactions-hook-8208
Manually merged diverged tab activation

Conflicts:
	modules/monitoring/application/controllers/HostController.php
2015-02-02 17:48:40 +01:00
Thomas Gelf b4c47c51e7 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-02-02 17:46:40 +01:00
Thomas Gelf 3038de5ad0 components/actions: show host action urls if given 2015-02-02 17:46:40 +01:00
Thomas Gelf 6c8808875a host/show: show action urls above perfdata 2015-02-02 17:46:40 +01:00
Thomas Gelf 67e935557e HostController: use host actions hook
refs #8208
2015-02-02 17:46:39 +01:00
Thomas Gelf 45bf071db6 HostActionsHook: initial very simple implementation
refs #8208
2015-02-02 17:44:29 +01:00
Eric Lippmann 61fde8b359 monitoring: Prefix tooltips in the service groups overview with "List ..."
refs #8110
2015-02-02 17:29:30 +01:00
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
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 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 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
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
Alexander Klimov fccc2ffbcf Hosts list: use $this->translatePlural() 2015-01-26 14:17:48 +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
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